Class AxisStyle
Represents the class to define the style for smith chart axes.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.WinForms.SmithChart
Assembly: Syncfusion.SfSmithChart.WinForms.dll
Syntax
public class AxisStyle : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
AxisStyle()
Initializes a new instance of the AxisStyle class.
Declaration
public AxisStyle()
AxisStyle(StyleInfoSubObjectIdentity)
Initializes a new instance of the AxisStyle class.
Declaration
public AxisStyle(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity |
AxisStyle(StyleInfoSubObjectIdentity, SmithChartStyleInfoStore)
Initializes a new instance of the AxisStyle class.
Declaration
public AxisStyle(StyleInfoSubObjectIdentity identity, SmithChartStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | |
SmithChartStyleInfoStore | store | A SmithChartStyleInfoStore that holds data for this AxisStyle. All changes in this style object will be saved in the SmithChartStyleInfoStore object. |
AxisStyle(AxisStyle)
Initializes a new instance of the AxisStyle class.
Declaration
public AxisStyle(AxisStyle style)
Parameters
Type | Name | Description |
---|---|---|
AxisStyle | style | The style object that contains the original data. |
AxisStyle(SmithChartStyleInfoStore)
Initializes a new instance of the AxisStyle class.
Declaration
public AxisStyle(SmithChartStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
SmithChartStyleInfoStore | store | A SmithChartStyleInfoStore that holds data for this AxisStyle. All changes in this style object will be saved in the SmithChartStyleInfoStore object. |
Properties
AxisLineColor
Gets or sets the axis line color
Declaration
public Color AxisLineColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
AxisLineDashStyle
Gets or sets a dash style for axes lines.
Declaration
public DashStyle AxisLineDashStyle { get; set; }
Property Value
Type |
---|
System.Drawing.Drawing2D.DashStyle |
AxisLineWidth
Gets or sets a width for chart axes lines.
Declaration
public float AxisLineWidth { get; set; }
Property Value
Type |
---|
System.Single |
Default
Gets the default style value for the ChartAxis.
Declaration
public static AxisStyle Default { get; }
Property Value
Type |
---|
AxisStyle |
ForeColor
Gets or sets the color for axis labels.
Declaration
public Color ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
LabelFont
Gets or sets the font that is to be used for the axis label text.
Declaration
public Font LabelFont { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
MajorGridlinesColor
Gets or sets a color for major gridlines.
Declaration
public Color MajorGridlinesColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
MajorGridlinesDashStyle
Gets or sets a dash style for major gridlines.
Declaration
public DashStyle MajorGridlinesDashStyle { get; set; }
Property Value
Type |
---|
System.Drawing.Drawing2D.DashStyle |
MajorGridlinesWidth
Gets or sets a width for major gridlines.
Declaration
public float MajorGridlinesWidth { get; set; }
Property Value
Type |
---|
System.Single |
MinorGridlinesColor
Gets or sets a color for minor gridlines.
Declaration
public Color MinorGridlinesColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
MinorGridlinesDashStyle
Gets or sets a dash style for minor gridlines.
Declaration
public DashStyle MinorGridlinesDashStyle { get; set; }
Property Value
Type |
---|
System.Drawing.Drawing2D.DashStyle |
MinorGridlinesWidth
Gets or sets a width for minor gridlines.
Declaration
public float MinorGridlinesWidth { get; set; }
Property Value
Type |
---|
System.Single |
Store
Gets the SmithChartStyleInfoStore object that holds all the data for this style object.
Declaration
public SmithChartStyleInfoStore Store { get; }
Property Value
Type |
---|
SmithChartStyleInfoStore |
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()
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. |
Overrides
MakeCopy(StyleInfoBase, StyleInfoProperty)
Makes an exact copy of the current object.
Declaration
public override IStyleInfoSubObject MakeCopy(StyleInfoBase newOwner, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | newOwner | The new owner style object for the copied object. |
StyleInfoProperty | sip | The identifier for this object. |
Returns
Type | Description |
---|---|
IStyleInfoSubObject | A copy of the current object registered with the new owner style object. |