Xceed Grid for WinForms v4.3 Documentation
SynchronizeDetailGrids Property


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridControl Class : SynchronizeDetailGrids Property
Gets or sets a boolean value indicating if the detail grids should be synchronized.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates if the detail grids should be synchronized.")>

<CategoryAttribute("Behavior")>

<ApplyToDesignerAttribute(False)>

Public Property SynchronizeDetailGrids As Boolean
'Usage
 
Dim instance As GridControl

Dim value As Boolean

 

instance.SynchronizeDetailGrids = value

 

value = instance.SynchronizeDetailGrids
[Description("Indicates if the detail grids should be synchronized.")]

[Category("Behavior")]

[ApplyToDesigner(false)]

public bool SynchronizeDetailGrids {get; set;}

Property Value

true if the detail grid's should be synchronized; false otherwise. By default, true.
Remarks

If true, the detail grids will all contain the same number of columns, will be sorted and grouped according to the values of the same column and the width of the columns will also be synchronized.

Each level of detail grids will be synchronized with their siblings. For example, the first detail grid added to the DetailGridTemplates collection has 3 columns and is sorted by the first, the the first detail grid of each DataRow in the grid will have the same 3 columns and will all be sorted by the first. If the second detail grid added to the DetailGridTemplate collection has 4 columns and is grouped by the value of the second column, then the second detail grid of each DataRow in the grid will have 4 columns and will be grouped by the value of the second column.

If the value of the SynchronizeDetailGrids property is modified, the UpdateDetailGrids method must be called in order for the changes to be reflected.

Requirements

Target Platforms: 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

Reference

GridControl Class
GridControl Members