Run Properties

The Run type exposes the following members.

  Name Description
Public property AllowDrop Gets or sets a value that indicates whether this element can be used as the target of a drag-and-drop operation. (Inherited from ContentElement.)
Public property AreAnyTouchesCaptured Gets a value that indicates whether at least one touch is captured to this element. (Inherited from ContentElement.)
Public property AreAnyTouchesCapturedWithin Gets a value that indicates whether at least one touch is captured to this element or to any child elements in its visual tree. (Inherited from ContentElement.)
Public property AreAnyTouchesDirectlyOver Gets a value that indicates whether at least one touch is pressed over this element. (Inherited from ContentElement.)
Public property AreAnyTouchesOver Gets a value that indicates whether at least one touch is pressed over this element or any child elements in its visual tree. (Inherited from ContentElement.)
Public property Background Gets or sets the Brush used to fill the background of the content area. (Inherited from TextElement.)
Public property BaselineAlignment Gets or sets the baseline alignment for the Inline element. (Inherited from Inline.)
Public property BindingGroup Gets or sets the BindingGroup that is used for the element. (Inherited from FrameworkContentElement.)
Public property CommandBindings Gets a collection of CommandBinding objects that are associated with this element. (Inherited from ContentElement.)
Public property ContentEnd Gets a TextPointer that represents the end of the content in the element. (Inherited from TextElement.)
Public property ContentStart Gets a TextPointer that represents the start of content in the element. (Inherited from TextElement.)
Public property ContextMenu Gets or sets the context menu element that should appear whenever the context menu is requested via user interface (UI) from within this element. (Inherited from FrameworkContentElement.)
Public property Cursor Gets or sets the cursor that displays when the mouse pointer is over this element. (Inherited from FrameworkContentElement.)
Public property DataContext Gets or sets the data context for an element when it participates in data binding. (Inherited from FrameworkContentElement.)
Protected property DefaultStyleKey Gets or sets the key to use to find the style template for this control in themes. (Inherited from FrameworkContentElement.)
Public property DependencyObjectType Gets the DependencyObjectType that wraps the CLR type of this instance.  (Inherited from DependencyObject.)
Public property Dispatcher Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)
Public property ElementEnd Gets a TextPointer that represents the position just after the end of the element. (Inherited from TextElement.)
Public property ElementStart Gets a TextPointer that represents the position just before the start of the element. (Inherited from TextElement.)
Public property FlowDirection Gets or sets a value that specifies the relative direction for flow of content within a Inline element. (Inherited from Inline.)
Public property Focusable Gets or sets a value that indicates whether the element can receive focus. (Inherited from ContentElement.)
Public property FocusVisualStyle Gets or sets an object that enables customization of appearance, effects, or other style characteristics that will apply to this element when it captures keyboard focus. (Inherited from FrameworkContentElement.)
Public property FontFamily Gets or sets the preferred top-level font family for the content of the element. (Inherited from TextElement.)
Public property FontSize Gets or sets the font size for the content of the element. (Inherited from TextElement.)
Public property FontStretch Gets or sets the font-stretching characteristics for the content of the element. (Inherited from TextElement.)
Public property FontStyle Gets or sets the font style for the content of the element. (Inherited from TextElement.)
Public property FontWeight Gets or sets the top-level font weight for the content of the element. (Inherited from TextElement.)
Public property ForceCursor Gets or sets a value indicating whether this FrameworkContentElement should force the user interface (UI) to render the cursor as declared by this instance's Cursor property. (Inherited from FrameworkContentElement.)
Public property Foreground Gets or sets the Brush to apply to the content of the element. (Inherited from TextElement.)
Public property HasAnimatedProperties Gets a value that indicates whether this element has any animated properties. (Inherited from ContentElement.)
Public property InputBindings Gets the collection of input bindings that are associated with this element. (Inherited from ContentElement.)
Public property InputScope Gets or sets the context for input used by this FrameworkContentElement. (Inherited from FrameworkContentElement.)
Public property IsEnabled Gets or sets a value that indicates whether this element is enabled in the user interface (UI).   (Inherited from ContentElement.)
Protected property IsEnabledCore Gets a value that becomes the return value of IsEnabled in derived classes. (Inherited from ContentElement.)
Public property IsFocused Gets a value that determines whether this element has logical focus. (Inherited from ContentElement.)
Public property IsInitialized Gets a value indicating whether this element has been initialized, either by being loaded as Extensible Application Markup Language (XAML), or by explicitly having its EndInit method called. (Inherited from FrameworkContentElement.)
Public property IsInputMethodEnabled Gets a value that indicates whether an input method system, such as an Input Method Editor (IME), is enabled for processing the input to this element. (Inherited from ContentElement.)
Public property IsKeyboardFocused Gets a value that indicates whether this element has keyboard focus. (Inherited from ContentElement.)
Public property IsKeyboardFocusWithin Gets a value that indicates whether keyboard focus is anywhere within the element or child elements. (Inherited from ContentElement.)
Public property IsLoaded Gets a value indicating whether this element has been loaded for presentation. (Inherited from FrameworkContentElement.)
Public property IsMouseCaptured Gets a value that indicates whether the mouse is captured by this element. (Inherited from ContentElement.)
Public property IsMouseCaptureWithin Gets a value that determines whether mouse capture is held by this element or by child elements in its element tree. (Inherited from ContentElement.)
Public property IsMouseDirectlyOver Gets a value that indicates whether the position of the mouse pointer corresponds to hit test results, which take element compositing into account. (Inherited from ContentElement.)
Public property IsMouseOver Gets a value that indicates whether the mouse pointer is located over this element (including visual child elements, or its control compositing). (Inherited from ContentElement.)
Public property IsSealed Gets a value that indicates whether this instance is currently sealed (read-only). (Inherited from DependencyObject.)
Public property IsStylusCaptured Gets a value that indicates whether the stylus is captured to this element. (Inherited from ContentElement.)
Public property IsStylusCaptureWithin Gets a value that determines whether stylus capture is held by this element, including child elements and control compositing. (Inherited from ContentElement.)
Public property IsStylusDirectlyOver Gets a value that indicates whether the stylus position corresponds to hit test results, which take element compositing into account. (Inherited from ContentElement.)
Public property IsStylusOver Gets a value that indicates whether the stylus is located over this element (including visual child elements). (Inherited from ContentElement.)
Public property Language Gets or sets localization/globalization language information that applies to an individual element. (Inherited from FrameworkContentElement.)
Protected property LogicalChildren Gets an enumerator that can iterate the logical children of the element. (Inherited from TextElement.)
Public property Name Gets or sets the identifying name of the element. The name provides an instance reference so that programmatic code-behind, such as event handler code, can refer to an element once it is constructed during parsing of XAML. (Inherited from FrameworkContentElement.)
Public property NextInline Gets the next Inline element that is a peer to this element. (Inherited from Inline.)
Public property OverridesDefaultStyle Gets or sets a value indicating whether this element incorporates style properties from theme styles. (Inherited from FrameworkContentElement.)
Public property Parent Gets the parent in the logical tree for this element. (Inherited from FrameworkContentElement.)
Public property PreviousInline Gets the previous Inline element that is a peer to this element. (Inherited from Inline.)
Public property Resources Gets or sets the current locally-defined resource dictionary. (Inherited from FrameworkContentElement.)
Public property SiblingInlines Gets an InlineCollection that contains the Inline elements that are siblings (peers) to this element. (Inherited from Inline.)
Public property Style Gets or sets the style to be used by this element. (Inherited from FrameworkContentElement.)
Public property Tag Gets or sets an arbitrary object value that can be used to store custom information about this element. (Inherited from FrameworkContentElement.)
Public property TemplatedParent Gets a reference to the template parent of this element. This property is not relevant if the element was not created through a template. (Inherited from FrameworkContentElement.)
Public property Text Gets or sets the unformatted text contents of this text Run.
Public property TextDecorations Gets a TextDecorationCollection that contains text decorations to apply to this element. (Inherited from Inline.)
Public property TextEffects Gets or sets a collection of text effects to apply to the content of the element. (Inherited from TextElement.)
Public property ToolTip Gets or sets the tool-tip object that is displayed for this element in the user interface (UI). (Inherited from FrameworkContentElement.)
Public property TouchesCaptured Gets all touch devices that are captured to this element. (Inherited from ContentElement.)
Public property TouchesCapturedWithin Gets all touch devices that are captured to this element or any child elements in its visual tree. (Inherited from ContentElement.)
Public property TouchesDirectlyOver Gets all touch devices that are over this element. (Inherited from ContentElement.)
Public property TouchesOver Gets all touch devices that are over this element or any child elements in its visual tree. (Inherited from ContentElement.)
Public property Typography Gets the currently effective typography variations for the content of the element. (Inherited from TextElement.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft