ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.AllowVerticalSplit Property

Gets or sets a value indicating whether a user is allowed to create vertical splits.

[Visual Basic]

Public Property AllowVerticalSplit As Boolean

[C#]

public bool AllowVerticalSplit {get;set;}

[Delphi]

public property AllowVerticalSplit: Boolean read get_AllowVerticalSplit write set_AllowVerticalSplit;

Remarks

If True, then the user is able to create multiple vertical splits in the grid.

If False, then the user is restricted from creating vertical splits.

Example

The following code uses the AllowVerticalSplit property to allow the user to create new splits at run time:

·      Visual Basic

       Me.C1TrueDBGrid1.AllowVerticalSplit = True

·      C#

       this.c1TrueDBGrid1.AllowVerticalSplit = true;

·      Delphi

       Self.C1TrueDBGrid1.AllowVerticalSplit := True;

For an example demonstrating the AllowVerticalSplit 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.