TextBlock.Inlines TextBlock.Inlines TextBlock.Inlines TextBlock.Inlines Property

定义

获取包含顶级 Inline 元素的 InlineCollection,前者构成 TextBlock 的内容。Gets an InlineCollection containing the top-level Inline elements that comprise the contents of the TextBlock.

public:
 property System::Windows::Documents::InlineCollection ^ Inlines { System::Windows::Documents::InlineCollection ^ get(); };
public System.Windows.Documents.InlineCollection Inlines { get; }
member this.Inlines : System.Windows.Documents.InlineCollection
Public ReadOnly Property Inlines As InlineCollection

属性值

包含 Inline 元素的 InlineCollection,前者构成 TextBlock 的内容。An InlineCollection containing the Inline elements that comprise the contents of the TextBlock.

注解

使用此InlineCollection属性返回的可枚举或操作的内容。 TextBlockUse the InlineCollection returned by this property to enumerate or manipulate the contents of a TextBlock.

适用于