Class TokenizedMultiSelectComboBox
Implementation of ComboBox that supports tokens when editable.
Inheritance
Implements
Inherited Members
Namespace: Phoenix.Aruba.Controls
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
[TemplatePart(Name = "PART_EditableTextBox", Type = typeof(TokenizedTextBox))]
public class TokenizedMultiSelectComboBox : TokenizedComboBox, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild
Constructors
View SourceTokenizedMultiSelectComboBox()
Initializes a new instance of the TokenizedMultiSelectComboBox class.
Declaration
public TokenizedMultiSelectComboBox()
Fields
View SourceConnectedConfigContainerProperty
The dependency property for the ConnectedConfigContainer.
Declaration
public static readonly DependencyProperty ConnectedConfigContainerProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Remarks
This property is necessary because the constructor for this class will not accept arguments. In order to get read access to the LoadedConfigContainer property in Phoenix.Aruba.ArubaTabViewModel, a dependency property is used to bind to that variable. To see the binding itself, refer to MultiSelectFieldStyles.xaml.
Properties
View SourceConnectedConfigContainer
Gets or sets the connected configuration container in Aruba.
Declaration
public IConfigContainer ConnectedConfigContainer { get; set; }
Property Value
Type | Description |
---|---|
IConfigContainer |
ShouldUpdateTextOnSelection
Gets a value indicating whether for multi-selection, do not update the text when the selection is changed.
Declaration
protected override bool ShouldUpdateTextOnSelection { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
Methods
View SourceFindMatchingPrefix(ItemsControl, string)
Declaration
protected override string FindMatchingPrefix(ItemsControl control, string prefix)
Parameters
Type | Name | Description |
---|---|---|
ItemsControl | control | |
string | prefix |
Returns
Type | Description |
---|---|
string |
Overrides
View SourceOnItemsSourceChanged(IEnumerable, IEnumerable)
Updates when items source is changed.
Declaration
protected override void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable | oldValue | The old items. |
IEnumerable | newValue | The new items. |
Overrides
View SourceOnPreviewKeyDown(KeyEventArgs)
Provides a fix for an issue where a read-only token in a TokenizedComboBox would not allow tab navigation.
Declaration
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
KeyEventArgs | e | Event arguments. |
Overrides
View SourceUpdateTextBox(string, string)
Declaration
protected override void UpdateTextBox(string match, string current)
Parameters
Type | Name | Description |
---|---|---|
string | match | |
string | current |