Back to Devexpress

CalculateDocumentVariableEventArgs.FieldLocked Property

officefileapi-devexpress-dot-xtrarichedit-dot-calculatedocumentvariableeventargs-49f77dcc.md

latest2.4 KB
Original Source

CalculateDocumentVariableEventArgs.FieldLocked Property

Gets or sets a locked attribute to the field for which the event occurs.

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public bool FieldLocked { get; set; }
vb
Public Property FieldLocked As Boolean

Property Value

TypeDescription
Boolean

True , if the Field.Locked property of the field that triggers an event, is true ; otherwise, false.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FieldLocked property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

word-document-api-insert-dynamic-content/CS/Program.cs#L35

csharp
e.Handled = true;
    e.FieldLocked = true;
}

word-document-api-insert-dynamic-content/VB/Module1.vb#L29

vb
End If
    e.FieldLocked = True
End If

See Also

CalculateDocumentVariableEventArgs Class

CalculateDocumentVariableEventArgs Members

DevExpress.XtraRichEdit Namespace