Browse Source

remove coercecaretindex (#14264)

pull/14276/head
Robert Mutniański 2 years ago
committed by GitHub
parent
commit
f6bda07ae6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      src/Avalonia.Controls/AutoCompleteBox/AutoCompleteBox.Properties.cs

3
src/Avalonia.Controls/AutoCompleteBox/AutoCompleteBox.Properties.cs

@ -22,8 +22,7 @@ namespace Avalonia.Controls
public static readonly StyledProperty<int> CaretIndexProperty =
TextBox.CaretIndexProperty.AddOwner<AutoCompleteBox>(new(
defaultValue: 0,
defaultBindingMode:BindingMode.TwoWay,
coerce: TextBox.CoerceCaretIndex));
defaultBindingMode:BindingMode.TwoWay));
public static readonly StyledProperty<string?> WatermarkProperty =
TextBox.WatermarkProperty.AddOwner<AutoCompleteBox>();

Loading…
Cancel
Save