Class SfCarouselVisualStyle
Represents the class to define the style of Carousel control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class SfCarouselVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
SfCarouselVisualStyle()
Initializes a new instance of the SfCarouselVisualStyle class.
Declaration
public SfCarouselVisualStyle()
SfCarouselVisualStyle(SfCarouselStyleInfoIdentity)
Initializes a new instance of the SfCarouselVisualStyle class.
Declaration
public SfCarouselVisualStyle(SfCarouselStyleInfoIdentity identity)
Parameters
| Type | Name | Description |
|---|---|---|
| SfCarouselStyleInfoIdentity | identity | A SfCarouselStyleInfoIdentity that holds the identity for this SfCarouselStyleInfoStore. |
SfCarouselVisualStyle(SfCarouselStyleInfoIdentity, StyleInfoStore)
Initializes a new instance of the SfCarouselVisualStyle class.
Declaration
public SfCarouselVisualStyle(SfCarouselStyleInfoIdentity identity, StyleInfoStore store)
Parameters
| Type | Name | Description |
|---|---|---|
| SfCarouselStyleInfoIdentity | identity | A SfCarouselStyleInfoIdentity that holds the identity for this SfCarouselStyleInfoStore. |
| StyleInfoStore | store | The store. |
Properties
BackColor
Gets or sets the back color of Carousel
Declaration
[ThemeStudio]
public Color BackColor { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Color |
DefaultStyle
Gets the default CarouselStyleInfo value.
Declaration
public static SfCarouselVisualStyle DefaultStyle { get; }
Property Value
| Type |
|---|
| SfCarouselVisualStyle |
Font
Gets or sets the font used to draw the text value in Carousel
Declaration
[ThemeStudio]
public Font Font { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Font |
ForeColor
Gets or sets the foreground color of text in Carousel
Declaration
[ThemeStudio]
public Color ForeColor { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Color |
HoverImageBorderColor
Gets or sets the color used to highlight the image in Carousel
Declaration
[ThemeStudio]
public Color HoverImageBorderColor { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Color |
HoverImageBorderThickness
Gets or sets the thickness of the ImageHighlighter in Carousel
Declaration
[ThemeStudio]
public int HoverImageBorderThickness { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
ImageShadeColor
Gets or sets the color used to shade the images in view of Carousel
Declaration
[ThemeStudio]
public Color ImageShadeColor { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Color |
Methods
GetDefaultStyle()
Gets the default style value of the SfCarouselVisualStyle class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
| Type | Description |
|---|---|
| StyleInfoBase | Returns the default style value. |