' 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()