Class TokenTextBox
TextBox control to contain a Token. Displayed within a RichTextBox control.
Inheritance
TokenTextBox
Implements
Inherited Members
Namespace: Phoenix.Aruba.Controls
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class TokenTextBox : TextBox, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild
Constructors
View SourceTokenTextBox()
Initializes a new instance of the TokenTextBox class.
Declaration
public TokenTextBox()
Fields
View SourceTokenNameProperty
Identifies the TokenName dependency property.
Declaration
public static readonly DependencyProperty TokenNameProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
View SourceTokenName
Gets or sets the TokenName.
Declaration
public string TokenName { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceHandleGotFocus(object, RoutedEventArgs)
Handle the GotFocus event, should select all the text if it is set to the default value (token name and tooltip value).
Declaration
public void HandleGotFocus(object sender, RoutedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
object | sender | Sender of this event. |
RoutedEventArgs | eventArgs | Event arguments. |
OnMouseUp(MouseButtonEventArgs)
Overrides the OnMouseUp. This event shares responsibility for deselecting and dropping the cursor into the proper location after you've clicked on a field.
Declaration
protected override void OnMouseUp(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
MouseButtonEventArgs | e | Event arguments. |
Overrides
View SourceOnPreviewMouseUp(MouseButtonEventArgs)
Overrides the OnPreviewMouseUp. This event shares responsibility for deselecting and dropping the cursor into the proper location after you've clicked on a field.
Declaration
protected override void OnPreviewMouseUp(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
MouseButtonEventArgs | e | Event arguments. |