WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ToolTipInfo.ToolTipItem

    Show / Hide Table of Contents

    Class ToolTipInfo.ToolTipItem

    Inheritance
    System.Object
    ToolTipInfo.ToolTipItem
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class ToolTipItem

    Constructors

    ToolTipItem(ToolTipInfo, ToolTipInfo.ToolTipItem)

    Declaration
    public ToolTipItem(ToolTipInfo owner, ToolTipInfo.ToolTipItem template)
    Parameters
    Type Name Description
    ToolTipInfo owner
    ToolTipInfo.ToolTipItem template

    Properties

    CustomLocation

    Gets /Sets the location of the Image.

    Declaration
    public Point CustomLocation { get; set; }
    Property Value
    Type Description
    System.Drawing.Point

    Font

    Gets or Sets the font for the toolTip text.

    Declaration
    public Font Font { get; set; }
    Property Value
    Type Description
    System.Drawing.Font

    ForeColor

    Gets or Sets the forecolor of the SuperTooltip text.

    Declaration
    public Color ForeColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    Hidden

    Gets or Sets whether a ToolTipItem should be hidden.

    Declaration
    public bool Hidden { get; set; }
    Property Value
    Type Description
    System.Boolean

    Image

    Gets or Sets, the image to be shown in the tooltip.

    Declaration
    public Image Image { get; set; }
    Property Value
    Type Description
    System.Drawing.Image

    ImageAlign

    Gets or Sets, the alignment of the image.

    Declaration
    public ContentAlignment ImageAlign { get; set; }
    Property Value
    Type Description
    System.Drawing.ContentAlignment

    ImageScalingSize

    Gets or Sets, the image scaling size.

    Declaration
    public Size ImageScalingSize { get; set; }
    Property Value
    Type Description
    System.Drawing.Size

    ImageTransparentColor

    Gets or Sets, the transparency color for the image.

    Declaration
    public Color ImageTransparentColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    RenderHtml

    Declaration
    public bool RenderHtml { get; set; }
    Property Value
    Type Description
    System.Boolean

    Size

    Declaration
    public Size Size { get; set; }
    Property Value
    Type Description
    System.Drawing.Size

    Text

    Gets or Sets the text to be displayed in the SuperTooltip.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    TextAlign

    Gets or Sets, the alignment of the SuperTooltip text.

    Declaration
    public ContentAlignment TextAlign { get; set; }
    Property Value
    Type Description
    System.Drawing.ContentAlignment

    TextImageRelation

    Gets or sets value specifying the way image and text are situated.

    Declaration
    public ToolTipTextImageRelation TextImageRelation { get; set; }
    Property Value
    Type Description
    ToolTipTextImageRelation

    TextMargin

    Declaration
    public Padding TextMargin { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.Padding

    UseCustomLocation

    Specifies whether to use custom location for Image.

    Declaration
    public bool UseCustomLocation { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Equals(Object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object toolTipItem)
    Parameters
    Type Name Description
    System.Object toolTipItem

    The object to compare with the current object

    Returns
    Type Description
    System.Boolean

    Returns boolean value whether the objects are considered equal

    Overrides
    System.Object.Equals(System.Object)

    GetPreferredSize(Int32, Boolean)

    Declaration
    public Size GetPreferredSize(int nMaxWidth, bool bDesignMode)
    Parameters
    Type Name Description
    System.Int32 nMaxWidth
    System.Boolean bDesignMode
    Returns
    Type Description
    System.Drawing.Size
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved