CaptionHelper.ConvertCompoundName(String) Method
Converts a compound name so that the words forming the name are separated by white spaces.
Namespace: DevExpress.ExpressApp.Utils
Assembly: DevExpress.ExpressApp.v25.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| name | String | A string representing the compound name that will be converted. |
Returns
| Type | Description |
|---|---|
| String | A string representing the processed compound name. |
Remarks
Compound names consist of several capitalized words glued together. Examples of such names are BusinessClass, RestoreDefaultSettings, MyApplicationModule and so on. This ConvertCompoundName method overload separates the words forming a compound name with white spaces. So, for example, the RestoreDefaultSettings compound name would be converted to Restore Default Settings.
The ConvertCompoundName method raises the CaptionHelper.CustomizeConvertCompoundName event, which allows you to manually process a compound name that’s being converted.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ConvertCompoundName(String) method.
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.