Bold Class

Bold element - markup helper for indicating bolded content. Equivalent to a Span with FontWeight property set to FontWeights.Bold. Can contain other inline elements.

Definition

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

Constructors

BoldInitializes a new instance of the Bold class

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)
Inlines Gets or sets the inlines.
(Inherited from Span)
IsInitialized
(Inherited from StyledElement)
Item
(Inherited from AvaloniaObject)
Item
(Inherited from AvaloniaObject)
Name
(Inherited from StyledElement)
Parent
(Inherited from StyledElement)
Resources
(Inherited from StyledElement)
StyleKey
(Inherited from StyledElement)
Styles
(Inherited from StyledElement)
TemplatedParent
(Inherited from StyledElement)
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)
EndInit
(Inherited from StyledElement)
Equals(Object)
(Inherited from AvaloniaObject)
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)
IsAnimating(AvaloniaProperty)
(Inherited from AvaloniaObject)
IsSet(AvaloniaProperty)
(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)
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)

See Also