WpfToggleButton.Pressed Property
Gets a value that indicates whether this toggle button control has been pressed.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overridable Property Pressed As Boolean
public virtual bool Pressed { get; set; }
public:
virtual property bool Pressed {
bool get ();
void set (bool value);
}
abstract Pressed : bool with get, set
override Pressed : bool with get, set
function get Pressed () : boolean
function set Pressed (value : boolean)
Property Value
Type: System.Boolean
true if this toggle button control has been pressed; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace