Skip to main content

DashboardControl.TitleAlignment Property

Gets or sets the horizontal alignment of the dashboard title content, excluding command buttons. This is a dependency property.

Namespace: DevExpress.DashboardWpf

Assembly: DevExpress.Dashboard.v24.1.Wpf.dll

NuGet Package: DevExpress.Wpf.Dashboard

Declaration

public HorizontalAlignment? TitleAlignment { get; set; }

Property Value

Type Description
Nullable<HorizontalAlignment>

The HorizontalAlignment enumeration member that specifies horizontal alignment.

Remarks

Properties used to customize the dashboard title are listed in the foillowing table:

Property Description
TitleAlignment Gets or sets the horizontal alignment of the dashboard title content, excluding command buttons. This is a dependency property.
TitleContent Gets or sets the title text. This is a dependency property.
TitleContentTemplate Allows you to specify a template to display in the dashboard title (command buttons are not affected).
TitleContentTemplateSelector Gets or sets an object that returns a template based on custom logic. This is a dependency property.
TitleVisibility Gets or sets whether the dashboard title is displayed.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TitleAlignment 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