New to Telerik UI for WinForms? Start a free 30-day trial

Chart skin

Definition

Namespace:Telerik.Charting.Styles

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

C#
public class ChartSkin

Inheritance: objectChartSkin

Constructors

Create new instance of ChartSkin class.

C#
public ChartSkin()

Create new instance of ChartSkin class with specified name.

C#
public ChartSkin(string name)
Parameters:namestring

Name of skin.

Create new instance of ChartSkin class.

C#
public ChartSkin(XmlDocument source)
Parameters:sourceXmlDocument

XML document that contains skin properties.

Properties

Gets and sets skin name.

C#
public string Name { get; set; }
Property Value:

Name of skin

Gets and sets XML document that contains skin properties.

C#
public XmlDocument XmlSource { get; set; }

Methods

Applies skin to given chart

C#
public void ApplyTo(Chart chart)
Parameters:chartChart

Chart to apply skin

Grabs skin from given chart

C#
public void CreateFromChart(Chart chart, string name)
Parameters:chartChart

Chart to get skin

namestring

Skin name