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 中的所有內嵌文字專案。 預設為空集合。

適用於