Gets or sets a value indicating whether a user is allowed to create horizontal splits.
[Visual Basic]
Public Property AllowHorizontalSplit As Boolean
[C#]
public bool AllowHorizontalSplit {get;set;}
[Delphi]
public property AllowHorizontalSplit: Boolean read get_AllowHorizontalSplit write set_AllowHorizontalSplit;
Remarks
If True, then the user is able to split the current grid into multiple horizontal splits at run time.
If False, then the user is prevented from splitting the grid horizontally.
Example
The following code uses the AllowHorizontalSplit property to allow the user to create new splits at run time:
Me.C1TrueDBGrid1.AllowHorizontalSplit = True
· C#
this.c1TrueDBGrid1.AllowHorizontalSplit = true;
· Delphi
Self.C1TrueDBGrid1.AllowHorizontalSplit := True;
For an example demonstrating the AllowHorizontalSplit property, see the Creating and Resizing Splits through User Interaction topic.
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |