TextElement クラス

TextElement Class

Block および Inline 抽象クラスの基本クラスとして使用される抽象クラス。

継承

Object
  DependencyObject
    TextElement

構文


public class TextElement : DependencyObject

属性

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

メンバー

TextElementクラス には次の種類のメンバーがあります。

メソッド

The TextElement クラス には次のメソッドがあります。 また、以下からもメソッドが継承されます。Object クラス.

メソッド説明
ClearValue Clears the local value of a dependency property. (継承元 DependencyObject)
FindName Retrieves an object in the object model / runtime object graph by referencing the object's x:Name or Name attribute value.
GetAnimationBaseValue Returns any base value established for a dependency property, which would apply in cases where an animation is not active. (継承元 DependencyObject)
GetValue Returns the current effective value of a dependency property from a DependencyObject. (継承元 DependencyObject)
OnDisconnectVisualChildren Override this method to implement how layout and logic should behave when items are removed from a class-specific content or child property.
ReadLocalValue Returns the local value of a dependency property, if a local value is set. (継承元 DependencyObject)
SetValue Sets the local value of a dependency property on a DependencyObject. (継承元 DependencyObject)

 

プロパティ

TextElementクラス には次のプロパティがあります。

プロパティアクセスの種類説明

CharacterSpacing

読み取り/書き込みGets or sets the uniform spacing between characters, in units of 1/1000 of an em.

CharacterSpacingProperty

読み取り専用Identifies the CharacterSpacing dependency property.

ContentEnd

読み取り専用Gets a TextPointer that represents the end of the content in the element.

ContentStart

読み取り専用Gets a TextPointer that represents the start of content in the element.

Dispatcher

読み取り専用Gets the CoreDispatcher that this object is associated with. (継承元 DependencyObject)

ElementEnd

読み取り専用Gets a TextPointer that represents the position just after the end of the element.

ElementStart

読み取り専用Gets a TextPointer that represents the position just before the start of the element.

FontFamily

読み取り/書き込みGets or sets the preferred top-level font family for the content of the element.

FontFamilyProperty

読み取り専用Identifies the FontFamily dependency property.

FontSize

読み取り/書き込みGets or sets the font size for the content of the element.

FontSizeProperty

読み取り専用Identifies the FontSize dependency property.

FontStretch

読み取り/書き込みGets or sets the glyph width of the font in a family to select.

FontStretchProperty

読み取り専用Identifies the FontStretch dependency property.

FontStyle

読み取り/書き込みGets or sets the font style for the content in this element.

FontStyleProperty

読み取り専用Identifies the FontStyle dependency property.

FontWeight

読み取り/書き込みGets or sets the top-level font weight to select from the font family for the content in this element.

FontWeightProperty

読み取り専用Identifies the FontWeight dependency property.

Foreground

読み取り/書き込みGets or sets the Brush to apply to the content in this element.

ForegroundProperty

読み取り専用Identifies the Foreground dependency property.

Language

読み取り/書き込みGets or sets localization/globalization language information that applies to a TextElement.

LanguageProperty

読み取り専用Identifies the Language dependency property.

Name

読み取り専用Gets or sets a unique identification for the object. Name can only be set from initial parsing of XAML.

 

要件

最小限サポートされるクライアント

Windows 8 [Windows ストア アプリのみ]

最小限サポートされるサーバー

Windows Server 2012 [Windows ストア アプリのみ]

名前空間

Windows.UI.Xaml.Documents
Windows::UI::Xaml::Documents [C++]

メタデータ

Windows.winmd

参照

DependencyObject

 

 

表示:
© 2017 Microsoft