語言

TextBlock.Inlines 屬性

定義

取得 TextBlock 內的內嵌文字元素集合。

public:
 property InlineCollection ^ Inlines { InlineCollection ^ get(); };
InlineCollection Inlines();
public InlineCollection Inlines { get; }
var inlineCollection = textBlock.inlines;
Public ReadOnly Property Inlines As InlineCollection
<TextBlock
  oneOrMoreInlineElements
</TextBlock>

屬性值

一個包含 TextBlock 所有內嵌文字元素的集合。 預設是空集合。

適用於