Bold Bold Bold Class

Definition

Provides an inline-level content element that causes content to render with a bold font weight.

public : sealed class Bold : Span, IBold
public sealed class Bold : Span, IBold
Public NotInheritable Class Bold Inherits Span Implements IBold
<Bold>text</Bold>
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Examples

<TextBlock>Text can be <Bold>bold</Bold>, <Underline>underlined</Underline>,
    <Italic>italic</Italic>, or a <Bold><Italic>combination</Italic></Bold>.</TextBlock>

Constructors

Bold() Bold() Bold()

Initializes a new instance of the Bold class.

public : Bold()
public Bold()
Public Sub New()

Properties

AccessKey AccessKey AccessKey

Inherited from TextElement

AccessKeyProperty AccessKeyProperty AccessKeyProperty

Inherited from TextElement

AccessKeyScopeOwner AccessKeyScopeOwner AccessKeyScopeOwner

Inherited from TextElement

AccessKeyScopeOwnerProperty AccessKeyScopeOwnerProperty AccessKeyScopeOwnerProperty

Inherited from TextElement

AllowFocusOnInteraction AllowFocusOnInteraction AllowFocusOnInteraction

Inherited from TextElement

AllowFocusOnInteractionProperty AllowFocusOnInteractionProperty AllowFocusOnInteractionProperty

Inherited from TextElement

CharacterSpacing CharacterSpacing CharacterSpacing

Inherited from TextElement

CharacterSpacingProperty CharacterSpacingProperty CharacterSpacingProperty

Inherited from TextElement

ContentEnd ContentEnd ContentEnd

Inherited from TextElement

ContentStart ContentStart ContentStart

Inherited from TextElement

Dispatcher Dispatcher Dispatcher

Inherited from DependencyObject

ElementEnd ElementEnd ElementEnd

Inherited from TextElement

ElementStart ElementStart ElementStart

Inherited from TextElement

ExitDisplayModeOnAccessKeyInvoked ExitDisplayModeOnAccessKeyInvoked ExitDisplayModeOnAccessKeyInvoked

Inherited from TextElement

ExitDisplayModeOnAccessKeyInvokedProperty ExitDisplayModeOnAccessKeyInvokedProperty ExitDisplayModeOnAccessKeyInvokedProperty

Inherited from TextElement

FontFamily FontFamily FontFamily

Inherited from TextElement

FontFamilyProperty FontFamilyProperty FontFamilyProperty

Inherited from TextElement

FontSize FontSize FontSize

Inherited from TextElement

FontSizeProperty FontSizeProperty FontSizeProperty

Inherited from TextElement

FontStretch FontStretch FontStretch

Inherited from TextElement

FontStretchProperty FontStretchProperty FontStretchProperty

Inherited from TextElement

FontStyle FontStyle FontStyle

Inherited from TextElement

FontStyleProperty FontStyleProperty FontStyleProperty

Inherited from TextElement

FontWeight FontWeight FontWeight

Inherited from TextElement

FontWeightProperty FontWeightProperty FontWeightProperty

Inherited from TextElement

Foreground Foreground Foreground

Inherited from TextElement

ForegroundProperty ForegroundProperty ForegroundProperty

Inherited from TextElement

Inlines Inlines Inlines

Inherited from Span

IsAccessKeyScope IsAccessKeyScope IsAccessKeyScope

Inherited from TextElement

IsAccessKeyScopeProperty IsAccessKeyScopeProperty IsAccessKeyScopeProperty

Inherited from TextElement

IsTextScaleFactorEnabled IsTextScaleFactorEnabled IsTextScaleFactorEnabled

Inherited from TextElement

IsTextScaleFactorEnabledProperty IsTextScaleFactorEnabledProperty IsTextScaleFactorEnabledProperty

Inherited from TextElement

KeyTipHorizontalOffset KeyTipHorizontalOffset KeyTipHorizontalOffset

Inherited from TextElement

KeyTipHorizontalOffsetProperty KeyTipHorizontalOffsetProperty KeyTipHorizontalOffsetProperty

Inherited from TextElement

KeyTipPlacementMode KeyTipPlacementMode KeyTipPlacementMode

Inherited from TextElement

KeyTipPlacementModeProperty KeyTipPlacementModeProperty KeyTipPlacementModeProperty

Inherited from TextElement

KeyTipVerticalOffset KeyTipVerticalOffset KeyTipVerticalOffset

Inherited from TextElement

KeyTipVerticalOffsetProperty KeyTipVerticalOffsetProperty KeyTipVerticalOffsetProperty

Inherited from TextElement

Language Language Language

Inherited from TextElement

LanguageProperty LanguageProperty LanguageProperty

Inherited from TextElement

Name Name Name

Inherited from TextElement

TextDecorations TextDecorations TextDecorations

Inherited from TextElement

TextDecorationsProperty TextDecorationsProperty TextDecorationsProperty

Inherited from TextElement

Events

AccessKeyDisplayDismissed AccessKeyDisplayDismissed AccessKeyDisplayDismissed

Inherited from TextElement

AccessKeyDisplayRequested AccessKeyDisplayRequested AccessKeyDisplayRequested

Inherited from TextElement

AccessKeyInvoked AccessKeyInvoked AccessKeyInvoked

Inherited from TextElement

Methods

ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty)

Inherited from DependencyObject

FindName(String) FindName(String) FindName(String)

Inherited from TextElement

GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty)

Inherited from DependencyObject

GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

Inherited from DependencyObject

OnDisconnectVisualChildren OnDisconnectVisualChildren OnDisconnectVisualChildren

Inherited from TextElement

ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

Inherited from DependencyObject

RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)

Inherited from DependencyObject

SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object)

Inherited from DependencyObject

UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64)

Inherited from DependencyObject

See Also