Run Class

A terminal element in text flow hierarchy - contains a uniformatted run of unicode characters

Definition

Namespace: Avalonia.Controls.Documents
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public class Run : Inline
Inheritance
Object    AvaloniaObject    Animatable    StyledElement    TextElement    Inline    Run

Constructors

Run Initializes an instance of Run class.
Run(String) Initializes an instance of Run class specifying its text content.

Properties

ActualThemeVariant
(Inherited from StyledElement)
Background Gets or sets a brush used to paint the control's background.
(Inherited from TextElement)
BaselineAlignment Describes how the baseline for a text-based element is positioned on the vertical axis, relative to the established baseline for text.
(Inherited from Inline)
Classes
(Inherited from StyledElement)
DataContext
(Inherited from StyledElement)
FontFamily Gets or sets the font family.
(Inherited from TextElement)
FontFeatures Gets or sets the font features.
(Inherited from TextElement)
FontSize Gets or sets the font size.
(Inherited from TextElement)
FontStretch Gets or sets the font stretch.
(Inherited from TextElement)
FontStyle Gets or sets the font style.
(Inherited from TextElement)
FontWeight Gets or sets the font weight.
(Inherited from TextElement)
Foreground Gets or sets a brush used to paint the text.
(Inherited from TextElement)
InheritanceParent
(Inherited from AvaloniaObject)
IsInitialized
(Inherited from StyledElement)
Item
(Inherited from AvaloniaObject)
Item
(Inherited from AvaloniaObject)
LogicalChildren
(Inherited from StyledElement)
Name
(Inherited from StyledElement)
Parent
(Inherited from StyledElement)
PseudoClasses
(Inherited from StyledElement)
Resources
(Inherited from StyledElement)
StyleKey
(Inherited from StyledElement)
StyleKeyOverride
(Inherited from StyledElement)
Styles
(Inherited from StyledElement)
TemplatedParent
(Inherited from StyledElement)
Text The content spanned by this TextElement.
TextDecorations The TextDecorations property specifies decorations that are added to the text of an element.
(Inherited from Inline)
Theme
(Inherited from StyledElement)
Transitions
(Inherited from Animatable)

Methods

ApplyStyling
(Inherited from StyledElement)
BeginInit
(Inherited from StyledElement)
Bind(AvaloniaProperty, IBinding)
(Inherited from AvaloniaObject)
Bind(AvaloniaProperty, IObservableObject, BindingPriority)
(Inherited from AvaloniaObject)
Bind``1(DirectPropertyBaseUMP, IObservableUMP)
(Inherited from AvaloniaObject)
Bind``1(DirectPropertyBaseUMP, IObservableBindingValueUMP)
(Inherited from AvaloniaObject)
Bind``1(DirectPropertyBaseUMP, IObservableObject)
(Inherited from AvaloniaObject)
Bind``1(StyledPropertyUMP, IObservableUMP, BindingPriority)
(Inherited from AvaloniaObject)
Bind``1(StyledPropertyUMP, IObservableBindingValueUMP, BindingPriority)
(Inherited from AvaloniaObject)
Bind``1(StyledPropertyUMP, IObservableObject, BindingPriority)
(Inherited from AvaloniaObject)
CheckAccess
(Inherited from AvaloniaObject)
ClearValue(AvaloniaProperty)
(Inherited from AvaloniaObject)
ClearValue``1(AvaloniaPropertyUMP)
(Inherited from AvaloniaObject)
ClearValue``1(DirectPropertyBaseUMP)
(Inherited from AvaloniaObject)
ClearValue``1(StyledPropertyUMP)
(Inherited from AvaloniaObject)
CoerceValue(AvaloniaProperty)
(Inherited from AvaloniaObject)
CreateTextRunProperties
(Inherited from Inline)
EndInit
(Inherited from StyledElement)
Equals(Object)
(Inherited from AvaloniaObject)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetBaseValue``1(StyledPropertyUMP)
(Inherited from AvaloniaObject)
GetHashCode
(Inherited from AvaloniaObject)
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetValue(AvaloniaProperty)
(Inherited from AvaloniaObject)
GetValue``1(DirectPropertyBaseUMP)
(Inherited from AvaloniaObject)
GetValue``1(StyledPropertyUMP)
(Inherited from AvaloniaObject)
InitializeIfNeeded
(Inherited from StyledElement)
IsAnimating(AvaloniaProperty)
(Inherited from AvaloniaObject)
IsSet(AvaloniaProperty)
(Inherited from AvaloniaObject)
LogicalChildrenCollectionChanged(Object, NotifyCollectionChangedEventArgs)
(Inherited from StyledElement)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnAttachedToLogicalTree(LogicalTreeAttachmentEventArgs)
(Inherited from StyledElement)
OnDataContextBeginUpdate
(Inherited from StyledElement)
OnDataContextChanged(EventArgs)
(Inherited from StyledElement)
OnDataContextEndUpdate
(Inherited from StyledElement)
OnDetachedFromLogicalTree(LogicalTreeAttachmentEventArgs)
(Inherited from StyledElement)
OnInitialized
(Inherited from StyledElement)
OnPropertyChanged(AvaloniaPropertyChangedEventArgs)
(Overrides InlineOnPropertyChanged(AvaloniaPropertyChangedEventArgs))
OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs)
(Inherited from Animatable)
RaisePropertyChanged``1(DirectPropertyBaseUMP, UMP, UMP)
(Inherited from AvaloniaObject)
SetAndRaise``1(DirectPropertyBaseUMP, UMP, UMP)
(Inherited from AvaloniaObject)
SetCurrentValue(AvaloniaProperty, Object)
(Inherited from AvaloniaObject)
SetCurrentValue``1(StyledPropertyUMP, UMP)
(Inherited from AvaloniaObject)
SetValue(AvaloniaProperty, Object, BindingPriority)
(Inherited from AvaloniaObject)
SetValue``1(DirectPropertyBaseUMP, UMP)
(Inherited from AvaloniaObject)
SetValue``1(StyledPropertyUMP, UMP, BindingPriority)
(Inherited from AvaloniaObject)
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryGetResource(Object, ThemeVariant, Object)
(Inherited from StyledElement)
UpdateDataValidation(AvaloniaProperty, BindingValueType, Exception)
(Inherited from AvaloniaObject)
VerifyAccess
(Inherited from AvaloniaObject)

Events

ActualThemeVariantChanged
(Inherited from StyledElement)
AttachedToLogicalTree
(Inherited from StyledElement)
DataContextChanged
(Inherited from StyledElement)
DetachedFromLogicalTree
(Inherited from StyledElement)
Initialized
(Inherited from StyledElement)
PropertyChanged
(Inherited from AvaloniaObject)
ResourcesChanged
(Inherited from StyledElement)

Fields

TextProperty Dependency property backing Text.

See Also