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

Holds color, gradient, border, and font values associated with a chart element through the RadProperty system.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

C#
public class ChartStyle : RadObject, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor

Inheritance: objectDisposableObjectRadObjectChartStyle

Implements: ICustomTypeDescriptorIDisposableINotifyPropertyChanged

Inherited Members RadObject.BindingContextPropertyRadObject.RadTypeRadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadObject.DisposeManagedResources()RadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.GetValue(RadProperty)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.SetValueCore(RadPropertyValue, object, object, ValueSource)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.AddStylePropertySetting(IPropertySetting)RadObject.GetInheritedValue(RadProperty)RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.IsPropertyCancelable(RadPropertyMetadata)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.PerformDispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing...

Constructors

Initializes a new instance of the ChartStyle class.

C#
public ChartStyle(UIChartElement element)
Parameters:elementUIChartElement

The element.

Fields

Identifies the BackColor2 property in the RadProperty system.

C#
public static RadProperty BackColor2Property

Identifies the BackColor3 property in the RadProperty system.

C#
public static RadProperty BackColor3Property

Identifies the BackColor4 property in the RadProperty system.

C#
public static RadProperty BackColor4Property

Identifies the BackColor property in the RadProperty system.

C#
public static RadProperty BackColorProperty

Identifies the BorderBottomColor property in the RadProperty system.

C#
public static RadProperty BorderBottomColorProperty

Identifies the BorderBottomWidth property in the RadProperty system.

C#
public static RadProperty BorderBottomWidthProperty

Identifies the BorderBoxStyle property in the RadProperty system.

C#
public static RadProperty BorderBoxStyleProperty

Identifies the BorderColor2 property in the RadProperty system.

C#
public static RadProperty BorderColor2Property

Identifies the BorderColor3 property in the RadProperty system.

C#
public static RadProperty BorderColor3Property

Identifies the BorderColor4 property in the RadProperty system.

C#
public static RadProperty BorderColor4Property

Identifies the BorderColor property in the RadProperty system.

C#
public static RadProperty BorderColorProperty

Identifies the BorderGradientAngle property in the RadProperty system.

C#
public static RadProperty BorderGradientAngleProperty

Identifies the BorderGradientStyle property in the RadProperty system.

C#
public static RadProperty BorderGradientStyleProperty

Identifies the BorderInnerColor2 property in the RadProperty system.

C#
public static RadProperty BorderInnerColor2Property

Identifies the BorderInnerColor3 property in the RadProperty system.

C#
public static RadProperty BorderInnerColor3Property

Identifies the BorderInnerColor4 property in the RadProperty system.

C#
public static RadProperty BorderInnerColor4Property

Identifies the BorderInnerColor property in the RadProperty system.

C#
public static RadProperty BorderInnerColorProperty

Identifies the BorderLeftColor property in the RadProperty system.

C#
public static RadProperty BorderLeftColorProperty

Identifies the BorderLeftWidth property in the RadProperty system.

C#
public static RadProperty BorderLeftWidthProperty

Identifies the BorderRightColor property in the RadProperty system.

C#
public static RadProperty BorderRightColorProperty

Identifies the BorderRightWidth property in the RadProperty system.

C#
public static RadProperty BorderRightWidthProperty

Identifies the BorderTopColor property in the RadProperty system.

C#
public static RadProperty BorderTopColorProperty

Identifies the BorderTopWidth property in the RadProperty system.

C#
public static RadProperty BorderTopWidthProperty

Identifies the BorderWidth property in the RadProperty system.

C#
public static RadProperty BorderWidthProperty

Identifies the Font property in the RadProperty system.

C#
public static RadProperty FontProperty

Identifies the ForeColor property in the RadProperty system.

C#
public static RadProperty ForeColorProperty

Identifies the GradientAngle property in the RadProperty system.

C#
public static RadProperty GradientAngleProperty

Identifies the GradientPercentage2 property in the RadProperty system.

C#
public static RadProperty GradientPercentage2Property

Identifies the GradientPercentage property in the RadProperty system.

C#
public static RadProperty GradientPercentageProperty

Identifies the GradientStyle property in the RadProperty system.

C#
public static RadProperty GradientStyleProperty

Identifies the NumberOfColors property in the RadProperty system.

C#
public static RadProperty NumberOfColorsProperty

Properties

Gets or sets the back color.

C#
public Color BackColor { get; set; }
Property Value:

The color of the back.

Gets or sets the back color2.

C#
public Color BackColor2 { get; set; }
Property Value:

The back color2.

Gets or sets the back color3.

C#
public Color BackColor3 { get; set; }
Property Value:

The back color3.

Gets or sets the back color4.

C#
public Color BackColor4 { get; set; }
Property Value:

The back color4.

Gets or sets the color of the border bottom.

C#
public Color BorderBottomColor { get; set; }
Property Value:

The color of the border bottom.

Gets or sets the width of the border bottom.

C#
public float BorderBottomWidth { get; set; }
Property Value:

The width of the border bottom.

Gets or sets the border box style.

C#
public BorderBoxStyle BorderBoxStyle { get; set; }
Property Value:

The border box style.

Gets or sets the color of the border.

C#
public Color BorderColor { get; set; }
Property Value:

The color of the border.

Gets or sets the border color2.

C#
public Color BorderColor2 { get; set; }
Property Value:

The border color2.

Gets or sets the border color3.

C#
public Color BorderColor3 { get; set; }
Property Value:

The border color3.

Gets or sets the border color4.

C#
public Color BorderColor4 { get; set; }
Property Value:

The border color4.

Gets or sets the border gradient angle.

C#
public float BorderGradientAngle { get; set; }
Property Value:

The border gradient angle.

Gets or sets the border gradient style.

C#
public GradientStyles BorderGradientStyle { get; set; }
Property Value:

The border gradient style.

Gets or sets the first color used for the inner border.

C#
public Color BorderInnerColor { get; set; }

Gets or sets the border inner color2.

C#
public Color BorderInnerColor2 { get; set; }
Property Value:

The border inner color2.

Gets or sets the border inner color3.

C#
public Color BorderInnerColor3 { get; set; }
Property Value:

The border inner color3.

Gets or sets the border inner color4.

C#
public Color BorderInnerColor4 { get; set; }
Property Value:

The border inner color4.

Gets or sets the color of the border left.

C#
public Color BorderLeftColor { get; set; }
Property Value:

The color of the border left.

Gets or sets the width of the border left.

C#
public float BorderLeftWidth { get; set; }
Property Value:

The width of the border left.

Gets or sets the color of the border right.

C#
public Color BorderRightColor { get; set; }
Property Value:

The color of the border right.

Gets or sets the width of the border right.

C#
public float BorderRightWidth { get; set; }
Property Value:

The width of the border right.

Gets or sets the color of the border top.

C#
public Color BorderTopColor { get; set; }
Property Value:

The color of the border top.

Gets or sets the width of the border top.

C#
public float BorderTopWidth { get; set; }
Property Value:

The width of the border top.

Gets or sets the width of the border.

C#
public float BorderWidth { get; set; }
Property Value:

The width of the border.

Gets or sets the font.

C#
public Font Font { get; set; }
Property Value:

The font.

Gets or sets the fore color.

C#
public Color ForeColor { get; set; }
Property Value:

The color of the fore.

Gets or sets the gradient angle.

C#
public float GradientAngle { get; set; }
Property Value:

The gradient angle.

Gets or sets the gradient percentage.

C#
public float GradientPercentage { get; set; }
Property Value:

The gradient percentage.

Gets or sets the gradient percentage2.

C#
public float GradientPercentage2 { get; set; }
Property Value:

The gradient percentage2.

Gets or sets the gradient style.

C#
public GradientStyles GradientStyle { get; set; }
Property Value:

The gradient style.

Gets or sets the number of colors.

C#
public int NumberOfColors { get; set; }
Property Value:

The number of colors.

Methods

Invalidates the associated chart element after a style property changes.

C#
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters:eRadPropertyChangedEventArgs

The changed property and its change notification.

Overrides: RadObject.OnPropertyChanged(RadPropertyChangedEventArgs)