Table of Contents

Class SearchComboBox

Namespace
HeBianGu.Control.SearchComboBox
Assembly
HeBianGu.Control.SearchComboBox.dll
public class SearchComboBox : ComboBox, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild
Inheritance
SearchComboBox
Implements
Inherited Members
Extension Methods

Fields

FilterMatchProperty

public static readonly DependencyProperty FilterMatchProperty

Field Value

DependencyProperty

ItemsSourcePropertyNew

注册依赖事件

public static readonly DependencyProperty ItemsSourcePropertyNew

Field Value

DependencyProperty

Properties

DefaultKey

public static ComponentResourceKey DefaultKey { get; }

Property Value

ComponentResourceKey

FilterMatch

public Func<object, string, bool> FilterMatch { get; set; }

Property Value

Func<object, string, bool>

LogoKey

public static ComponentResourceKey LogoKey { get; }

Property Value

ComponentResourceKey

MyItemsSource

设置或获取ComboBox的数据源

public IEnumerable MyItemsSource { get; set; }

Property Value

IEnumerable

Methods

OnDropDownClosed(EventArgs)

组合框关闭,数据源恢复

protected override void OnDropDownClosed(EventArgs e)

Parameters

e EventArgs

OnGotFocus(RoutedEventArgs)

下拉框获取焦点,首次搜索文本编辑框

protected override void OnGotFocus(RoutedEventArgs e)

Parameters

e RoutedEventArgs

OnInitialized(EventArgs)

重写初始化

protected override void OnInitialized(EventArgs e)

Parameters

e EventArgs