'Declaration Public Sub ResetGroupHeaderContextMenu()
public void ResetGroupHeaderContextMenu()
The UltraExplorerBarGroup header context menu is displayed when the user right-clicks on a Group header.
The default Group header context menu can be modified in the ContextMenuInitializing event. This method can be used to discard those changes.
Note: the ShowDefaultContextMenu property must be set to true for the Group header context menu to be displayed.
' 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()
// 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();
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2