officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-documentproperties-3edbba3b.md
Gets or sets the categorization of the document content (e.g. Resume, Letter, Financial Forecast, Proposal, Technical Presentation, and so on).
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
string Category { get; set; }
Property Category As String
| Type | Description |
|---|---|
| String |
A string of text that specifies the category name.
|
This value is intended to facilitate navigation of a large set of documents.
The Category property allows you to specify one of the core document properties, a full set of which is available with the Document.DocumentProperties property. To specify a custom document property, use the Document.CustomProperties property.
End-users can edit the Category value in the Document Properties Dialog.
Use the DOCPROPERTY field to insert the Category value in the document.
Note
The Category property is not supported in ODT and HTML documents.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Category 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.
winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/DocumentProperties.cs#L17
document.DocumentProperties.Title = "Inserting Custom Properties";
document.DocumentProperties.Category = "TestDoc";
document.DocumentProperties.Description = "This code demonstrates API to modify and display standard document properties.";
document.DocumentProperties.Title = "Inserting Custom Properties";
document.DocumentProperties.Category = "TestDoc";
document.DocumentProperties.Description = "This code demonstrates API to modify and display standard document properties.";
word-document-api-examples/CS/CodeExamples/DocumentPropertiesActions.cs#L28
document.DocumentProperties.Title = "Inserting Custom Properties";
document.DocumentProperties.Category = "TestDoc";
document.DocumentProperties.Description = "This code demonstrates API to modify and display standard document properties.";
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/DocumentProperties.vb#L17
document.DocumentProperties.Title = "Inserting Custom Properties"
document.DocumentProperties.Category = "TestDoc"
document.DocumentProperties.Description = "This code demonstrates API to modify and display standard document properties."
document.DocumentProperties.Title = "Inserting Custom Properties"
document.DocumentProperties.Category = "TestDoc"
document.DocumentProperties.Description = "This code demonstrates API to modify and display standard document properties."
word-document-api-examples/VB/CodeExamples/DocumentPropertiesActions.vb#L26
document.DocumentProperties.Title = "Inserting Custom Properties"
document.DocumentProperties.Category = "TestDoc"
document.DocumentProperties.Description = "This code demonstrates API to modify and display standard document properties."
See Also