SplitString Class
Represents a string which consists of two parts split by a separator.
Namespace: DevExpress.ExpressApp.Utils
Assembly: DevExpress.ExpressApp.v24.1.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Remarks
This SplitString class represents a string calculated from two substrings divided by a separator. The SplitString exposes properties to modify each part separately, or the whole string at once.
The string represented by the SplitString class is exposed via the SplitString.Text property. Its value is calculated by concatenating the values of the SplitString.FirstPart, SplitString.Separator and SplitString.SecondPart string properties. However, if one of the parts is empty or undefined, the Separator is omitted. You can also manually assign a custom value to the Text property. In this instance, the values of the FirstPart, Separator and SecondPart properties are ignored.
For an example of using SplitString, refer to the How to: Customize a Window Caption topic.
Note
XAF uses instances of the SplitString class to represent Window captions. For additional information, see the WindowTemplateController class description.