Class ChartBordersInfo
Provides a StyleInfoSubObjectBase object for borders in a symbol. The inner / outer border of the symbol can be configured individually with a ChartBorder value. Borders that have not been initialized will inherit default values from a base style.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public class ChartBordersInfo : ChartSubStyleInfoBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
ChartBordersInfo()
Initializes a new instance of the ChartBordersInfo class.
Declaration
public ChartBordersInfo()
ChartBordersInfo(StyleInfoSubObjectIdentity)
Initalizes a new ChartBordersInfo instance and associates it with an existing StyleInfoSubObjectIdentity.
Declaration
public ChartBordersInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this ChartBordersInfo. |
ChartBordersInfo(StyleInfoSubObjectIdentity, ChartBordersInfoStore)
Initalizes a new ChartBordersInfo object and associates it with an existing StyleInfoSubObjectIdentity.
Declaration
public ChartBordersInfo(StyleInfoSubObjectIdentity identity, ChartBordersInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A StyleInfoSubObjectIdentity that holds the identity for this ChartBordersInfo. A ChartBordersInfoStore that holds data for this ChartBordersInfo. All changes made in this style object will be saved in the ChartBordersInfoStore object. |
ChartBordersInfoStore | store |
Properties
All
Sets the inner and outer border with one command.
Declaration
public ChartBorder All { set; }
Property Value
Type | Description |
---|---|
ChartBorder | All. |
Default
Returns a default ChartBordersInfo to be used with a default style.
Declaration
public static ChartBordersInfo Default { get; }
Property Value
Type |
---|
ChartBordersInfo |
Remarks
The Default of the ChartStyleInfo class will return the default border info that this method generates through it's overridden version of Syncfusion.Windows.Forms.Chart.ChartBordersInfo.GetDefaultStyle.
HasInner
Indicates whether the inner border has been initialized.
Declaration
public bool HasInner { get; }
Property Value
Type |
---|
System.Boolean |
Inner
Gets or sets the inner border.
Declaration
public ChartBorder Inner { get; set; }
Property Value
Type | Description |
---|---|
ChartBorder | The inner. |
Outer
Gets or sets the outer border.
Declaration
public ChartBorder Outer { get; set; }
Property Value
Type |
---|
ChartBorder |
Methods
Dispose()
Method to dispose ChartBordersInfo object
Declaration
public void Dispose()
Finalize()
Declaration
protected void Finalize()
MakeCopy(StyleInfoBase, StyleInfoProperty)
Declaration
public override IStyleInfoSubObject MakeCopy(StyleInfoBase newOwner, StyleInfoProperty sip)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoBase | newOwner | |
StyleInfoProperty | sip |
Returns
Type |
---|
IStyleInfoSubObject |
Overrides
ResetAll()
Resets the inner and outer border with one command.
Declaration
public void ResetAll()
ResetInner()
Resets the inner border.
Declaration
public void ResetInner()
ResetOuter()
Resets the outer border.
Declaration
public void ResetOuter()