Table of Contents

Class SubsetComboBox

Namespace
Ecng.Xaml
Assembly
StockSharp.Xaml.dll

The drop-down list to select a set of fields.

public class SubsetComboBox : ComboBoxEditEx
Inheritance
SubsetComboBox
Derived
Inherited Members
Extension Methods

Constructors

SubsetComboBox()

Initializes a new instance of the ComboBoxEditEx.

public SubsetComboBox()

Fields

DisplaySelectedItemsCountProperty

Display selected items count.

public static readonly DependencyProperty DisplaySelectedItemsCountProperty

Field Value

DependencyProperty

Properties

DisplaySelectedItemsCount

Display selected items count.

public bool DisplaySelectedItemsCount { get; set; }

Property Value

bool

SubsetComboBoxStyleKey

Gets the resource key for the default Style of SubsetComboBox.

public static ComponentResourceKey SubsetComboBoxStyleKey { get; }

Property Value

ComponentResourceKey

Methods

CoerceEditValue(DependencyObject, object)

protected override object CoerceEditValue(DependencyObject d, object value)

Parameters

d DependencyObject
value object

Returns

object

CreateEditorSettings()

protected override BaseEditSettings CreateEditorSettings()

Returns

BaseEditSettings

GetDisplayText(object, bool)

protected override string GetDisplayText(object editValue, bool applyFormatting)

Parameters

editValue object
applyFormatting bool

Returns

string

TryConvertBaseValue(SelectorPropertiesCoercionHelper, object)

Attempts to convert the base value to an edit value using the helper.

protected override object TryConvertBaseValue(SelectorPropertiesCoercionHelper helper, object baseValue)

Parameters

helper SelectorPropertiesCoercionHelper

The selector coercion helper.

baseValue object

Returns

object

The converted edit value.

TryConvertEditValue(object)

Attempts to convert the edit value to a value acceptable by the editor. The default implementation returns the original value.

protected override object TryConvertEditValue(object ev)

Parameters

ev object

The edit value.

Returns

object

The converted value, or null to use the original value.

UpdateBindings()

Auto update bindings when dependency properties changed.

protected override void UpdateBindings()