Note: setting this property to 'False' is more performant with deep nested structures (e.g. with hierarchical data and/or multiple groupby fields) since it uses a single GridViewPanelFlat to arrange RecordPresenters. However, it can not make use of each RecordPresenter's RecordPresenter.NestedContent and therefore will not pick up any chrome or animations relating to that nested content.
' Setting UseNestedPanels to true on a XamDataGrid will ' cause nested content to become active. This will enable ' any chrome, animations and triggers relating to ' RecordPresenters' nested content. Me.xamDataGrid1.ViewSettings.UseNestedPanels = True Me.xamDataGrid1.ViewSettings.Orientation = Orientation.Vertical ' Here is how you would set ViewSettings properties ' on a XamDataPresenter. ' Note: the default value for UseNestedPanels is false and ' the default value for Orientation is Vertical. Dim gv As New Infragistics.Windows.DataPresenter.GridView gv.ViewSettings.UseNestedPanels = True gv.ViewSettings.Orientation = Orientation.Vertical Me.xamDataPresenter1.View = gv
// Setting UseNestedPanels to true on a XamDataGrid will // cause nested content to become active. This will enable // any chrome, animations and triggers relating to // RecordPresenters' nested content. this.xamDataGrid1.ViewSettings.UseNestedPanels = true; this.xamDataGrid1.ViewSettings.Orientation = Orientation.Vertical; // Here is how you would set ViewSettings properties // on a XamDataPresenter. // Note: the default value for UseNestedPanels is false and // the default value for Orientation is Vertical. Infragistics.Windows.DataPresenter.GridView gv = new Infragistics.Windows.DataPresenter.GridView(); gv.ViewSettings.UseNestedPanels = true; gv.ViewSettings.Orientation = Orientation.Vertical; this.xamDataPresenter1.View = gv;
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