Renders the item's header text at the specified location.
Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling
C# Copy Code |
---|
public bool DrawHeaderText ( |
Visual Basic Copy Code |
---|
Public Function DrawHeaderText( _ |
A reference to the destination rectangle. This rectangle might be changed in the process of rendering.
Specifies whether to take into consideration validation properties, such as EnableDefaultRendering. Specify false for this property to perform unconditional rendering.
Specifies whether to rotate the text at 90 degree.
true if the text has been rendered; otherwise, false.
This method renders the HeaderText of the underlying item using the settings from the underlying style, such as HeaderTextColor, HeaderTextAlignment, and so on. Since the style is based on the current theme, the rendered text is guaranteed to be theme independent, that is, the color and font of the text, unless overriden, are the same as those specified in the current theme. If the theme is changed, the font and color are updated accordingly.