Renders the underlying item's contents text at the specified location.
Namespace: MindFusion.Scheduling.WinForms
Assembly: MindFusion.Scheduling
C# Copy Code |
---|
public bool DrawContentsText ( |
Visual Basic Copy Code |
---|
Public Function DrawContentsText( _ |
true if the text has been rendered; otherwise, false.
This method renders the DescriptionText of the underlying item using the settings from the underlying style, such as TextColor, TextAlignment, 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.