Class SuperToolTip
Inheritance
System.Object
SuperToolTip
Implements
System.IDisposable
System.ComponentModel.IExtenderProvider
System.Windows.Forms.IMessageFilter
Assembly: Syncfusion.Tools.Windows.dll
public class SuperToolTip : BaseComponent, IThemeProvider, IVisualStyle, IDisposable, IExtenderProvider, INativeMessageFilter, IMessageFilter
Constructors
Declaration
Declaration
public SuperToolTip(Control owner)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Control |
owner |
|
Properties
Declaration
public bool Active { get; }
Property Value
Declaration
public bool GradientBackGround { get; set; }
Property Value
Declaration
public int InitialDelay { get; set; }
Property Value
Gets or sets the maximum width of SuperToolTip.
Declaration
public int MaxWidth { get; set; }
Property Value
Gets or sets the theme color of the ButtonAdv
Declaration
public Color MetroColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Declaration
public RightToLeft RightToLeft { get; set; }
Property Value
Type |
System.Windows.Forms.RightToLeft |
Declaration
public bool ShowAlways { get; set; }
Property Value
Gets or sets the value indicating whether to show or hide the SuperToolTip.
Declaration
public bool ShowToolTip { get; set; }
Property Value
Declaration
public SuperToolTip.SuperToolTipStyle Style { get; set; }
Property Value
Declaration
public SuperToolTipVisualStyle ThemeStyle { get; set; }
Property Value
Gets or Sets, the duration of the ToolTip (in sec) when mouse hovers over a control.
Declaration
public int ToolTipDuration { get; set; }
Property Value
Declaration
public SuperToolTip.FadingType UseFading { get; set; }
Property Value
Gets or sets an advanced appearance for the SuperTooltip.
Declaration
public SuperToolTip.Appearance VisualStyle { get; set; }
Property Value
Methods
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Helps to apply the ControlName settings in control
Declaration
public override string GetControlName(string controlName)
Parameters
Type |
Name |
Description |
System.String |
controlName |
|
Returns
Overrides
Gets the tooltip from the MenuButton on RibbonControlAdv
Declaration
public ToolTipInfo GetMenuButtonToolTip(RibbonControlAdv ribbon)
Parameters
Type |
Name |
Description |
RibbonControlAdv |
ribbon |
The RibbonConrolAdv with MenuButton from which the tooltip should be get.
|
Returns
Gets SuperToolTip associated with a component.
Declaration
public ToolTipInfo GetToolTip(Component component)
Parameters
Type |
Name |
Description |
System.ComponentModel.Component |
component |
|
Returns
Declaration
Hides the tooltip using component.
Declaration
public void Hide(Component component)
Parameters
Type |
Name |
Description |
System.ComponentModel.Component |
component |
|
Helps to apply the ThemeName settings in control
Declaration
public override void OnThemeNameChanged(string themeName)
Parameters
Type |
Name |
Description |
System.String |
themeName |
ThemeName
|
Overrides
Assigns the tooltip to a MenuButton instance on RibbonControlAdv.
Declaration
public void SetMenuButtonToolTip(RibbonControlAdv ribbon, ToolTipInfo value)
Parameters
Type |
Name |
Description |
RibbonControlAdv |
ribbon |
The RibbonConrolAdv with MenuButton to which the tooltip should be assigned.
|
ToolTipInfo |
value |
The toolTipInfo created.
|
Sets SuperToolTip associated with a component.
Declaration
public void SetToolTip(Component component, ToolTipInfo value)
Parameters
Type |
Name |
Description |
System.ComponentModel.Component |
component |
The component to which the tooltip should be assigned.
|
ToolTipInfo |
value |
The toolTipInfo created.
|
Shows the tooltip at a specified location.
Declaration
public void Show(ToolTipInfo ttInfo, Point position)
Parameters
Type |
Name |
Description |
ToolTipInfo |
ttInfo |
The ToolTipInfo created.
|
System.Drawing.Point |
position |
The position to be displayed.
|
Shows the tooltip at a specified location for a particular amount of time.
Declaration
public void Show(ToolTipInfo ttInfo, Point position, int displayTime)
Parameters
Type |
Name |
Description |
ToolTipInfo |
ttInfo |
The ToolTipInfo created.
|
System.Drawing.Point |
position |
The position to be displayed.
|
System.Int32 |
displayTime |
Duration (in milliseconds) to display the ToolTip (-1 to display infinitely)
|
Events
Occurs when the tool tip pops up.
Declaration
public event PopupToolTipHandler PopupToolTip
Event Type
Occurs when the tool tip is updated.
Declaration
public event UpdateToolTipHandler UpdateToolTip
Event Type
Explicit Interface Implementations
Declaration
bool INativeMessageFilter.ProcessMessage(ref Message m)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Message |
m |
|
Returns
Implements
System.IDisposable
System.ComponentModel.IExtenderProvider
System.Windows.Forms.IMessageFilter