WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BannerTextInfo - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BannerTextInfo

    Describes banner text appearance and behavior.

    Inheritance
    System.Object
    BannerTextInfo
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class BannerTextInfo

    Constructors

    BannerTextInfo()

    Default constructor.

    Declaration
    public BannerTextInfo()

    BannerTextInfo(BannerTextInfo)

    Copy constructor.

    Declaration
    public BannerTextInfo(BannerTextInfo other)
    Parameters
    Type Name Description
    BannerTextInfo other

    BannerTextInfo(String, Boolean, Font, Color, BannerTextMode)

    Declaration
    public BannerTextInfo(string text, bool bVisible, Font font, Color color, BannerTextMode mode)
    Parameters
    Type Name Description
    System.String text
    System.Boolean bVisible
    System.Drawing.Font font
    System.Drawing.Color color
    BannerTextMode mode

    Fields

    Empty

    Declaration
    public static readonly BannerTextInfo Empty
    Field Value
    Type Description
    BannerTextInfo

    Properties

    Color

    Specifies banner text color.

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

    Font

    Specifies font of banner text.

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

    Mode

    Specifies banner text rendering mode. See BannerTextMode for details.

    Declaration
    public BannerTextMode Mode { get; set; }
    Property Value
    Type Description
    BannerTextMode

    Text

    Specifies banner text.

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

    TextAlignment

    Gets or sets the value to indicate the Text alignment for BannerTextInfo.

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

    Visible

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

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    ResetColor()

    Declaration
    protected void ResetColor()

    ResetTextAlignment()

    Specifies whether to reset TextAlignment property

    Declaration
    protected void ResetTextAlignment()

    ShouldSerializeColor()

    Declaration
    protected bool ShouldSerializeColor()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeTextAlignment()

    Specifies whether to serialize TextAlignment property

    Declaration
    protected bool ShouldSerializeTextAlignment()
    Returns
    Type Description
    System.Boolean

    Returns true when the value is not Near.

    Operators

    Equality(BannerTextInfo, BannerTextInfo)

    Declaration
    public static bool operator ==(BannerTextInfo lVal, BannerTextInfo rVal)
    Parameters
    Type Name Description
    BannerTextInfo lVal
    BannerTextInfo rVal
    Returns
    Type Description
    System.Boolean

    Inequality(BannerTextInfo, BannerTextInfo)

    Declaration
    public static bool operator !=(BannerTextInfo lVal, BannerTextInfo rVal)
    Parameters
    Type Name Description
    BannerTextInfo lVal
    BannerTextInfo rVal
    Returns
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved