Back to Devexpress

GridSplitContainer.SynchronizeFocusedRow Property

windowsforms-devexpress-dot-xtragrid-dot-gridsplitcontainer-1804b52c.md

latest2.7 KB
Original Source

GridSplitContainer.SynchronizeFocusedRow Property

Gets or sets whether focus is automatically moved in one Grid Control, when an end-user moves focus in another grid control. This property is not in effect when the Grid Control presents data using a CardView or LayoutView object.

Namespace : DevExpress.XtraGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Split")]
public DefaultBoolean SynchronizeFocusedRow { get; set; }
vb
<DXCategory("Split")>
<DefaultValue(DefaultBoolean.Default)>
Public Property SynchronizeFocusedRow As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A DefaultBoolean value that specifies if the row focus is synchronized between two grid controls.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

If the SynchronizeFocusedRow property is set to Default , the row focus is synchronized, provided that the GridSplitContainer.Horizontal property is set to True. Otherwise, the row focus is not synchronized, and an end-user can simultaneously focus different rows in two grid controls.

See Also

SynchronizeExpandCollapse

SynchronizeFocusedRow

SynchronizeScrolling

SynchronizeViews

GridSplitContainer Class

GridSplitContainer Members

DevExpress.XtraGrid Namespace