Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / Style Class / Protection Property


In This Topic
    Protection Property (Style)
    In This Topic
    Gets or sets the Protection associated with the Style.
    Syntax
    'Declaration
     
    
    Public Property Protection As Protection
    'Usage
     
    
    Dim instance As Style
    Dim value As Protection
     
    instance.Protection = value
     
    value = instance.Protection
    public Protection Protection {get; set;}
    Remarks

    The default value is null.

    Note that the associated Worksheet needs to be protected in order for this property to take effect.

    Also note that it is possible to protect a Worksheet with a call to the Worksheet.Protect() method.

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also