Object Model - Enumerations - TextDrawingStyleOverride

Specifies the different styles available to render text in the ToolTipsFactory tooltips.

[Visual Basic]
Public Enum TextDrawingStyleOverride
public enum TextDrawingStyleOverride


This enumeration is identical to the TextDrawingStyle-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.FontLayoutOverride.TextStyle=TextDrawingStyleOverride.OverrideOff (where applicable) tells the tooltip component to use the default TextDrawingStyle 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-text for the specific control with the at the TextDrawingStyle assigned to Override.FontLayoutOverride.TextStyle.