' 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.
IfMe.myControl.ShouldSerializeFooProp() = TrueThenMe.myControl.ResetFooProp()
EndIfIfMe.myControl.SubObject.ShouldSerializeBarProp() = TrueThenMe.myControl.SubObject.ResetBarProp()
EndIf' 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()
// 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();