#[repr(i32)]pub enum AutoCompleteFilterMode {
Show 14 variants
None = 0,
StartsWith = 1,
StartsWithCaseSensitive = 2,
StartsWithOrdinal = 3,
StartsWithOrdinalCaseSensitive = 4,
Contains = 5,
ContainsCaseSensitive = 6,
ContainsOrdinal = 7,
ContainsOrdinalCaseSensitive = 8,
Equals = 9,
EqualsCaseSensitive = 10,
EqualsOrdinal = 11,
EqualsOrdinalCaseSensitive = 12,
Custom = 13,
}Expand description
Specifies how text in the text box portion of the
AutoCompleteBox control is used to filter
items specified by the ItemsSource property for display in the
drop-down.
Variants§
None = 0
Specifies that no filter is used. All items are returned.
StartsWith = 1
Specifies a culture-sensitive, case-insensitive filter where the returned items start with the specified text. The filter uses the current-culture, case-insensitive comparer.
StartsWithCaseSensitive = 2
Specifies a culture-sensitive, case-sensitive filter where the returned items start with the specified text. The filter uses the current-culture comparer.
StartsWithOrdinal = 3
Specifies an ordinal, case-insensitive filter where the returned items start with the specified text. The filter uses the ordinal, case-insensitive comparer.
StartsWithOrdinalCaseSensitive = 4
Specifies an ordinal, case-sensitive filter where the returned items start with the specified text. The filter uses the ordinal comparer.
Contains = 5
Specifies a culture-sensitive, case-insensitive filter where the returned items contain the specified text.
ContainsCaseSensitive = 6
Specifies a culture-sensitive, case-sensitive filter where the returned items contain the specified text.
ContainsOrdinal = 7
Specifies an ordinal, case-insensitive filter where the returned items contain the specified text.
ContainsOrdinalCaseSensitive = 8
Specifies an ordinal, case-sensitive filter where the returned items contain the specified text.
Equals = 9
Specifies a culture-sensitive, case-insensitive filter where the returned items equal the specified text. The filter uses the current-culture, case-insensitive comparer.
EqualsCaseSensitive = 10
Specifies a culture-sensitive, case-sensitive filter where the returned items equal the specified text. The filter uses the current-culture comparer.
EqualsOrdinal = 11
Specifies an ordinal, case-insensitive filter where the returned items equal the specified text. The filter uses the ordinal, case-insensitive comparer.
EqualsOrdinalCaseSensitive = 12
Specifies an ordinal, case-sensitive filter where the returned items equal the specified text. The filter uses the ordinal comparer.
Custom = 13
Specifies that a custom filter is used. This mode is used when the
TextFilter or ItemFilter properties are set.
Trait Implementations§
Source§impl Clone for AutoCompleteFilterMode
impl Clone for AutoCompleteFilterMode
impl Copy for AutoCompleteFilterMode
Source§impl Debug for AutoCompleteFilterMode
impl Debug for AutoCompleteFilterMode
impl Eq for AutoCompleteFilterMode
Source§impl Hash for AutoCompleteFilterMode
impl Hash for AutoCompleteFilterMode
Source§impl MarkupTyped for AutoCompleteFilterMode
impl MarkupTyped for AutoCompleteFilterMode
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
Source§impl PartialEq for AutoCompleteFilterMode
impl PartialEq for AutoCompleteFilterMode
impl StructuralPartialEq for AutoCompleteFilterMode
Auto Trait Implementations§
impl Freeze for AutoCompleteFilterMode
impl RefUnwindSafe for AutoCompleteFilterMode
impl Send for AutoCompleteFilterMode
impl Sync for AutoCompleteFilterMode
impl Unpin for AutoCompleteFilterMode
impl UnsafeUnpin for AutoCompleteFilterMode
impl UnwindSafe for AutoCompleteFilterMode
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
affects_render, metadata
overrides). Read more