See Also

ClientSideEvents Class  | ClientSideEvents Members

Language

Visual Basic

C#

Show All

See Also Languages Infragistics2.WebUI.UltraWebGauge.v7.2

Reset Method

Infragistics.WebUI.UltraWebGauge Namespace > ClientSideEvents Class : Reset Method (ClientSideEvents)

Reset all properties.

[Visual Basic]
Public Sub Reset()
[C#]
public void Reset();

Example

[Visual Basic] 

' Each settable property on an Infragistics control or sub-object has an
' associated ResetXXX method (where XXX is the property name)
' that resets the property to its default value.
If Me.myControl.ShouldSerializeFooProp() = True Then
      Me.myControl.ResetFooProp()
End If

If Me.myControl.SubObject.ShouldSerializeBarProp() = True Then
      Me.myControl.SubObject.ResetBarProp()
End If

' Each Infragistics control and sub-object that has a settable property
' also has a Reset method that resets all settable properties to their
' default values.
Me.myControl.Reset()
Me.myControl.SubObject.Reset()

[C#] 

// Each settable property on an Infragistics control or sub-object has an 
// associated ResetXXX method (where XXX is the property name) 
// that resets the property to its default value. 
if (this.myControl.ShouldSerializeFooProp()) 
      this.myControl.ResetFooProp(); 
  
if (this.myControl.SubObject.ShouldSerializeBarProp()) 
      this.myControl.SubObject.ResetBarProp(); 
 
// Each Infragistics control and sub-object that has a settable property 
// also has a Reset method that resets all settable properties to their 
// default values. 
this.myControl.Reset(); 
this.myControl.SubObject.Reset();

See Also

ClientSideEvents Class  | ClientSideEvents Members

E-mail your feedback on this topic.

Opinion about our help? Take our survey.

Copyright © 1996-2007 Infragistics, Inc. All rights reserved.

Build Version: 7.2.20072.1063