property G2antt.ToolTipMargin as String
Defines the size of the control's tooltip margins.

TypeDescription
String A string expression that defines the horizontal and vertical margins (separated by comma) of the control's tooltip as one of the following formats:
  • "value", where value is a positive number, that specifies the horizontal and vertical margins, such as "4" equivalent of "4,4"
  • "value,", where value is a positive number, that specifies the horizontal margin, such as "4," equivalent of "4,0"
  • ",value", where value is a positive number, that specifies the vertical margin, such as ",4" equivalent of "0,4"
  • "horizontal,vertical", where horizontal and vertical are positive numbers, that specifies the horizontal and vertical margins, such as "4,4"
By default, the size of the tooltip margin is "4" (horizontal and vertical). For instance, ToolTipMargin = "8" changes the horizontal and vertical margins are set to 8 pixels. ToolTipMargin = "8,4" changes the horizontal margin to 8 pixels and the vertical margin to 4 pixels. The ToolTipWidth property specifies a value that indicates the width of the tooltip window, in pixels. Use the ShowToolTip method to display a custom tooltip. Use the ToolTipFont property to assign a font for the control's tooltip. The ToolTipPopDelay property specifies the period in ms of time the ToolTip remains visible if the mouse pointer is stationary within a control. The ToolTipDelay property specifies the time in ms that passes before the ToolTip appears.