[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDisplayFormat.Locked

Locked Property

Locked

Gets a value that indicates whether the associated IRange is locked as displayed in the current user interface.

This property returns the displayed protection setting for the associated range.

Declaration
bool Locked { get; }
ReadOnly Property Locked As Boolean
Examples
IRange range = worksheet.Range["A1"];
range.Value = "Test";
range.Locked = true;
bool locked = range.DisplayFormat.Locked;