Class Run
Represents a discrete section of formatted or unformatted text.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Documents
Assembly: OpenSilver.dll
Syntax
public sealed class Run : Inline, IUIElement, IDependencyObject
Fields
| Improve this Doc View SourceFlowDirectionProperty
Identifies the FlowDirection dependency property.
Declaration
public static readonly DependencyProperty FlowDirectionProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TextProperty
Identifies the Text dependency property.
Declaration
public static readonly DependencyProperty TextProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceFlowDirection
Gets or sets the direction that text and other user interface elements flow within the Run element that controls their layout.
Declaration
public FlowDirection FlowDirection { get; set; }
Property Value
Type | Description |
---|---|
FlowDirection | The direction that text and other UI elements flow within the Run element. The default value is LeftToRight. |
Text
A string that specifies the text contents of the Run. The default is System.String.Empty.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |