Class BannerTextInfo
Describes banner text appearance and behavior.
Inheritance
System.Object
BannerTextInfo
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|
BannerTextInfo |
Properties
Color
Specifies banner text color.
Declaration
public Color Color { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Font
Specifies font of banner text.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
Mode
Specifies banner text rendering mode. See BannerTextMode for details.
Declaration
public BannerTextMode Mode { get; set; }
Property Value
Type |
---|
BannerTextMode |
Text
Specifies banner text.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
TextAlignment
Gets or sets the value to indicate the Text alignment for BannerTextInfo.
Declaration
public StringAlignment TextAlignment { get; set; }
Property Value
Type |
---|
System.Drawing.StringAlignment |
Visible
Declaration
public bool Visible { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type |
---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
---|
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 |
---|
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 |
---|
System.Boolean |
Inequality(BannerTextInfo, BannerTextInfo)
Declaration
public static bool operator !=(BannerTextInfo lVal, BannerTextInfo rVal)
Parameters
Type | Name | Description |
---|---|---|
BannerTextInfo | lVal | |
BannerTextInfo | rVal |
Returns
Type |
---|
System.Boolean |