Class SelectionFilter
public class SelectionFilter : ListBox, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild, IControlFilter
- Inheritance
-
SelectionFilter
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
SelectionFilter()
public SelectionFilter()
Fields
BindFilterHostProperty
public static readonly DependencyProperty BindFilterHostProperty
Field Value
ChangedRoutedEvent
public static readonly RoutedEvent ChangedRoutedEvent
Field Value
CheckedAll
public static RoutedCommand CheckedAll
Field Value
InitItemsSourceProperty
public static readonly DependencyProperty InitItemsSourceProperty
Field Value
InitPropertyProperty
public static readonly DependencyProperty InitPropertyProperty
Field Value
InitSourceProperty
public static readonly DependencyProperty InitSourceProperty
Field Value
IsUseCheckAllProperty
public static readonly DependencyProperty IsUseCheckAllProperty
Field Value
PropertyNameProperty
public static readonly DependencyProperty PropertyNameProperty
Field Value
SelectedSourceProperty
public static readonly DependencyProperty SelectedSourceProperty
Field Value
SelectionSourceProperty
public static readonly DependencyProperty SelectionSourceProperty
Field Value
UnCheckedAll
public static RoutedCommand UnCheckedAll
Field Value
Properties
BindFilterHost
public FilterHost BindFilterHost { get; set; }
Property Value
CheckAllKey
public static ComponentResourceKey CheckAllKey { get; }
Property Value
DefaultKey
public static ComponentResourceKey DefaultKey { get; }
Property Value
InitItemsSource
public IEnumerable InitItemsSource { get; set; }
Property Value
InitProperty
public string InitProperty { get; set; }
Property Value
InitSource
public IEnumerable InitSource { get; set; }
Property Value
IsUseCheckAll
public bool IsUseCheckAll { get; set; }
Property Value
LabelKey
public static ComponentResourceKey LabelKey { get; }
Property Value
PropertyName
public string PropertyName { get; set; }
Property Value
SelectedSource
选中的数据源
public ObservableCollection<string> SelectedSource { get; set; }
Property Value
SelectionSource
可选择的数据源
public ObservableCollection<string> SelectionSource { get; set; }
Property Value
Methods
InitSelection()
刷新可选择的数据源
protected virtual void InitSelection()
IsMatch(object)
public virtual bool IsMatch(object obj)
Parameters
obj
object
Returns
OnChanged()
protected void OnChanged()
OnSelectionChanged(SelectionChangedEventArgs)
Responds to a list box selection change by raising a SelectionChanged event.
protected override void OnSelectionChanged(SelectionChangedEventArgs e)
Parameters
e
SelectionChangedEventArgsProvides data for SelectionChangedEventArgs.
RefreshItems()
public void RefreshItems()
Events
Changed
public event RoutedEventHandler Changed