Table of Contents

Class SelectionFilter

Namespace
HeBianGu.Control.Filter
Assembly
HeBianGu.Control.Filter.dll
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

DependencyProperty

ChangedRoutedEvent

public static readonly RoutedEvent ChangedRoutedEvent

Field Value

RoutedEvent

CheckedAll

public static RoutedCommand CheckedAll

Field Value

RoutedCommand

InitItemsSourceProperty

public static readonly DependencyProperty InitItemsSourceProperty

Field Value

DependencyProperty

InitPropertyProperty

public static readonly DependencyProperty InitPropertyProperty

Field Value

DependencyProperty

InitSourceProperty

public static readonly DependencyProperty InitSourceProperty

Field Value

DependencyProperty

IsUseCheckAllProperty

public static readonly DependencyProperty IsUseCheckAllProperty

Field Value

DependencyProperty

PropertyNameProperty

public static readonly DependencyProperty PropertyNameProperty

Field Value

DependencyProperty

SelectedSourceProperty

public static readonly DependencyProperty SelectedSourceProperty

Field Value

DependencyProperty

SelectionSourceProperty

public static readonly DependencyProperty SelectionSourceProperty

Field Value

DependencyProperty

UnCheckedAll

public static RoutedCommand UnCheckedAll

Field Value

RoutedCommand

Properties

BindFilterHost

public FilterHost BindFilterHost { get; set; }

Property Value

FilterHost

CheckAllKey

public static ComponentResourceKey CheckAllKey { get; }

Property Value

ComponentResourceKey

DefaultKey

public static ComponentResourceKey DefaultKey { get; }

Property Value

ComponentResourceKey

InitItemsSource

public IEnumerable InitItemsSource { get; set; }

Property Value

IEnumerable

InitProperty

public string InitProperty { get; set; }

Property Value

string

InitSource

public IEnumerable InitSource { get; set; }

Property Value

IEnumerable

IsUseCheckAll

public bool IsUseCheckAll { get; set; }

Property Value

bool

LabelKey

public static ComponentResourceKey LabelKey { get; }

Property Value

ComponentResourceKey

PropertyName

public string PropertyName { get; set; }

Property Value

string

SelectedSource

选中的数据源

public ObservableCollection<string> SelectedSource { get; set; }

Property Value

ObservableCollection<string>

SelectionSource

可选择的数据源

public ObservableCollection<string> SelectionSource { get; set; }

Property Value

ObservableCollection<string>

Methods

InitSelection()

刷新可选择的数据源

protected virtual void InitSelection()

IsMatch(object)

public virtual bool IsMatch(object obj)

Parameters

obj object

Returns

bool

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 SelectionChangedEventArgs

Provides data for SelectionChangedEventArgs.

RefreshItems()

public void RefreshItems()

Events

Changed

public event RoutedEventHandler Changed

Event Type

RoutedEventHandler