Spread Windows Forms 8.0 Product Documentation
Clear Method (SuperEditBase)
Example 


Removes all of the selected contents of the edit control.
Syntax
'Declaration
 
Public Overridable Sub Clear() 
'Usage
 
Dim instance As SuperEditBase
 
instance.Clear()
public virtual void Clear()
Remarks

To remove the entire contents of the control, select the contents and then use the Clear method, or use the ClearAll method.

This method will not have an effect if you select the entire contents and call the method and the control's AllowNull property is set to false.

Example
control.Clear();
control.Clear()
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

SuperEditBase Class
SuperEditBase Members
AllowNull Property
ClearAll Property

 

 


Copyright © GrapeCity, inc. All rights reserved.