Spread WPF 16
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / Protect Property
Example


In This Topic
    Protect Property (Worksheet)
    In This Topic
    Gets or sets whether cells on this sheet that are marked as protected are uneditable.
    Syntax
    'Declaration
     
    <DefaultValueAttribute(False)>
    Public Property Protect As Boolean
    'Usage
     
    Dim instance As Worksheet
    Dim value As Boolean
     
    instance.Protect = value
     
    value = instance.Protect
    [DefaultValue(false)]
    public bool Protect {get; set;}
    Example
    This example only allows certain cells to be edited.
    See Also