Back to Devexpress

CharacterPropertiesBase.AllCaps Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-characterpropertiesbase-8a5d944c.md

latest3.6 KB
Original Source

CharacterPropertiesBase.AllCaps Property

Gets or sets a value indicating whether all characters are capital letters.

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
bool? AllCaps { get; set; }
vb
Property AllCaps As Boolean?

Property Value

TypeDescription
Nullable<Boolean>

true if all characters are capitalized; otherwise, false or null for a mixture of true and false.

|

Remarks

Use the CharacterProperties interface to change character formatting.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AllCaps 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/Table.cs#L110

csharp
// Specify style characteristics.
tStyleMain.AllCaps = true;
tStyleMain.FontName = "Segoe Condensed";

wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/TableActions.cs#L78

csharp
// Specify style characteristics.
tStyleMain.AllCaps = true;
tStyleMain.FontName = "Segoe Condensed";

winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/Table.vb#L98

vb
' Specify style characteristics.
tStyleMain.AllCaps = True
tStyleMain.FontName = "Segoe Condensed"

wpf-richedit-document-api/VB/DXRichEditControlAPISample/CodeExamples/TableActions.vb#L68

vb
' Specify style characteristics.
tStyleMain.AllCaps = True
tStyleMain.FontName = "Segoe Condensed"

See Also

ShowFontFormCommand

CharacterPropertiesBase Interface

CharacterPropertiesBase Members

DevExpress.XtraRichEdit.API.Native Namespace