RichTextBox Class

Definition

Represents a rich editing control which operates on FlowDocument objects.

[System.Windows.Localizability(System.Windows.LocalizationCategory.Inherit)]
[System.Windows.Markup.ContentProperty("Document")]
public class RichTextBox : System.Windows.Controls.Primitives.TextBoxBase, System.Windows.Markup.IAddChild
Inheritance
Attributes
Implements

Examples

The following example declares a RichTextBox that contains a simple FlowDocument.

<RichTextBox Name="richTB">
  <FlowDocument>
    <Paragraph>
      <Run>Paragraph 1</Run>
    </Paragraph>
    <Paragraph>
      <Run>Paragraph 2</Run>
    </Paragraph>
    <Paragraph>
      <Run>Paragraph 3</Run>
    </Paragraph>
  </FlowDocument>
</RichTextBox>
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Documents;
namespace SDKSample
{
    public partial class RichTextBoxExample : Page
    {
        public RichTextBoxExample()
        {

            StackPanel myStackPanel = new StackPanel();

            // Create a FlowDocument to contain content for the RichTextBox.
            FlowDocument myFlowDoc = new FlowDocument();

            // Add paragraphs to the FlowDocument.
            myFlowDoc.Blocks.Add(new Paragraph(new Run("Paragraph 1")));
            myFlowDoc.Blocks.Add(new Paragraph(new Run("Paragraph 2")));
            myFlowDoc.Blocks.Add(new Paragraph(new Run("Paragraph 3")));
            RichTextBox myRichTextBox = new RichTextBox();

            // Add initial content to the RichTextBox.
            myRichTextBox.Document = myFlowDoc;
            
            myStackPanel.Children.Add(myRichTextBox);
            this.Content = myStackPanel;
            
        }
    }
}

Imports System
Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Media
Imports System.Windows.Documents
Namespace SDKSample
	Partial Public Class RichTextBoxExample
		Inherits Page
		Public Sub New()

			Dim myStackPanel As New StackPanel()

			' Create a FlowDocument to contain content for the RichTextBox.
			Dim myFlowDoc As New FlowDocument()

			' Add paragraphs to the FlowDocument.
			myFlowDoc.Blocks.Add(New Paragraph(New Run("Paragraph 1")))
			myFlowDoc.Blocks.Add(New Paragraph(New Run("Paragraph 2")))
			myFlowDoc.Blocks.Add(New Paragraph(New Run("Paragraph 3")))
			Dim myRichTextBox As New RichTextBox()

			' Add initial content to the RichTextBox.
			myRichTextBox.Document = myFlowDoc

			myStackPanel.Children.Add(myRichTextBox)
			Me.Content = myStackPanel

		End Sub
	End Class
End Namespace

Remarks

FlowDocument is the only supported child element for a RichTextBox.

Important

RichTextBox has built-in handling for the bubbling MouseUp and MouseDown events. Consequently, custom event handlers that listen for MouseUp or MouseDown events from a RichTextBox will never be called. If you need to respond to these events, listen for the tunneling PreviewMouseUp and PreviewMouseDown events instead, or register the handlers with the HandledEventsToo argument (this latter option is only available through code). Do not mark the event handled unless you deliberately want to disable RichTextBox native handling of these events, and be aware that this has notable effects on the control's UI.

While RichTextBox supports copying and pasting of images, certain scenarios are currently unsupported and may not work properly. The following table summarizes these scenarios and expected results.

Image Copy Source Image Paste Result
Image source is a graphic metafile No image is pasted
Image source uses relative path or link Garbled or blank image is pasted
Image source link does not end with an expected image format (.PNG, .JPG, .GIF) Garbled or blank image is pasted
Image source copied from malformed RichText (RTF) Link to image source is pasted (rather than image)

Pasting HTML content into a RichTextBox might result in unexpected behavior because RichTextBox uses RTF format rather than directly using HTML format.

Text always wraps in a RichTextBox. If you do not want text to wrap then set the PageWidth on the FlowDocument to be larger than the width of the RichTextBox. However, once the page width is reached the text still wraps.

Horizontally and vertically aligning content within a RichTextBox is done with the HorizontalContentAlignment and VerticalContentAlignment properties. Aligning the RichTextBox within the layout of the page is done with the HorizontalAlignment and VerticalAlignment properties.

Scrollbars are not visible on a RichTextBox by default. To make a scrollbar visible, set the VerticalScrollBarVisibility property to Visible or Auto.

Usually, the TextChanged event should be used to detect when the text in a TextBox or RichTextBox changes, rather then KeyDown as you might expect. For an example, see How to: Detect When Text in a TextBox Has Changed.

RichTextBox supports a variety of keyboard commands. For a list of keyboard commands, see EditingCommands.

Dependency properties for this control might be set by the control’s default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running. For more information, see Default WPF Themes.

Constructors

RichTextBox()

Initializes a new, default instance of the RichTextBox class.

RichTextBox(FlowDocument)

Initializes a new instance of the RichTextBox class, adding a specified FlowDocument as the initial content.

Fields

IsDocumentEnabledProperty

Identifies the IsDocumentEnabled dependency property.

Properties

CaretPosition

Gets or sets the position of the input caret.

Document

Gets or sets the FlowDocument that represents the contents of the RichTextBox.

IsDocumentEnabled

Gets or sets a value that indicates whether the user can interact with UIElement and ContentElement objects within the RichTextBox.

LogicalChildren

Gets an enumerator that can iterate the logical children of the RichTextBox.

Selection

Gets a TextSelection object containing the current selection in the RichTextBox.

Methods

GetNextSpellingErrorPosition(TextPointer, LogicalDirection)

Returns a TextPointer that points to the next spelling error in the contents of the RichTextBox.

GetPositionFromPoint(Point, Boolean)

Returns a TextPointer that points to the insertion point closest to the specified position.

GetSpellingError(TextPointer)

Returns a SpellingError object associated with any spelling error at a specified position in the contents of the RichTextBox.

GetSpellingErrorRange(TextPointer)

Returns a TextRange object covering any misspelled word at a specified position in the contents of the RichTextBox.

MeasureOverride(Size)

Called to re-measure the RichTextBox.

OnCreateAutomationPeer()

Creates and returns an AutomationPeer object for this RichTextBox.

OnDpiChanged(DpiScale, DpiScale)

Called when the DPI at which this Rich Text Box is rendered changes.

ShouldSerializeDocument()

Returns a value that indicates whether or not the effective value of the Document property should be serialized during serialization of a RichTextBox object.

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

Explicit Interface Implementations

IAddChild.AddChild(Object)

This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

IAddChild.AddText(String)

This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

Applies to