Class TokenPickerPopup
Implementation of Pop-up that hosts token selector.
Inheritance
TokenPickerPopup
Implements
Inherited Members
Namespace: Phoenix.Aruba.Controls
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class TokenPickerPopup : Popup, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild
Constructors
View SourceTokenPickerPopup()
Initializes a new instance of the TokenPickerPopup class.
Declaration
public TokenPickerPopup()
Properties
View SourceTokenSelector
Gets or sets a value representing the tokenSelector object.
Declaration
protected ITokenSelector TokenSelector { get; set; }
Property Value
Type | Description |
---|---|
ITokenSelector |
Methods
View SourceClose()
Closes the pop-up.
Declaration
public void Close()
OnClosed(EventArgs)
Returns focus to the "parent" TokenizedTextBox on closing pop-up.
Declaration
protected override void OnClosed(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e | The event argument. |
Overrides
View SourceOnKeyDown(KeyEventArgs)
Closes pop-up when Escape key is pressed.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
KeyEventArgs | e | The event argument. |
Overrides
View SourceOnOpened(EventArgs)
Initializes the Token Selector which may set some properties on visuals - set initial focus, etc. Hence overriding this method since we need Token Selector to be already sited.
Declaration
protected override void OnOpened(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e | The event argument. |
Overrides
View SourceOpen(ITokenSelector)
Opens the pop-up.
Declaration
public void Open(ITokenSelector tokenSelector)
Parameters
Type | Name | Description |
---|---|---|
ITokenSelector | tokenSelector | The token selector to host in this pop-up. |
Events
View SourceTokenSelected
Event raised when a token has been selected.
Declaration
public event EventHandler<TokenSelectedEventArgs> TokenSelected
Event Type
Type | Description |
---|---|
EventHandler<TokenSelectedEventArgs> |