ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1DisplayColumn.Locked Property

Gets or sets a value indicating whether editing is permitted in a column.

[Visual Basic]

Public Property Locked As Boolean

[C#]

public bool Locked {get;set;}

[Delphi]

public property Locked: Boolean read get_Locked write set_Locked;

Remarks

If True, the user cannot modify data in the column or split.

If False (the default), the user can modify data in the column or split.

The value of the Locked property is inherited from the parent style (if any) unless explicitly overridden.

Example

For an example using the Locked property, see Restricting Editing in Specific Columns.

See Also

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


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