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

See Also

Reference

WpfToggleButton Class

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace