ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

BeforeColEditEventArgs.Cancel Property

Gets or sets a value indicating that editing should be disallowed.

[Visual Basic]

Public Property Cancel As Boolean

[C#]

public bool Cancel {get;set;}

[Delphi]

public property Cancel: Boolean read get_Cancel write set_Cancel;

Remarks

If event procedure sets the Cancel property to True, the cell will not enter edit mode. Otherwise, the C1TrueDBGrid.ColEdit event is raised immediately, followed by the C1TrueDBGrid.Change event for the KeyChar property, if non-zero.

See Also

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


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