Version

Clear Method (HighlightStyle)

Sets all style properties to "non-set" equivalents. Resets the properties of the style.
Syntax
'Declaration
 
Public Overrides Sub Clear() 
public override void Clear()
Remarks
For example, Height is set to 0, BackColor is set to Color.Empty, etc.

This method resets the properties of the style. For example, Style.BackColor will become Color.Empty, Style.BorderStyle will become BorderStyle.NotSet, etc.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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

See Also