Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / NoteProtection Class / LockText Property


In This Topic
    LockText Property
    In This Topic
    Gets or sets if the Note and the text it contains are locked.
    Syntax
    'Declaration
     
    
    Public Property LockText As Boolean
    'Usage
     
    
    Dim instance As NoteProtection
    Dim value As Boolean
     
    instance.LockText = value
     
    value = instance.LockText
    public bool LockText {get; set;}
    Remarks

    The default value is true.

    When the Worksheet that contains the Note is protected and this property is set to false, it is possible to modify both the Note and the text it contains.

    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