XamlSlider.PropertyNames 类

包含属性名称共有的所有 XAML 控件。

继承层次结构

Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.PropertyNames
    Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlControl.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlSlider.PropertyNames

命名空间:  Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls
程序集:  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting(在 Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll 中)

语法

声明
Public MustInherit Class PropertyNames _
    Inherits XamlControl.PropertyNames
public abstract class PropertyNames : XamlControl.PropertyNames
public ref class PropertyNames abstract : public XamlControl::PropertyNames
[<AbstractClass>]
type PropertyNames =  
    class 
        inherit XamlControl.PropertyNames 
    end
public abstract class PropertyNames extends XamlControl.PropertyNames

XamlSlider.PropertyNames 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 XamlSlider.PropertyNames 初始化 XamlSlider.PropertyNames 类的新实例。

页首

方法

  名称 说明
公共方法 Equals(Object) 确定所提供的对象是否等于当前实例。 (继承自 UITestControl.PropertyNames。)
受保护的方法 Finalize 在垃圾回收将某一对象回收前允许该对象尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 作为默认哈希函数。 (继承自 UITestControl.PropertyNames。)
公共方法 GetType 返回控件的 Type。 (继承自 UITestControl.PropertyNames。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回此实例的字符串表示形式。 (继承自 UITestControl.PropertyNames。)

页首

字段

  名称 说明
公共字段静态成员 LargeChange 在滑块由大型距离中时,将获取位置更改。数据类型:System.Double
公共字段静态成员 MaximumPosition 获取最大位置允许在滑块。数据类型:System.Double
公共字段静态成员 MinimumPosition 获取最小的位置允许在滑块。数据类型:System.Double
公共字段静态成员 Position 获取或设置在滑块的位置。数据类型:System.Double
公共字段静态成员 PositionAsString 获取或设置在滑块的位置指定为字符串。数据类型:System.String
公共字段静态成员 SmallChange 在滑块由一个小的距离中时,将获取位置更改。数据类型:System.Double

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls 命名空间