'Declaration Public Property ExpansionIndicatorDisplayMode As ExpansionIndicatorDisplayMode
public ExpansionIndicatorDisplayMode ExpansionIndicatorDisplayMode {get; set;}
This setting is used in the Record's Record.ExpansionIndicatorVisibility get accessor to determine the resolved visiblity of the expansion indicator. However, explicitly setting the Record.ExpansionIndicatorVisibility property on the Record will take precedence over this property.
Note: this property is ignored in certain views where expansion indicators are not supported. It is also ignored if the IsNestedDataDisplayEnabled property is set to false.
public partial class Window1 : Window { public Window1() { InitializeComponent(); // Set the ExpansionIndicatorDisplayMode so that when a record // is displayed it will be checked to see if it has any child records. // The expansion indicator will only be displayed if the record has // children. this.XamDataGrid1.FieldLayoutSettings.ExpansionIndicatorDisplayMode = ExpansionIndicatorDisplayMode.CheckOnDisplay; } }
Imports Infragistics.Windows.DataPresenter Class Window1 Public Sub New() ' This call is required by the Windows Form Designer. InitializeComponent() ' Set the ExpansionIndicatorDisplayMode so the when a ' Record is displayed it wil be checked for any children ' an the expansions indicator will only be displayed ' if the record has children Me.XamDataGrid1.FieldLayoutSettings.ExpansionIndicatorDisplayMode = ExpansionIndicatorDisplayMode.CheckOnDisplay End Sub End Class
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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
FieldLayoutSettings Class
FieldLayoutSettings Members
FieldLayout Class
ExpansionIndicatorDisplayModeProperty Field
DataRecordPresenterStyle Property
DataRecordPresenterStyleSelector Property
ExpansionIndicatorVisibility Property
IsNestedDataDisplayEnabled Property
ExpansionIndicatorDisplayMode Enumeration