Class SubsetComboBox
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
Properties
DisplaySelectedItemsCount
Display selected items count.
public bool DisplaySelectedItemsCount { get; set; }
Property Value
SubsetComboBoxStyleKey
Gets the resource key for the default Style of SubsetComboBox.
public static ComponentResourceKey SubsetComboBoxStyleKey { get; }
Property Value
Methods
CoerceEditValue(DependencyObject, object)
protected override object CoerceEditValue(DependencyObject d, object value)
Parameters
d
DependencyObjectvalue
object
Returns
CreateEditorSettings()
protected override BaseEditSettings CreateEditorSettings()
Returns
- BaseEditSettings
GetDisplayText(object, bool)
protected override string GetDisplayText(object editValue, bool applyFormatting)
Parameters
Returns
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
SelectorPropertiesCoercionHelperThe 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
objectThe 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()