Version

ExpansionIndicator Property

Gets and sets the location of the expansion indicator with respect to the upper left corner of the control and the UltraGroupBox.HeaderPosition. If you set this to GroupBoxExpansionIndicator.None the expansion indicator will not be displayed.
Syntax
'Declaration
 
Public Property ExpansionIndicator As GroupBoxExpansionIndicator
public GroupBoxExpansionIndicator ExpansionIndicator {get; set;}
Remarks

The control's header can be located on any of the four sides of the content area. If the header is on the top or bottom side (i.e. it is horizontal) then setting this property to 'Far' causes the expansion indicator to appear on the righthand side of the control. If the header is vertical then 'Far' means that the expansion indicator is to be positioned toward the bottom of the control.


If this property is set to 'None' then the expansion indicator will not be displayed. In that situation the HeaderClickAction property defaults to 'ToggleExpansion'. This enables the user to expand and collapse the control with the mouse, even though there is no expansion indicator.

Example
This snippet shows a couple of expansion-related settings of the UltraExpandableGroupBox.

Imports Infragistics.Win.Misc

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    Me.UltraExpandableGroupBox1.ViewStyle = GroupBoxViewStyle.Office2003

    ' Display the expansion indicator on the side of the header which is furthest
    ' from the upper-left corner of the control.  If the header is horizontal then the
    ' expansion indicator will appear on the right side of the header, else if the header
    ' is vertical it will appear on the bottom.
    Me.UltraExpandableGroupBox1.ExpansionIndicator = GroupBoxExpansionIndicator.Far

    ' Allow a click anywhere on the header to change the expanded state of the control.  Clicks
    ' on the expansion indicator will still toggle expansion when using this mode.
    Me.UltraExpandableGroupBox1.HeaderClickAction = GroupBoxHeaderClickAction.ToggleExpansion

End Sub
using Infragistics.Win.Misc;

private void Form1_Load(object sender, System.EventArgs e)
{
	this.ultraExpandableGroupBox1.ViewStyle = GroupBoxViewStyle.Office2003;

	// Display the expansion indicator on the side of the header which is furthest
	// from the upper-left corner of the control.  If the header is horizontal then the
	// expansion indicator will appear on the right side of the header, else if the header
	// is vertical it will appear on the bottom.
	this.ultraExpandableGroupBox1.ExpansionIndicator = GroupBoxExpansionIndicator.Far;

	// Allow a click anywhere on the header to change the expanded state of the control.  Clicks
	// on the expansion indicator will still toggle expansion when using this mode.
	this.ultraExpandableGroupBox1.HeaderClickAction = GroupBoxHeaderClickAction.ToggleExpansion;
}
Requirements

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

See Also