Class MapsVisualStyle
Represents the class to define the style for Maps control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Maps
Assembly: Syncfusion.Maps.Windows.dll
Syntax
public class MapsVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
MapsVisualStyle()
Initializes a new instance of the MapsVisualStyle class.
Declaration
public MapsVisualStyle()
MapsVisualStyle(MapsStyleInfoIdentity)
Initializes a new instance of the MapsVisualStyle class.
Declaration
public MapsVisualStyle(MapsStyleInfoIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
MapsStyleInfoIdentity | identity | A MapsStyleInfoIdentity that holds the identity for this MapsStyleInfoStore. |
MapsVisualStyle(MapsStyleInfoIdentity, MapsStyleInfoStore)
Initializes a new instance of the MapsVisualStyle class.
Declaration
public MapsVisualStyle(MapsStyleInfoIdentity identity, MapsStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
MapsStyleInfoIdentity | identity | A MapsStyleInfoIdentity that holds the identity for this MapsStyleInfoStore. |
MapsStyleInfoStore | store | Holds instance of a MapsStyleInfoStore class |
MapsVisualStyle(MapsStyleInfoStore)
Initializes a new instance of the MapsVisualStyle class.
Declaration
public MapsVisualStyle(MapsStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
MapsStyleInfoStore | store | Holds instance of a MapsStyleInfoStore class. |
Properties
BubbleColor
Gets or sets the bubble color of the Maps control.
Declaration
public Color BubbleColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to fill the bubble of the Maps. |
Remarks
This color has filled to bubble of the Maps only when set the Syncfusion.Windows.Forms.Maps.Bubble.Fill property.
BubbleStyle
Gets or sets the bubble style.
Declaration
public BubbleStyleInfo BubbleStyle { get; set; }
Property Value
Type |
---|
BubbleStyleInfo |
DatalabelColor
Gets or sets the data label of the Maps control.
Declaration
public Brush DatalabelColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Brush | The System.Drawing.Brush value is used to fill the data label of the Maps. |
DefaultStyle
Gets the default style value for the Maps control.
Declaration
public static MapsVisualStyle DefaultStyle { get; }
Property Value
Type |
---|
MapsVisualStyle |
Font
Gets or sets the System.Drawing.Font value of the Maps control.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
MapBackgroundColor
Gets or sets the background color of the Maps control.
Declaration
public Brush MapBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Brush | The System.Drawing.Brush value is used to fill the background of the Maps. |
Remarks
This color has filled to background of the Maps only when set the MapBackgroundBrush property.
SelectedShapeFillColor
Gets or sets the selected shape fill color of the Maps control.
Declaration
public Color SelectedShapeFillColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to fill the selected shape of the Maps. |
Remarks
This color has filled to selected shape of the Maps only when set the
ShapeFillColor
Gets or sets the shape color of the Maps control.
Declaration
public Brush ShapeFillColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Brush | The System.Drawing.Brush value is used to fill the shape of the Maps. |
ShapeStrokeColor
Gets or sets the shape stroke color of the Maps control.
Declaration
public Color ShapeStrokeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color | The System.Drawing.Color value is used to fill the shape stroke of the Maps. |
ShapeStrokeThickness
Declaration
public int ShapeStrokeThickness { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Overridden to create a product-specific identity object for the sub object.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoProperty | sip | StyleInfoProperty descriptor for this sub object. |
Returns
Type | Description |
---|---|
StyleInfoSubObjectIdentity | Identity for the sub object. |
Overrides
GetDefaultStyle()
Gets the default style value of the MapsVisualStyle class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | Returns the default style value. |