WpfCheckBox.Indeterminate 属性

获取或设置一个值,该值指示此复选框的值是否为不确定的。

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

语法

声明
Public Overridable Property Indeterminate As Boolean
    Get
    Set
public virtual bool Indeterminate { get; set; }
public:
virtual property bool Indeterminate {
    bool get ();
    void set (bool value);
}
abstract Indeterminate : bool with get, set
override Indeterminate : bool with get, set
function get Indeterminate () : boolean
function set Indeterminate (value : boolean)

属性值

类型:System.Boolean
如果此复选框的值为不确定的,则为 true ;否则为 false。

.NET Framework 安全性

请参见

参考

WpfCheckBox 类

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