SilverlightDataPager 类

表示数据页导航控件。

继承层次结构

System.Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl
    Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightControl
      Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightDataPager

命名空间:  Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls
程序集:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight(在 Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll 中)

语法

声明
Public Class SilverlightDataPager _
    Inherits SilverlightControl
public class SilverlightDataPager : SilverlightControl
public ref class SilverlightDataPager : public SilverlightControl
type SilverlightDataPager =  
    class
        inherit SilverlightControl
    end
public class SilverlightDataPager extends SilverlightControl

SilverlightDataPager 类型公开以下成员。

构造函数

  名称 说明
公共方法 SilverlightDataPager() 初始化 SilverlightDataPager 类的新实例。
公共方法 SilverlightDataPager(UITestControl) 初始化有指定父级的 SilverlightDataPager 类的新实例。

页首

属性

  名称 说明
公共属性 AcceleratorKey 获取控件的键盘快捷键。 (继承自 SilverlightControl。)
公共属性 AccessKey 获取控件的键盘快捷键。 (继承自 SilverlightControl。)
公共属性 AutoEllipsis 获取一个值,该值指示是否使用省略号作为最后的数值按钮。
公共属性 AutomationId 获取控件的自动化 ID。 (继承自 SilverlightControl。)
公共属性 BackgroundColor 获取或设置控件的背景色。 (继承自 SilverlightControl。)
公共属性 BoundingRectangle (继承自 UITestControl。)
公共属性 CanChangePage 获取一个值,该值指示用户是否可以移到其他页面。
公共属性 CanMoveToFirstPage 获取一个值,该值指示用户是否可以移到第一页。
公共属性 CanMoveToLastPage 获取一个值,该值指示用户是否可以移到最后一页。
公共属性 CanMoveToNextPage 获取一个值,该值指示用户是否可以移到下一页。
公共属性 CanMoveToPreviousPage 获取一个值,该值指示用户是否可以移到上一页。
公共属性 ClassName (继承自 UITestControl。)
公共属性 Container (继承自 UITestControl。)
公共属性 ControlType (继承自 UITestControl。)
公共属性 DisplayMode 获取一个值,该值指示如何显示数据寻呼机用户界面。
公共属性 Enabled (继承自 UITestControl。)
公共属性 Exists (继承自 UITestControl。)
公共属性 FilterProperties (继承自 UITestControl。)
公共属性 Font 获取控件的字体。 (继承自 SilverlightControl。)
公共属性 ForegroundColor 获取控件的默认前景色。 (继承自 SilverlightControl。)
公共属性 FriendlyName (继承自 UITestControl。)
公共属性 HasFocus (继承自 UITestControl。)
公共属性 Height 获取控件的高度。 (继承自 SilverlightControl。)
公共属性 HelpText 获取控件的帮助文本。 (继承自 SilverlightControl。)
公共属性 IsTopParent (继承自 UITestControl。)
公共属性 ItemCount 获取数据导航中项的数目。
公共属性 LabeledBy 获取该控件的标签文本。 (继承自 SilverlightControl。)
公共属性 Name (继承自 UITestControl。)
公共属性 NativeElement (继承自 UITestControl。)
公共属性 PageCount 获取数据页面器的页面数。
公共属性 PageIndex 获取数据页面器的当前页面索引。
公共属性 PageSize 获取在一个页面上显示的项数。
公共属性 SearchConfigurations (继承自 UITestControl。)
公共属性 SearchProperties (继承自 UITestControl。)
受保护的属性 SearchPropertiesSetExplicitly (继承自 UITestControl。)
公共属性 TechnologyName (继承自 UITestControl。)
公共属性 TopParent (继承自 UITestControl。)
公共属性 Width 获取控件的宽度。 (继承自 SilverlightControl。)
公共属性 WindowHandle (继承自 UITestControl。)
公共属性 WindowTitles (继承自 UITestControl。)

页首

方法

  名称 说明
公共方法 CaptureImage (继承自 UITestControl。)
公共方法 CopyFrom (继承自 UITestControl。)
公共方法 DrawHighlight (继承自 UITestControl。)
公共方法 EnsureClickable() (继承自 UITestControl。)
公共方法 EnsureClickable(Point) (继承自 UITestControl。)
公共方法 Equals (继承自 UITestControl。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 Find (继承自 UITestControl。)
公共方法 FindMatchingControls (继承自 UITestControl。)
公共方法 GetChildren (继承自 UITestControl。)
公共方法 GetClickablePoint (继承自 UITestControl。)
公共方法 GetHashCode (继承自 UITestControl。)
公共方法 GetParent (继承自 UITestControl。)
公共方法 GetProperty (继承自 UITestControl。)
公共方法 GetPropertyAsString 获取指定属性的字符形式的值。 (继承自 SilverlightControl。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 GetUITestControlsForSearch 在派生类中重写时,获取要搜索的 UITestControl 对象的数组。 (继承自 SilverlightControl。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 SetFocus (继承自 UITestControl。)
公共方法 SetProperty (继承自 UITestControl。)
公共方法 ToString (继承自 UITestControl。)
公共方法 TryGetClickablePoint (继承自 UITestControl。)
公共方法 WaitForControlCondition(Predicate<UITestControl>) (继承自 UITestControl。)
公共方法 WaitForControlCondition(Predicate<UITestControl>, Int32) (继承自 UITestControl。)
公共方法 WaitForControlEnabled() (继承自 UITestControl。)
公共方法 WaitForControlEnabled(Int32) (继承自 UITestControl。)
公共方法 WaitForControlExist() (继承自 UITestControl。)
公共方法 WaitForControlExist(Int32) (继承自 UITestControl。)
公共方法 WaitForControlNotExist() (继承自 UITestControl。)
公共方法 WaitForControlNotExist(Int32) (继承自 UITestControl。)
公共方法 WaitForControlPropertyEqual(String, Object) (继承自 UITestControl。)
公共方法 WaitForControlPropertyEqual(String, Object, Int32) (继承自 UITestControl。)
公共方法 WaitForControlPropertyNotEqual(String, Object) (继承自 UITestControl。)
公共方法 WaitForControlPropertyNotEqual(String, Object, Int32) (继承自 UITestControl。)
公共方法 WaitForControlReady() (继承自 UITestControl。)
公共方法 WaitForControlReady(Int32) (继承自 UITestControl。)

页首

线程安全

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

请参见

参考

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