See Also

BaseStyle Class  | BaseStyle Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages PowerWEB TextBox for ASP.NET

Clear Method

Dart.PowerWEB.TextBox Namespace > BaseStyle Class : Clear Method (BaseStyle)

Sets all style properties to "non-set" equivalents.

[Visual Basic]
Public Overridable Sub Clear()
[C#]
public virtual void Clear();
[C++]
public: virtual void Clear();
[C++/CLI]
public: virtual 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

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

BaseStyle Class  | BaseStyle Members


Send comments on this topic.

Documentation version 3.2.0.0.

© 2009 Dart Communications.  All rights reserved.