Share via


AnnotatedScrollBar.LabelTemplate 屬性

定義

取得或設定 IElementFactory (,例如 DataTemplate 用來在標註滾動條中顯示卷標的) 。

public:
 property IElementFactory ^ LabelTemplate { IElementFactory ^ get(); void set(IElementFactory ^ value); };
IElementFactory LabelTemplate();

void LabelTemplate(IElementFactory value);
public IElementFactory LabelTemplate { get; set; }
var iElementFactory = annotatedScrollBar.labelTemplate;
annotatedScrollBar.labelTemplate = iElementFactory;
Public Property LabelTemplate As IElementFactory

屬性值

IElementFactory (,例如DataTemplate用來在標註滾動條中顯示標籤的) 。 預設值為 null

適用於