Skip to main content

Span Properties

Properties

ActualThemeVariantGets the UI theme that is currently used by the element, which might be different than the RequestedThemeVariantProperty.
(Inherited from StyledElement)
BackgroundGets or sets a brush used to paint the control's background.
(Inherited from TextElement)
BaselineAlignmentDescribes how the baseline for a text-based element is positioned on the vertical axis, relative to the established baseline for text.
(Inherited from Inline)
ClassesGets or sets the styled element's classes.
(Inherited from StyledElement)
DataContextGets or sets the control's data context.
(Inherited from StyledElement)
FontFamilyGets or sets the font family.
(Inherited from TextElement)
FontFeaturesGets or sets the font features.
(Inherited from TextElement)
FontSizeGets or sets the font size.
(Inherited from TextElement)
FontStretchGets or sets the font stretch.
(Inherited from TextElement)
FontStyleGets or sets the font style.
(Inherited from TextElement)
FontWeightGets or sets the font weight.
(Inherited from TextElement)
ForegroundGets or sets a brush used to paint the text.
(Inherited from TextElement)
InheritanceParentGets or sets the parent object that inherited AvaloniaProperty values are inherited from.
(Inherited from AvaloniaObject)
InlinesGets or sets the inlines.
IsInitializedGets a value that indicates whether the element has finished initialization.
(Inherited from StyledElement)
Item(AvaloniaProperty)Gets or sets the value of a AvaloniaProperty.
(Inherited from AvaloniaObject)
Item(IndexerDescriptor)Gets or sets a binding for a AvaloniaProperty.
(Inherited from AvaloniaObject)
LogicalChildrenGets the styled element's logical children.
(Inherited from StyledElement)
NameGets or sets the name of the styled element.
(Inherited from StyledElement)
ParentGets the styled element's logical parent.
(Inherited from StyledElement)
PseudoClassesGets the Classes collection in a form that allows adding and removing pseudoclasses.
(Inherited from StyledElement)
ResourcesGets or sets the styled element's resource dictionary.
(Inherited from StyledElement)
StyleKeyGets the type by which the element is styled.
(Inherited from StyledElement)
StyleKeyOverrideGets the type by which the element is styled.
(Inherited from StyledElement)
StylesGets the styles for the styled element.
(Inherited from StyledElement)
TemplatedParentGets the styled element whose lookless template this styled element is part of.
(Inherited from StyledElement)
TextDecorationsThe TextDecorations property specifies decorations that are added to the text of an element.
(Inherited from Inline)
ThemeGets or sets the theme to be applied to the element.
(Inherited from StyledElement)
TransitionsGets or sets the property transitions for the control.
(Inherited from Animatable)

See Also

Reference

Span Class
Avalonia.Controls.Documents Namespace