XamlToggleSwitch.IsOn Property
Gets or sets the pressed state of the toggle-switch.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls
Assembly: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
Public Overridable Property IsOn As Boolean
public virtual bool IsOn { get; set; }
public:
virtual property bool IsOn {
bool get ();
void set (bool value);
}
abstract IsOn : bool with get, set
override IsOn : bool with get, set
function get IsOn () : boolean
function set IsOn (value : boolean)
Property Value
Type: Boolean
.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.WindowsRuntimeControls Namespace