Class BannerViewStyle
Represents a class that contains the properties for customizing the styles of the BannerView.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.AIAssistView.Styles
Assembly: Syncfusion.SfAIAssistView.WinForms.dll
Syntax
public class BannerViewStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
BannerViewStyle()
Initializes a new instance of the BannerViewStyle class.
Declaration
public BannerViewStyle()
BannerViewStyle(StyleInfoSubObjectIdentity)
Initializes a new instance of the BannerViewStyle class.
Declaration
public BannerViewStyle(StyleInfoSubObjectIdentity identity)
Parameters
| Type | Name | Description |
|---|---|---|
| StyleInfoSubObjectIdentity | identity |
BannerViewStyle(StyleInfoSubObjectIdentity, BannerViewStyleInfoStore)
Initializes a new instance of the BannerViewStyle class with identity and store.
Declaration
public BannerViewStyle(StyleInfoSubObjectIdentity identity, BannerViewStyleInfoStore store)
Parameters
| Type | Name | Description |
|---|---|---|
| StyleInfoSubObjectIdentity | identity | The style info identity. |
| BannerViewStyleInfoStore | store | The style info store. |
BannerViewStyle(BannerViewStyle)
Initializes a new instance of the BannerViewStyle class.
Declaration
public BannerViewStyle(BannerViewStyle style)
Parameters
| Type | Name | Description |
|---|---|---|
| BannerViewStyle | style | The BannerViewStyle that need to be initialized. |
BannerViewStyle(BannerViewStyleInfoStore)
Initializes a new instance of the BannerViewStyle class with the specified store.
Declaration
public BannerViewStyle(BannerViewStyleInfoStore store)
Parameters
| Type | Name | Description |
|---|---|---|
| BannerViewStyleInfoStore | store | The style info store. |
Properties
BackColor
Gets or sets the background color of the BannerView.
Declaration
public Color BackColor { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Color |
BorderColor
Gets or sets the border color of the BannerView.
Declaration
public Color BorderColor { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Color |
Default
Gets the default style of the BannerViewStyle.
Declaration
public static BannerViewStyle Default { get; }
Property Value
| Type |
|---|
| BannerViewStyle |
ForeColor
Gets or sets the foreground color of the BannerView.
Declaration
public Color ForeColor { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Color |
Methods
GetDefaultStyle()
Override this method to return a default style object for your derived class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
| Type | Description |
|---|---|
| StyleInfoBase | A default style object. |