TextBlock.Inlines 屬性

定義

取得包含最上層 Inline 項目的 InlineCollection,這些項目組成 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 的內容。

備註

InlineCollection使用這個屬性傳回的 來列舉或操作 的內容 TextBlock

適用於