Skip to main content
A newer version of this page is available. .

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

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 using one of the following approaches:

  • 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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AboutInfoString property.

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.

See Also