Visual Basic (Declaration) | |
---|---|
Public Overridable Sub ToggleState() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ElementWindowless instance.ToggleState() |
C# | |
---|---|
public virtual void ToggleState() |
To return the current control state, use the State property.
Note: Some controls do not change their appearance when their state changes. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2