@@ -63,9 +63,9 @@ public class ItemListPanel : TemplatedControl
6363 public static readonly StyledProperty < string ? > SearchTextProperty =
6464 AvaloniaProperty . Register < ItemListPanel , string ? > ( nameof ( SearchText ) ) ;
6565
66- /// <summary>Defines the <see cref="SearchWatermark "/> property.</summary>
67- public static readonly StyledProperty < string > SearchWatermarkProperty =
68- AvaloniaProperty . Register < ItemListPanel , string > ( nameof ( SearchWatermark ) , defaultValue : "Search..." ) ;
66+ /// <summary>Defines the <see cref="SearchPlaceholderText "/> property.</summary>
67+ public static readonly StyledProperty < string > SearchPlaceholderTextProperty =
68+ AvaloniaProperty . Register < ItemListPanel , string > ( nameof ( SearchPlaceholderText ) , defaultValue : "Search..." ) ;
6969
7070 /// <summary>Defines the <see cref="ItemsSource"/> property.</summary>
7171 public static readonly StyledProperty < IEnumerable ? > ItemsSourceProperty =
@@ -140,11 +140,11 @@ public string? SearchText
140140 set => SetValue ( SearchTextProperty , value ) ;
141141 }
142142
143- /// <summary>Gets or sets the watermark shown in the search box.</summary>
144- public string SearchWatermark
143+ /// <summary>Gets or sets the placeholder text shown in the search box.</summary>
144+ public string SearchPlaceholderText
145145 {
146- get => GetValue ( SearchWatermarkProperty ) ;
147- set => SetValue ( SearchWatermarkProperty , value ) ;
146+ get => GetValue ( SearchPlaceholderTextProperty ) ;
147+ set => SetValue ( SearchPlaceholderTextProperty , value ) ;
148148 }
149149
150150 /// <summary>Gets or sets the items source for the list.</summary>
0 commit comments