The requested page is not available for the requested platform. You are viewing the content for Default platform.

CaptionHelper.ConvertCompoundName(String, CompoundNameConvertStyle) Method

Converts a compound name according to the specified CompoundNameConvertStyle mode.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v19.1.dll


public static string ConvertCompoundName(
    string name,
    CompoundNameConvertStyle style
Public Shared Function ConvertCompoundName(
    name As String,
    style As CompoundNameConvertStyle
) As String


Name Type Description
name String

A string representing the compound name that will be converted.

style CompoundNameConvertStyle

A CompoundNameConvertStyle enumeration value specifying how the compound name will be processed.


Type Description

A string representing the processed compound name.


Compound names consist from several capitalized words joined together. Examples of such names are BusinessClass, RestoreDefaultSettings, MyApplicationModule and so on. The ConvertCompoundName method is used to split these names into several words, according to the specified CompoundNameConvertStyle mode.

The ConvertCompoundName method raises the CaptionHelper.CustomizeConvertCompoundName event, which allows you to manually process a compound name that's being converted.

See Also