Share via


XamlToggleButton.Pressed Property

Gets or sets the pressed state of the toggle-button.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls
Assembly:  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.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

.NET Framework Security

See Also

Reference

XamlToggleButton Class

Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls Namespace