ToolTipsFactory

Object Model - Enumerations - StringAlignmentOverride


Specifies the alignment of a text string relative to its layout rectangle

[Visual Basic]
Public Enum StringAlignmentOverride
[C#]
public enum StringAlignmentOverride

Description

This enumeration is identical to the StringAlignment-enumeration, except that it provides one more member: The value "OverrideOff" is used to reset an already set override-value for a property. This option is usually offered by the dropdown-lists in the property-grid for the Override-object exposed by the extended properties (please see "Provided properties" and "Layout Override-Designer" for more details).

Setting Override.Alignment=StringAlignmentOverride.OverrideOff (where applicable) tells the tooltip component to use the default StringAlignment defined at the component-level, and to not change it for the specific control, while any other value would cause the component to render the tooltip for the specific control with the StringAlignment assigned to Override.Alignment.