共用方式為


SilverlightCell 類別

表示 Silverlight 儲存格的控制項。

繼承階層架構

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

命名空間:  Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls
組件:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (在 Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll 中)

語法

'宣告
Public Class SilverlightCell _
    Inherits SilverlightControl
public class SilverlightCell : SilverlightControl
public ref class SilverlightCell : public SilverlightControl
type SilverlightCell =  
    class
        inherit SilverlightControl
    end
public class SilverlightCell extends SilverlightControl

SilverlightCell 型別會公開下列成員。

建構函式

  名稱 說明
公用方法 SilverlightCell() 初始化 SilverlightCell 類別的新執行個體。
公用方法 SilverlightCell(UITestControl) 初始化屬於指定父代的 SilverlightCell 類別的新執行個體。

回頁首

屬性

  名稱 說明
公用屬性 AcceleratorKey 取得控制項的鍵盤快速鍵。 (繼承自 SilverlightControl)。
公用屬性 AccessKey 取得控制項的鍵盤快速鍵。 (繼承自 SilverlightControl)。
公用屬性 AutomationId 取得控制項的自動化 ID。 (繼承自 SilverlightControl)。
公用屬性 BackgroundColor 取得控制項的背景色彩。 (繼承自 SilverlightControl)。
公用屬性 BoundingRectangle (繼承自 UITestControl)。
公用屬性 Checked 取得或設定值,這個值表示儲存格是否已核取。
公用屬性 ClassName (繼承自 UITestControl)。
公用屬性 ColumnHeader 取得資料格的欄標題。
公用屬性 ColumnIndex 取得資料格的欄索引。
公用屬性 Container (繼承自 UITestControl)。
公用屬性 ContentControlType 取得值,這個值表示資料格中元素的控制項型別。
公用屬性 ControlType (繼承自 UITestControl)。
公用屬性 Enabled (繼承自 UITestControl)。
公用屬性 Exists (繼承自 UITestControl)。
公用屬性 FilterProperties (繼承自 UITestControl)。
公用屬性 Font 取得控制項的字型。 (繼承自 SilverlightControl)。
公用屬性 ForegroundColor 取得控制項的前景色彩。 (繼承自 SilverlightControl)。
公用屬性 FriendlyName (繼承自 UITestControl)。
公用屬性 HasFocus (繼承自 UITestControl)。
公用屬性 Height 取得控制項的高度。 (繼承自 SilverlightControl)。
公用屬性 HelpText 取得控制項的說明文字。 (繼承自 SilverlightControl)。
公用屬性 Indeterminate 取得或設定值,指出資料個是否狀態是否為不定。
公用屬性 IsTopParent (繼承自 UITestControl)。
公用屬性 IsValid 取得值,指出資料格是否有效。
公用屬性 LabeledBy 取得控制項的標籤文字。 (繼承自 SilverlightControl)。
公用屬性 Name (繼承自 UITestControl)。
公用屬性 NativeElement (繼承自 UITestControl)。
公用屬性 RowIndex 取得儲存格的資料列索引。
公用屬性 SearchConfigurations (繼承自 UITestControl)。
公用屬性 SearchProperties (繼承自 UITestControl)。
受保護的屬性 SearchPropertiesSetExplicitly (繼承自 UITestControl)。
公用屬性 Selected 取得值,這個值表示是否已選取儲存格。
公用屬性 TechnologyName (繼承自 UITestControl)。
公用屬性 TopParent (繼承自 UITestControl)。
公用屬性 Value 取得或設定儲存格的值。
公用屬性 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.GetUITestControlsForSearch()。)
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 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)。

回頁首

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。

請參閱

參考

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