AnnotatedScrollBarLabel 类

定义

表示要由 AnnotatedScrollBar显示的标签的内容和滚动偏移值。

public ref class AnnotatedScrollBarLabel sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.UI.Xaml.Controls.IAnnotatedScrollBarLabelFactory, 327680, "Microsoft.UI.Xaml.XamlContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AnnotatedScrollBarLabel final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.UI.Xaml.Controls.IAnnotatedScrollBarLabelFactory), 327680, "Microsoft.UI.Xaml.XamlContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AnnotatedScrollBarLabel
Public NotInheritable Class AnnotatedScrollBarLabel
继承
Object Platform::Object IInspectable AnnotatedScrollBarLabel
属性

构造函数

AnnotatedScrollBarLabel(Object, Double)

使用指定的内容和滚动偏移量初始化 AnnotatedScrollBarLabel 类的新实例。

属性

Content

获取标签的内容。

ScrollOffset

获取标签的显示偏移量。

适用于