AboutInfo.AboutInfoString Property
Specifies summary information on the current application that is intended to be shown in the “About” informational block.
Namespace: DevExpress.ExpressApp.SystemModule
Assembly: DevExpress.ExpressApp.v25.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Property Value
| Type | Description |
|---|---|
| String | A string that is summary information on the current application. |
Remarks
You can set AboutInfoString property to any string. This string accepts the following format items: {0:ProductName}, {0:Version}, {0:Copyright}, {0:Company}, and {0:Description}. XAF replaces them with the corresponding property values of the AboutInfo object. HTML tags are also supported (see How to: Apply HTML Formatting to Windows Forms XAF UI Elements).
The AboutInfoController sets this property to the value of the Application node’s AboutInfoString property, before showing the “About” informational block in a UI. By default, the following value is set in the Application Model: {0:ProductName}<br>{0:Version}<br><br>{0:Copyright}<br><br>{0:Company}<br><br>{0:Description}.
You can customize the AboutInfoString property value in any of the following ways:
- Assign the required value to the
AboutInfoStringproperty of the Application node. - If the
AboutInfoStringproperty’s default value is appropriate, but its format item values are invalid, set theProductName,Version,Copyright,CompanyandDescriptionproperties of the Application node to the required values. Set the required values for the properties of the
AboutInfoobject in code:using System; using DevExpress.ExpressApp; using DevExpress.ExpressApp.SystemModule; //... public class MyController : WindowController { protected override void OnActivated() { base.OnActivated(); AboutInfo.Instance.ProductName = "New Product"; } }The values that are set in code override the default values from the Application Model.