Show / Hide Table of Contents

Class TokenizedTextBox

Implementation of RichTextBox that supports editing tokens.

Inheritance
object
DispatcherObject
DependencyObject
Visual
UIElement
FrameworkElement
Control
TextBoxBase
RichTextBox
TokenizedTextBox
Implements
IAnimatable
ISupportInitialize
IFrameworkInputElement
IInputElement
IQueryAmbient
IAddChild
Inherited Members
RichTextBox.IsDocumentEnabledProperty
RichTextBox.GetNextSpellingErrorPosition(TextPointer, LogicalDirection)
RichTextBox.GetPositionFromPoint(Point, bool)
RichTextBox.GetSpellingError(TextPointer)
RichTextBox.GetSpellingErrorRange(TextPointer)
RichTextBox.MeasureOverride(Size)
RichTextBox.OnCreateAutomationPeer()
RichTextBox.OnDpiChanged(DpiScale, DpiScale)
RichTextBox.CaretPosition
RichTextBox.Document
RichTextBox.IsDocumentEnabled
RichTextBox.LogicalChildren
RichTextBox.Selection
TextBoxBase.AcceptsReturnProperty
TextBoxBase.AcceptsTabProperty
TextBoxBase.AutoWordSelectionProperty
TextBoxBase.CaretBrushProperty
TextBoxBase.HorizontalScrollBarVisibilityProperty
TextBoxBase.IsInactiveSelectionHighlightEnabledProperty
TextBoxBase.IsReadOnlyCaretVisibleProperty
TextBoxBase.IsReadOnlyProperty
TextBoxBase.IsSelectionActiveProperty
TextBoxBase.IsUndoEnabledProperty
TextBoxBase.SelectionBrushProperty
TextBoxBase.SelectionChangedEvent
TextBoxBase.SelectionOpacityProperty
TextBoxBase.SelectionTextBrushProperty
TextBoxBase.TextChangedEvent
TextBoxBase.UndoLimitProperty
TextBoxBase.VerticalScrollBarVisibilityProperty
TextBoxBase.AppendText(string)
TextBoxBase.BeginChange()
TextBoxBase.Copy()
TextBoxBase.Cut()
TextBoxBase.DeclareChangeBlock()
TextBoxBase.EndChange()
TextBoxBase.LineDown()
TextBoxBase.LineLeft()
TextBoxBase.LineRight()
TextBoxBase.LineUp()
TextBoxBase.LockCurrentUndoUnit()
TextBoxBase.OnApplyTemplate()
TextBoxBase.OnContextMenuOpening(ContextMenuEventArgs)
TextBoxBase.OnDragEnter(DragEventArgs)
TextBoxBase.OnDragLeave(DragEventArgs)
TextBoxBase.OnDragOver(DragEventArgs)
TextBoxBase.OnGiveFeedback(GiveFeedbackEventArgs)
TextBoxBase.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)
TextBoxBase.OnKeyDown(KeyEventArgs)
TextBoxBase.OnKeyUp(KeyEventArgs)
TextBoxBase.OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)
TextBoxBase.OnMouseDown(MouseButtonEventArgs)
TextBoxBase.OnMouseMove(MouseEventArgs)
TextBoxBase.OnMouseUp(MouseButtonEventArgs)
TextBoxBase.OnMouseWheel(MouseWheelEventArgs)
TextBoxBase.OnQueryContinueDrag(QueryContinueDragEventArgs)
TextBoxBase.OnQueryCursor(QueryCursorEventArgs)
TextBoxBase.OnSelectionChanged(RoutedEventArgs)
TextBoxBase.OnTemplateChanged(ControlTemplate, ControlTemplate)
TextBoxBase.OnTextInput(TextCompositionEventArgs)
TextBoxBase.PageDown()
TextBoxBase.PageLeft()
TextBoxBase.PageRight()
TextBoxBase.PageUp()
TextBoxBase.Paste()
TextBoxBase.Redo()
TextBoxBase.ScrollToEnd()
TextBoxBase.ScrollToHome()
TextBoxBase.ScrollToHorizontalOffset(double)
TextBoxBase.ScrollToVerticalOffset(double)
TextBoxBase.SelectAll()
TextBoxBase.Undo()
TextBoxBase.AcceptsReturn
TextBoxBase.AcceptsTab
TextBoxBase.AutoWordSelection
TextBoxBase.CanRedo
TextBoxBase.CanUndo
TextBoxBase.CaretBrush
TextBoxBase.ExtentHeight
TextBoxBase.ExtentWidth
TextBoxBase.HorizontalOffset
TextBoxBase.HorizontalScrollBarVisibility
TextBoxBase.IsInactiveSelectionHighlightEnabled
TextBoxBase.IsReadOnly
TextBoxBase.IsReadOnlyCaretVisible
TextBoxBase.IsSelectionActive
TextBoxBase.IsUndoEnabled
TextBoxBase.SelectionBrush
TextBoxBase.SelectionOpacity
TextBoxBase.SelectionTextBrush
TextBoxBase.SpellCheck
TextBoxBase.UndoLimit
TextBoxBase.VerticalOffset
TextBoxBase.VerticalScrollBarVisibility
TextBoxBase.ViewportHeight
TextBoxBase.ViewportWidth
TextBoxBase.SelectionChanged
TextBoxBase.TextChanged
Control.BackgroundProperty
Control.BorderBrushProperty
Control.BorderThicknessProperty
Control.FontFamilyProperty
Control.FontSizeProperty
Control.FontStretchProperty
Control.FontStyleProperty
Control.FontWeightProperty
Control.ForegroundProperty
Control.HorizontalContentAlignmentProperty
Control.IsTabStopProperty
Control.MouseDoubleClickEvent
Control.PaddingProperty
Control.PreviewMouseDoubleClickEvent
Control.TabIndexProperty
Control.TemplateProperty
Control.VerticalContentAlignmentProperty
Control.ArrangeOverride(Size)
Control.OnMouseDoubleClick(MouseButtonEventArgs)
Control.OnPreviewMouseDoubleClick(MouseButtonEventArgs)
Control.ToString()
Control.Background
Control.BorderBrush
Control.BorderThickness
Control.FontFamily
Control.FontSize
Control.FontStretch
Control.FontStyle
Control.FontWeight
Control.Foreground
Control.HandlesScrolling
Control.HorizontalContentAlignment
Control.IsTabStop
Control.Padding
Control.TabIndex
Control.Template
Control.VerticalContentAlignment
Control.MouseDoubleClick
Control.PreviewMouseDoubleClick
FrameworkElement.ActualHeightProperty
FrameworkElement.ActualWidthProperty
FrameworkElement.BindingGroupProperty
FrameworkElement.ContextMenuClosingEvent
FrameworkElement.ContextMenuOpeningEvent
FrameworkElement.ContextMenuProperty
FrameworkElement.CursorProperty
FrameworkElement.DataContextProperty
FrameworkElement.DefaultStyleKeyProperty
FrameworkElement.FlowDirectionProperty
FrameworkElement.FocusVisualStyleProperty
FrameworkElement.ForceCursorProperty
FrameworkElement.HeightProperty
FrameworkElement.HorizontalAlignmentProperty
FrameworkElement.InputScopeProperty
FrameworkElement.LanguageProperty
FrameworkElement.LayoutTransformProperty
FrameworkElement.LoadedEvent
FrameworkElement.MarginProperty
FrameworkElement.MaxHeightProperty
FrameworkElement.MaxWidthProperty
FrameworkElement.MinHeightProperty
FrameworkElement.MinWidthProperty
FrameworkElement.NameProperty
FrameworkElement.OverridesDefaultStyleProperty
FrameworkElement.RequestBringIntoViewEvent
FrameworkElement.SizeChangedEvent
FrameworkElement.StyleProperty
FrameworkElement.TagProperty
FrameworkElement.ToolTipClosingEvent
FrameworkElement.ToolTipOpeningEvent
FrameworkElement.ToolTipProperty
FrameworkElement.UnloadedEvent
FrameworkElement.UseLayoutRoundingProperty
FrameworkElement.VerticalAlignmentProperty
FrameworkElement.WidthProperty
FrameworkElement.AddLogicalChild(object)
FrameworkElement.ApplyTemplate()
FrameworkElement.ArrangeCore(Rect)
FrameworkElement.BeginInit()
FrameworkElement.BeginStoryboard(Storyboard)
FrameworkElement.BeginStoryboard(Storyboard, HandoffBehavior)
FrameworkElement.BeginStoryboard(Storyboard, HandoffBehavior, bool)
FrameworkElement.BringIntoView()
FrameworkElement.BringIntoView(Rect)
FrameworkElement.EndInit()
FrameworkElement.FindName(string)
FrameworkElement.FindResource(object)
FrameworkElement.GetBindingExpression(DependencyProperty)
FrameworkElement.GetFlowDirection(DependencyObject)
FrameworkElement.GetLayoutClip(Size)
FrameworkElement.GetTemplateChild(string)
FrameworkElement.GetUIParentCore()
FrameworkElement.GetVisualChild(int)
FrameworkElement.MeasureCore(Size)
FrameworkElement.MoveFocus(TraversalRequest)
FrameworkElement.OnContextMenuClosing(ContextMenuEventArgs)
FrameworkElement.OnGotFocus(RoutedEventArgs)
FrameworkElement.OnInitialized(EventArgs)
FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs)
FrameworkElement.OnRenderSizeChanged(SizeChangedInfo)
FrameworkElement.OnToolTipClosing(ToolTipEventArgs)
FrameworkElement.OnToolTipOpening(ToolTipEventArgs)
FrameworkElement.OnVisualParentChanged(DependencyObject)
FrameworkElement.ParentLayoutInvalidated(UIElement)
FrameworkElement.PredictFocus(FocusNavigationDirection)
FrameworkElement.RegisterName(string, object)
FrameworkElement.RemoveLogicalChild(object)
FrameworkElement.SetBinding(DependencyProperty, string)
FrameworkElement.SetBinding(DependencyProperty, BindingBase)
FrameworkElement.SetFlowDirection(DependencyObject, FlowDirection)
FrameworkElement.SetResourceReference(DependencyProperty, object)
FrameworkElement.TryFindResource(object)
FrameworkElement.UnregisterName(string)
FrameworkElement.UpdateDefaultStyle()
FrameworkElement.ActualHeight
FrameworkElement.ActualWidth
FrameworkElement.BindingGroup
FrameworkElement.ContextMenu
FrameworkElement.Cursor
FrameworkElement.DataContext
FrameworkElement.DefaultStyleKey
FrameworkElement.FlowDirection
FrameworkElement.FocusVisualStyle
FrameworkElement.ForceCursor
FrameworkElement.Height
FrameworkElement.HorizontalAlignment
FrameworkElement.InheritanceBehavior
FrameworkElement.InputScope
FrameworkElement.IsInitialized
FrameworkElement.IsLoaded
FrameworkElement.Language
FrameworkElement.LayoutTransform
FrameworkElement.Margin
FrameworkElement.MaxHeight
FrameworkElement.MaxWidth
FrameworkElement.MinHeight
FrameworkElement.MinWidth
FrameworkElement.Name
FrameworkElement.OverridesDefaultStyle
FrameworkElement.Parent
FrameworkElement.Resources
FrameworkElement.Style
FrameworkElement.Tag
FrameworkElement.TemplatedParent
FrameworkElement.ToolTip
FrameworkElement.Triggers
FrameworkElement.UseLayoutRounding
FrameworkElement.VerticalAlignment
FrameworkElement.VisualChildrenCount
FrameworkElement.Width
FrameworkElement.ContextMenuClosing
FrameworkElement.ContextMenuOpening
FrameworkElement.DataContextChanged
FrameworkElement.Initialized
FrameworkElement.Loaded
FrameworkElement.RequestBringIntoView
FrameworkElement.SizeChanged
FrameworkElement.SourceUpdated
FrameworkElement.TargetUpdated
FrameworkElement.ToolTipClosing
FrameworkElement.ToolTipOpening
FrameworkElement.Unloaded
UIElement.AllowDropProperty
UIElement.AreAnyTouchesCapturedProperty
UIElement.AreAnyTouchesCapturedWithinProperty
UIElement.AreAnyTouchesDirectlyOverProperty
UIElement.AreAnyTouchesOverProperty
UIElement.BitmapEffectInputProperty
UIElement.BitmapEffectProperty
UIElement.CacheModeProperty
UIElement.ClipProperty
UIElement.ClipToBoundsProperty
UIElement.DragEnterEvent
UIElement.DragLeaveEvent
UIElement.DragOverEvent
UIElement.DropEvent
UIElement.EffectProperty
UIElement.FocusableProperty
UIElement.GiveFeedbackEvent
UIElement.GotFocusEvent
UIElement.GotKeyboardFocusEvent
UIElement.GotMouseCaptureEvent
UIElement.GotStylusCaptureEvent
UIElement.GotTouchCaptureEvent
UIElement.IsEnabledProperty
UIElement.IsFocusedProperty
UIElement.IsHitTestVisibleProperty
UIElement.IsKeyboardFocusedProperty
UIElement.IsKeyboardFocusWithinProperty
UIElement.IsManipulationEnabledProperty
UIElement.IsMouseCapturedProperty
UIElement.IsMouseCaptureWithinProperty
UIElement.IsMouseDirectlyOverProperty
UIElement.IsMouseOverProperty
UIElement.IsStylusCapturedProperty
UIElement.IsStylusCaptureWithinProperty
UIElement.IsStylusDirectlyOverProperty
UIElement.IsStylusOverProperty
UIElement.IsVisibleProperty
UIElement.KeyDownEvent
UIElement.KeyUpEvent
UIElement.LostFocusEvent
UIElement.LostKeyboardFocusEvent
UIElement.LostMouseCaptureEvent
UIElement.LostStylusCaptureEvent
UIElement.LostTouchCaptureEvent
UIElement.ManipulationBoundaryFeedbackEvent
UIElement.ManipulationCompletedEvent
UIElement.ManipulationDeltaEvent
UIElement.ManipulationInertiaStartingEvent
UIElement.ManipulationStartedEvent
UIElement.ManipulationStartingEvent
UIElement.MouseDownEvent
UIElement.MouseEnterEvent
UIElement.MouseLeaveEvent
UIElement.MouseLeftButtonDownEvent
UIElement.MouseLeftButtonUpEvent
UIElement.MouseMoveEvent
UIElement.MouseRightButtonDownEvent
UIElement.MouseRightButtonUpEvent
UIElement.MouseUpEvent
UIElement.MouseWheelEvent
UIElement.OpacityMaskProperty
UIElement.OpacityProperty
UIElement.PreviewDragEnterEvent
UIElement.PreviewDragLeaveEvent
UIElement.PreviewDragOverEvent
UIElement.PreviewDropEvent
UIElement.PreviewGiveFeedbackEvent
UIElement.PreviewGotKeyboardFocusEvent
UIElement.PreviewKeyDownEvent
UIElement.PreviewKeyUpEvent
UIElement.PreviewLostKeyboardFocusEvent
UIElement.PreviewMouseDownEvent
UIElement.PreviewMouseLeftButtonDownEvent
UIElement.PreviewMouseLeftButtonUpEvent
UIElement.PreviewMouseMoveEvent
UIElement.PreviewMouseRightButtonDownEvent
UIElement.PreviewMouseRightButtonUpEvent
UIElement.PreviewMouseUpEvent
UIElement.PreviewMouseWheelEvent
UIElement.PreviewQueryContinueDragEvent
UIElement.PreviewStylusButtonDownEvent
UIElement.PreviewStylusButtonUpEvent
UIElement.PreviewStylusDownEvent
UIElement.PreviewStylusInAirMoveEvent
UIElement.PreviewStylusInRangeEvent
UIElement.PreviewStylusMoveEvent
UIElement.PreviewStylusOutOfRangeEvent
UIElement.PreviewStylusSystemGestureEvent
UIElement.PreviewStylusUpEvent
UIElement.PreviewTextInputEvent
UIElement.PreviewTouchDownEvent
UIElement.PreviewTouchMoveEvent
UIElement.PreviewTouchUpEvent
UIElement.QueryContinueDragEvent
UIElement.QueryCursorEvent
UIElement.RenderTransformOriginProperty
UIElement.RenderTransformProperty
UIElement.SnapsToDevicePixelsProperty
UIElement.StylusButtonDownEvent
UIElement.StylusButtonUpEvent
UIElement.StylusDownEvent
UIElement.StylusEnterEvent
UIElement.StylusInAirMoveEvent
UIElement.StylusInRangeEvent
UIElement.StylusLeaveEvent
UIElement.StylusMoveEvent
UIElement.StylusOutOfRangeEvent
UIElement.StylusSystemGestureEvent
UIElement.StylusUpEvent
UIElement.TextInputEvent
UIElement.TouchDownEvent
UIElement.TouchEnterEvent
UIElement.TouchLeaveEvent
UIElement.TouchMoveEvent
UIElement.TouchUpEvent
UIElement.UidProperty
UIElement.VisibilityProperty
UIElement.AddHandler(RoutedEvent, Delegate)
UIElement.AddHandler(RoutedEvent, Delegate, bool)
UIElement.AddToEventRoute(EventRoute, RoutedEventArgs)
UIElement.ApplyAnimationClock(DependencyProperty, AnimationClock)
UIElement.ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior)
UIElement.Arrange(Rect)
UIElement.BeginAnimation(DependencyProperty, AnimationTimeline)
UIElement.BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)
UIElement.CaptureMouse()
UIElement.CaptureStylus()
UIElement.CaptureTouch(TouchDevice)
UIElement.Focus()
UIElement.GetAnimationBaseValue(DependencyProperty)
UIElement.HitTestCore(GeometryHitTestParameters)
UIElement.HitTestCore(PointHitTestParameters)
UIElement.InputHitTest(Point)
UIElement.InvalidateArrange()
UIElement.InvalidateMeasure()
UIElement.InvalidateVisual()
UIElement.Measure(Size)
UIElement.OnAccessKey(AccessKeyEventArgs)
UIElement.OnChildDesiredSizeChanged(UIElement)
UIElement.OnGotMouseCapture(MouseEventArgs)
UIElement.OnGotStylusCapture(StylusEventArgs)
UIElement.OnGotTouchCapture(TouchEventArgs)
UIElement.OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs)
UIElement.OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)
UIElement.OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs)
UIElement.OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs)
UIElement.OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs)
UIElement.OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs)
UIElement.OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs)
UIElement.OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs)
UIElement.OnLostMouseCapture(MouseEventArgs)
UIElement.OnLostStylusCapture(StylusEventArgs)
UIElement.OnLostTouchCapture(TouchEventArgs)
UIElement.OnManipulationBoundaryFeedback(ManipulationBoundaryFeedbackEventArgs)
UIElement.OnManipulationCompleted(ManipulationCompletedEventArgs)
UIElement.OnManipulationDelta(ManipulationDeltaEventArgs)
UIElement.OnManipulationInertiaStarting(ManipulationInertiaStartingEventArgs)
UIElement.OnManipulationStarted(ManipulationStartedEventArgs)
UIElement.OnManipulationStarting(ManipulationStartingEventArgs)
UIElement.OnMouseEnter(MouseEventArgs)
UIElement.OnMouseLeave(MouseEventArgs)
UIElement.OnMouseLeftButtonDown(MouseButtonEventArgs)
UIElement.OnMouseLeftButtonUp(MouseButtonEventArgs)
UIElement.OnMouseRightButtonDown(MouseButtonEventArgs)
UIElement.OnMouseRightButtonUp(MouseButtonEventArgs)
UIElement.OnPreviewDragEnter(DragEventArgs)
UIElement.OnPreviewDragLeave(DragEventArgs)
UIElement.OnPreviewDragOver(DragEventArgs)
UIElement.OnPreviewDrop(DragEventArgs)
UIElement.OnPreviewGiveFeedback(GiveFeedbackEventArgs)
UIElement.OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs)
UIElement.OnPreviewKeyUp(KeyEventArgs)
UIElement.OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs)
UIElement.OnPreviewMouseDown(MouseButtonEventArgs)
UIElement.OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)
UIElement.OnPreviewMouseLeftButtonUp(MouseButtonEventArgs)
UIElement.OnPreviewMouseMove(MouseEventArgs)
UIElement.OnPreviewMouseRightButtonDown(MouseButtonEventArgs)
UIElement.OnPreviewMouseRightButtonUp(MouseButtonEventArgs)
UIElement.OnPreviewMouseUp(MouseButtonEventArgs)
UIElement.OnPreviewMouseWheel(MouseWheelEventArgs)
UIElement.OnPreviewQueryContinueDrag(QueryContinueDragEventArgs)
UIElement.OnPreviewStylusButtonDown(StylusButtonEventArgs)
UIElement.OnPreviewStylusButtonUp(StylusButtonEventArgs)
UIElement.OnPreviewStylusDown(StylusDownEventArgs)
UIElement.OnPreviewStylusInAirMove(StylusEventArgs)
UIElement.OnPreviewStylusInRange(StylusEventArgs)
UIElement.OnPreviewStylusMove(StylusEventArgs)
UIElement.OnPreviewStylusOutOfRange(StylusEventArgs)
UIElement.OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs)
UIElement.OnPreviewStylusUp(StylusEventArgs)
UIElement.OnPreviewTextInput(TextCompositionEventArgs)
UIElement.OnPreviewTouchDown(TouchEventArgs)
UIElement.OnPreviewTouchMove(TouchEventArgs)
UIElement.OnPreviewTouchUp(TouchEventArgs)
UIElement.OnRender(DrawingContext)
UIElement.OnStylusButtonDown(StylusButtonEventArgs)
UIElement.OnStylusButtonUp(StylusButtonEventArgs)
UIElement.OnStylusDown(StylusDownEventArgs)
UIElement.OnStylusEnter(StylusEventArgs)
UIElement.OnStylusInAirMove(StylusEventArgs)
UIElement.OnStylusInRange(StylusEventArgs)
UIElement.OnStylusLeave(StylusEventArgs)
UIElement.OnStylusMove(StylusEventArgs)
UIElement.OnStylusOutOfRange(StylusEventArgs)
UIElement.OnStylusSystemGesture(StylusSystemGestureEventArgs)
UIElement.OnStylusUp(StylusEventArgs)
UIElement.OnTouchDown(TouchEventArgs)
UIElement.OnTouchEnter(TouchEventArgs)
UIElement.OnTouchLeave(TouchEventArgs)
UIElement.OnTouchMove(TouchEventArgs)
UIElement.OnTouchUp(TouchEventArgs)
UIElement.RaiseEvent(RoutedEventArgs)
UIElement.ReleaseAllTouchCaptures()
UIElement.ReleaseMouseCapture()
UIElement.ReleaseStylusCapture()
UIElement.ReleaseTouchCapture(TouchDevice)
UIElement.RemoveHandler(RoutedEvent, Delegate)
UIElement.TranslatePoint(Point, UIElement)
UIElement.UpdateLayout()
UIElement.AllowDrop
UIElement.AreAnyTouchesCaptured
UIElement.AreAnyTouchesCapturedWithin
UIElement.AreAnyTouchesDirectlyOver
UIElement.AreAnyTouchesOver
UIElement.BitmapEffect
UIElement.BitmapEffectInput
UIElement.CacheMode
UIElement.Clip
UIElement.ClipToBounds
UIElement.CommandBindings
UIElement.DesiredSize
UIElement.Effect
UIElement.Focusable
UIElement.HasAnimatedProperties
UIElement.HasEffectiveKeyboardFocus
UIElement.InputBindings
UIElement.IsArrangeValid
UIElement.IsEnabled
UIElement.IsEnabledCore
UIElement.IsFocused
UIElement.IsHitTestVisible
UIElement.IsInputMethodEnabled
UIElement.IsKeyboardFocused
UIElement.IsKeyboardFocusWithin
UIElement.IsManipulationEnabled
UIElement.IsMeasureValid
UIElement.IsMouseCaptured
UIElement.IsMouseCaptureWithin
UIElement.IsMouseDirectlyOver
UIElement.IsMouseOver
UIElement.IsStylusCaptured
UIElement.IsStylusCaptureWithin
UIElement.IsStylusDirectlyOver
UIElement.IsStylusOver
UIElement.IsVisible
UIElement.Opacity
UIElement.OpacityMask
UIElement.PersistId
UIElement.RenderSize
UIElement.RenderTransform
UIElement.RenderTransformOrigin
UIElement.SnapsToDevicePixels
UIElement.StylusPlugIns
UIElement.TouchesCaptured
UIElement.TouchesCapturedWithin
UIElement.TouchesDirectlyOver
UIElement.TouchesOver
UIElement.Uid
UIElement.Visibility
UIElement.DragEnter
UIElement.DragLeave
UIElement.DragOver
UIElement.Drop
UIElement.FocusableChanged
UIElement.GiveFeedback
UIElement.GotFocus
UIElement.GotKeyboardFocus
UIElement.GotMouseCapture
UIElement.GotStylusCapture
UIElement.GotTouchCapture
UIElement.IsEnabledChanged
UIElement.IsHitTestVisibleChanged
UIElement.IsKeyboardFocusedChanged
UIElement.IsKeyboardFocusWithinChanged
UIElement.IsMouseCapturedChanged
UIElement.IsMouseCaptureWithinChanged
UIElement.IsMouseDirectlyOverChanged
UIElement.IsStylusCapturedChanged
UIElement.IsStylusCaptureWithinChanged
UIElement.IsStylusDirectlyOverChanged
UIElement.IsVisibleChanged
UIElement.KeyDown
UIElement.KeyUp
UIElement.LayoutUpdated
UIElement.LostFocus
UIElement.LostKeyboardFocus
UIElement.LostMouseCapture
UIElement.LostStylusCapture
UIElement.LostTouchCapture
UIElement.ManipulationBoundaryFeedback
UIElement.ManipulationCompleted
UIElement.ManipulationDelta
UIElement.ManipulationInertiaStarting
UIElement.ManipulationStarted
UIElement.ManipulationStarting
UIElement.MouseDown
UIElement.MouseEnter
UIElement.MouseLeave
UIElement.MouseLeftButtonDown
UIElement.MouseLeftButtonUp
UIElement.MouseMove
UIElement.MouseRightButtonDown
UIElement.MouseRightButtonUp
UIElement.MouseUp
UIElement.MouseWheel
UIElement.PreviewDragEnter
UIElement.PreviewDragLeave
UIElement.PreviewDragOver
UIElement.PreviewDrop
UIElement.PreviewGiveFeedback
UIElement.PreviewGotKeyboardFocus
UIElement.PreviewKeyDown
UIElement.PreviewKeyUp
UIElement.PreviewLostKeyboardFocus
UIElement.PreviewMouseDown
UIElement.PreviewMouseLeftButtonDown
UIElement.PreviewMouseLeftButtonUp
UIElement.PreviewMouseMove
UIElement.PreviewMouseRightButtonDown
UIElement.PreviewMouseRightButtonUp
UIElement.PreviewMouseUp
UIElement.PreviewMouseWheel
UIElement.PreviewQueryContinueDrag
UIElement.PreviewStylusButtonDown
UIElement.PreviewStylusButtonUp
UIElement.PreviewStylusDown
UIElement.PreviewStylusInAirMove
UIElement.PreviewStylusInRange
UIElement.PreviewStylusMove
UIElement.PreviewStylusOutOfRange
UIElement.PreviewStylusSystemGesture
UIElement.PreviewStylusUp
UIElement.PreviewTextInput
UIElement.PreviewTouchDown
UIElement.PreviewTouchMove
UIElement.PreviewTouchUp
UIElement.QueryContinueDrag
UIElement.QueryCursor
UIElement.StylusButtonDown
UIElement.StylusButtonUp
UIElement.StylusDown
UIElement.StylusEnter
UIElement.StylusInAirMove
UIElement.StylusInRange
UIElement.StylusLeave
UIElement.StylusMove
UIElement.StylusOutOfRange
UIElement.StylusSystemGesture
UIElement.StylusUp
UIElement.TextInput
UIElement.TouchDown
UIElement.TouchEnter
UIElement.TouchLeave
UIElement.TouchMove
UIElement.TouchUp
Visual.AddVisualChild(Visual)
Visual.FindCommonVisualAncestor(DependencyObject)
Visual.IsAncestorOf(DependencyObject)
Visual.IsDescendantOf(DependencyObject)
Visual.OnVisualChildrenChanged(DependencyObject, DependencyObject)
Visual.PointFromScreen(Point)
Visual.PointToScreen(Point)
Visual.RemoveVisualChild(Visual)
Visual.TransformToAncestor(Visual3D)
Visual.TransformToAncestor(Visual)
Visual.TransformToDescendant(Visual)
Visual.TransformToVisual(Visual)
Visual.VisualBitmapEffect
Visual.VisualBitmapEffectInput
Visual.VisualBitmapScalingMode
Visual.VisualCacheMode
Visual.VisualClearTypeHint
Visual.VisualClip
Visual.VisualEdgeMode
Visual.VisualEffect
Visual.VisualOffset
Visual.VisualOpacity
Visual.VisualOpacityMask
Visual.VisualParent
Visual.VisualScrollableAreaClip
Visual.VisualTextHintingMode
Visual.VisualTextRenderingMode
Visual.VisualTransform
Visual.VisualXSnappingGuidelines
Visual.VisualYSnappingGuidelines
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Equals(object)
DependencyObject.GetHashCode()
DependencyObject.GetLocalValueEnumerator()
DependencyObject.GetValue(DependencyProperty)
DependencyObject.InvalidateProperty(DependencyProperty)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, object)
DependencyObject.SetValue(DependencyProperty, object)
DependencyObject.SetValue(DependencyPropertyKey, object)
DependencyObject.ShouldSerializeProperty(DependencyProperty)
DependencyObject.DependencyObjectType
DependencyObject.IsSealed
DispatcherObject.Dispatcher
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Phoenix.Aruba.Controls
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class TokenizedTextBox : RichTextBox, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild

Constructors

View Source

TokenizedTextBox()

Initializes a new instance of the TokenizedTextBox class.

Declaration
public TokenizedTextBox()

Fields

View Source

AreTokensReadOnlyProperty

Indicates whether tokens are allowed to be deleted.

Declaration
public static readonly DependencyProperty AreTokensReadOnlyProperty
Field Value
Type Description
DependencyProperty
View Source

ContainerNameProperty

The name property used to give the specific name of each control.

Declaration
public static readonly DependencyProperty ContainerNameProperty
Field Value
Type Description
DependencyProperty
View Source

CreateTokenSelectorProperty

Delegate of a function creating a Token Selector.

Declaration
public static readonly DependencyProperty CreateTokenSelectorProperty
Field Value
Type Description
DependencyProperty
View Source

DefaultPrivateTemplateValueProperty

The default text contents for Private Template.

Declaration
public static readonly DependencyProperty DefaultPrivateTemplateValueProperty
Field Value
Type Description
DependencyProperty
View Source

FieldNameProperty

The name of the field this tokenized text box is associated with.

Declaration
public static readonly DependencyProperty FieldNameProperty
Field Value
Type Description
DependencyProperty
View Source

HelperTextProperty

The helper text for this field.

Declaration
public static readonly DependencyProperty HelperTextProperty
Field Value
Type Description
DependencyProperty
View Source

InvalidTokenTemplateProperty

The DataTemplate used to present an invalid token in UI.

Declaration
public static readonly DependencyProperty InvalidTokenTemplateProperty
Field Value
Type Description
DependencyProperty
View Source

IsFromParentProperty

Whether this field was populated by a parent.

Declaration
public static readonly DependencyProperty IsFromParentProperty
Field Value
Type Description
DependencyProperty
View Source

IsHtmlProperty

Identifies the IsHtml dependency property.

Declaration
public static readonly DependencyProperty IsHtmlProperty
Field Value
Type Description
DependencyProperty
View Source

IsInDesignModeProperty

Identifies the IsInDesignModeProperty dependency property.

Declaration
public static readonly DependencyProperty IsInDesignModeProperty
Field Value
Type Description
DependencyProperty
View Source

IsPrivateTemplateProperty

Identifies the IsPrivateTemplate dependency property.

Declaration
public static readonly DependencyProperty IsPrivateTemplateProperty
Field Value
Type Description
DependencyProperty
View Source

IsRichTextProperty

Identifies the IsRichText dependency property.

Declaration
public static readonly DependencyProperty IsRichTextProperty
Field Value
Type Description
DependencyProperty
View Source

OverrideParentProperty

Whether the field is overriding the parent.

Declaration
public static readonly DependencyProperty OverrideParentProperty
Field Value
Type Description
DependencyProperty
View Source

ParentNameProperty

The name of the parent that is populating this field.

Declaration
public static readonly DependencyProperty ParentNameProperty
Field Value
Type Description
DependencyProperty
View Source

TextProperty

The text content including {ResolverName:TokenName}-representation of tokens.

Declaration
public static readonly DependencyProperty TextProperty
Field Value
Type Description
DependencyProperty
View Source

TextWrappingProperty

Identifies the System.Windows.Controls.TextBox.TextWrapping dependency property.

Declaration
public static readonly DependencyProperty TextWrappingProperty
Field Value
Type Description
DependencyProperty
View Source

TokenParserProperty

Delegate of a function parsing a string that contains token references adorned by {} among other text. The function returns an enumeration of tokenized items.

Declaration
public static readonly DependencyProperty TokenParserProperty
Field Value
Type Description
DependencyProperty
View Source

TokenTemplateProperty

The DataTemplate used to present a token in UI.

Declaration
public static readonly DependencyProperty TokenTemplateProperty
Field Value
Type Description
DependencyProperty
View Source

TokenTypeProperty

Identifies the TokenType dependency property.

Declaration
public static readonly DependencyProperty TokenTypeProperty
Field Value
Type Description
DependencyProperty

Properties

View Source

AddHelperTextCommand

Gets the Add Helper Text Command.

Declaration
public DelegateCommand AddHelperTextCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

AddLinkToRichTextCommand

Gets the Add Link to Rich Text Command.

Declaration
public DelegateCommand AddLinkToRichTextCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

AddTokenCommand

Gets the Add Token Command.

Declaration
public ICommand AddTokenCommand { get; }
Property Value
Type Description
ICommand
View Source

AreTokensReadOnly

Gets or sets a value indicating whether tokens are allowed to be deleted.

Declaration
public bool AreTokensReadOnly { get; set; }
Property Value
Type Description
bool
View Source

ColorList

Gets or sets an array of system colors to be used by the UI as a drop down for color selection.

Declaration
public static Array ColorList { get; set; }
Property Value
Type Description
Array
View Source

ContainerName

Gets or sets the name of control{s}.

Declaration
public string ContainerName { get; set; }
Property Value
Type Description
string
View Source

CreateTokenSelector

Gets or sets the delegate of a function creating a Token Selector.

Declaration
public Func<ITokenSelector> CreateTokenSelector { get; set; }
Property Value
Type Description
Func<ITokenSelector>
View Source

DefaultPrivateTemplateValue

Gets or sets the default text contents for Private Template.

Declaration
public string DefaultPrivateTemplateValue { get; set; }
Property Value
Type Description
string
View Source

FieldName

Gets or sets the name of the field associated with this tokenized text box.

Declaration
public string FieldName { get; set; }
Property Value
Type Description
string
View Source

HasTokens

Gets a value indicating whether there are tokens in this field.

Declaration
public bool HasTokens { get; }
Property Value
Type Description
bool
View Source

HelperText

Gets or sets the helper text content.

Declaration
public string HelperText { get; set; }
Property Value
Type Description
string
View Source

InvalidTokenTemplate

Gets or sets the DataTemplate used to present a token in UI.

Declaration
public DataTemplate InvalidTokenTemplate { get; set; }
Property Value
Type Description
DataTemplate
View Source

IsFromParent

Gets or sets a value indicating whether the field is populated by its parent.

Declaration
public bool IsFromParent { get; set; }
Property Value
Type Description
bool
View Source

IsHtml

Gets or sets a value indicating whether the text box displays text as html.

Declaration
public bool IsHtml { get; set; }
Property Value
Type Description
bool
View Source

IsInDesignMode

Gets or sets a value indicating whether module is currently in design mode.

Declaration
public bool IsInDesignMode { get; set; }
Property Value
Type Description
bool
View Source

IsPrivateTemplate

Gets or sets a value indicating whether the current template is a Private Template.

Declaration
public bool IsPrivateTemplate { get; set; }
Property Value
Type Description
bool
View Source

IsRichText

Gets or sets a value indicating whether the text box allows RichText format.

Declaration
public bool IsRichText { get; set; }
Property Value
Type Description
bool
View Source

OverrideParent

Gets or sets a value indicating whether the field is overriding the parent.

Declaration
public bool OverrideParent { get; set; }
Property Value
Type Description
bool
View Source

ParentName

Gets or sets the name of the parent this field is getting it's value from.

Declaration
public string ParentName { get; set; }
Property Value
Type Description
string
View Source

RemoveLinkFromRichTextCommand

Gets the Remove Link from Rich Text Command.

Declaration
public DelegateCommand RemoveLinkFromRichTextCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

SetFontColorCommand

Gets the Set Font Color Command.

Declaration
public DelegateCommand<object> SetFontColorCommand { get; }
Property Value
Type Description
DelegateCommand<object>
View Source

SetFontFamilyCommand

Gets the Set Font Family Command.

Declaration
public DelegateCommand<object> SetFontFamilyCommand { get; }
Property Value
Type Description
DelegateCommand<object>
View Source

SetFontSizeCommand

Gets the Set Font Size Command.

Declaration
public DelegateCommand<string> SetFontSizeCommand { get; }
Property Value
Type Description
DelegateCommand<string>
View Source

SetHighlightColorCommand

Gets the Set Highlight Color Command.

Declaration
public DelegateCommand<object> SetHighlightColorCommand { get; }
Property Value
Type Description
DelegateCommand<object>
View Source

Text

Gets or sets the text content including {ResolverName:TokenName}-representation of tokens.

Declaration
public string Text { get; set; }
Property Value
Type Description
string
View Source

TextWrapping

Gets or sets how the text box should wrap text.

Declaration
public TextWrapping TextWrapping { get; set; }
Property Value
Type Description
TextWrapping
View Source

TokenParser

Gets or sets the delegate of a function parsing a string that contains token references adorned by {} among other text. The function return an enumeration of tokenized items.

Declaration
public Func<string, List<TokenizedItemViewModel>> TokenParser { get; set; }
Property Value
Type Description
Func<string, List<TokenizedItemViewModel>>
View Source

TokenTemplate

Gets or sets the DataTemplate used to present a token in UI.

Declaration
public DataTemplate TokenTemplate { get; set; }
Property Value
Type Description
DataTemplate
View Source

TokenType

Gets or sets a value indicating token type of the text box.

Declaration
public TextBoxTokenType TokenType { get; set; }
Property Value
Type Description
TextBoxTokenType
View Source

TokenizedParent

Gets or sets the tokenized parent control if there is one.

Declaration
public object TokenizedParent { get; set; }
Property Value
Type Description
object

Methods

View Source

OnDrop(DragEventArgs)

Invoked whenever an unhandled System.Windows.DragDrop.DragEnter attached routed event reaches an element derived from this class in its route. Implement this method to add class handling for this event.

Declaration
protected override void OnDrop(DragEventArgs e)
Parameters
Type Name Description
DragEventArgs e

Provides data about the event.

Overrides
TextBoxBase.OnDrop(DragEventArgs)
View Source

OnLostFocus(RoutedEventArgs)

Overrides OnLostFocus to map field images to the bug for rich text.

Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
Type Name Description
RoutedEventArgs e

The event parameter.

Overrides
TextBoxBase.OnLostFocus(RoutedEventArgs)
View Source

OnPreviewKeyDown(KeyEventArgs)

Opens the Token selector pop-up on key press.

Declaration
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameters
Type Name Description
KeyEventArgs e

The event argument.

Overrides
TextBoxBase.OnPreviewKeyDown(KeyEventArgs)
View Source

OnStyleChanged(Style, Style)

Overrides the OnStyleChanged event to add or remove a handler based on whether this is a multi-line textbox (multi-line defined as AcceptsReturn == true).

Declaration
protected override void OnStyleChanged(Style oldStyle, Style newStyle)
Parameters
Type Name Description
Style oldStyle

The previous style.

Style newStyle

The new style.

Overrides
FrameworkElement.OnStyleChanged(Style, Style)
View Source

OnTextChanged(TextChangedEventArgs)

Updates the tokenized item list and the document to support token editing.

Declaration
protected override void OnTextChanged(TextChangedEventArgs e)
Parameters
Type Name Description
TextChangedEventArgs e

The event parameter.

Overrides
TextBoxBase.OnTextChanged(TextChangedEventArgs)
View Source

OnTextPropertyChangedActions()

Sets new content for RichTextBox when the Text property was assigned externally (this method is called from the OnChanged Text dependency property handler).

Declaration
public void OnTextPropertyChangedActions()

Events

View Source

UpdateCompleteEventHandler

Event raised when the text within the combo box has updated completely.

Declaration
public event EventHandler UpdateCompleteEventHandler
Event Type
Type Description
EventHandler
View Source

UpdateHelperTextCompleteEventHandler

Event raised when the helper text for the combo box has updated completely.

Declaration
public event EventHandler UpdateHelperTextCompleteEventHandler
Event Type
Type Description
EventHandler

Implements

IAnimatable
ISupportInitialize
IFrameworkInputElement
IInputElement
IQueryAmbient
IAddChild

Extension Methods

UIElementExtensions.OnceVisible(UIElement, Action)
  • View Source
In this article
Back to top Generated by DocFX