ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

Split.AllowVerticalSizing Property

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

[Visual Basic]

Public Property AllowVerticalSizing As Boolean

[C#]

public bool AllowVerticalSizing {get;set;}

[Delphi]

public property AllowVerticalSizing: Boolean read get_AllowVerticalSizing write set_AllowVerticalSizing;

Remarks

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

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

Example

The following code restricts the resizing of vertical splits:

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(1).AllowVerticalSizing = False

·      C#

       this.c1TrueDBGrid1.Splits[1].AllowVerticalSizing = false;

·      Delphi

       Self.C1TrueDBGrid1.Splits[1].AllowVerticalSizing := False;

See Also

Split Class | Split Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.