ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

Split.AllowHorizontalSizing Property

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

[Visual Basic]

Public Property AllowHorizontalSizing As Boolean

[C#]

public bool AllowHorizontalSizing {get;set;}

[Delphi]

public property AllowHorizontalSizing: Boolean read get_AllowHorizontalSizing write set_AllowHorizontalSizing;

Remarks

If True, then the user is able to resize horizontal splits at run time.

If False, then the user is prevented from resizing horizontal splits at run time.

Example

The following code restricts the resizing of horizontal splits:

·      Visual Basic

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

·      C#

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

·      Delphi

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

See Also

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


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