Back to API Home

Gets or sets a value indicating whether text alignment should be determined automatically.

Namespace: Dundas.Dashboard.Controls
Assembly: Dundas.Dashboard.Client (in Dundas.Dashboard.Client.dll) Version: 5.0.0.0 (5.5.0.1000)

Syntax

C#
public bool IsAutoTextAlignmentEnabled { get; set; }
Visual Basic
Public Property IsAutoTextAlignmentEnabled As Boolean
	Get
	Set

Property Value

Type: Boolean
trueTruetruetrue (True in Visual Basic) if text alignment should be determined automatically; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

This property is ignored if [P:TextDirection] is not Auto. If enabled, this setting will cause the value of the [P:TextAlignment] property to be automatically determined based on the flow direction of the control and that of the text. If the inferred text direction is different from the flow direction of the control, the TextAlignment will be set to Right, so that it will appear nicer in the UI.

See Also