Skip to main content
.NET 6.0+

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.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public string AboutInfoString { get; set; }

Property Value

Type Description
String

A string that is summary information on the current application.

Remarks

The AboutInfoString property can be set to any string. This string accepts the following format items: {0:ProductName}, {0:Version}, {0:Copyright}, {0:Company} and {0:Description}. They will be replaced 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 and AboutInfoControl set 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 AboutInfoString property of the Application node.
  • If the AboutInfoString property’s default value is appropriate, but its format item values are invalid, set the ProductName, Version, Copyright, Company and Description properties of the Application node to the required values.
  • Set the required values for the properties of the AboutInfo object 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";
        }
    }
    

    Note, that the values that are set in code override the default values from the Application Model.

See Also