skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI UI for Xamarin

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility and Security
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class UIChartElement

Inheritance
System.Object
DisposableObject
RadObject
UIChartElement
Axis
ChartAnnotation
ChartArea
ChartGrid
ChartImageElement
ChartSeries
ChartView
LegendItemStyleElement
SelectedPoint
Inherited Members
RadObject.BindingContextProperty
RadObject.RadType
RadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)
RadObject.DisposeManagedResources()
RadObject.ClearPropertyStore()
RadObject.SuspendPropertyNotifications()
RadObject.ResumePropertyNotifications()
RadObject.GetPropertyValue(RadProperty)
RadObject.SetDefaultValueOverride(RadProperty, Object)
RadObject.SetValueAtDesignTime(RadProperty, Object)
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(PropertyDescriptor)
RadObject.ShouldSerializeProperty(RadProperty)
RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)
RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)
RadObject.UnbindProperty(RadProperty)
RadObject.RemoveStylePropertySetting(IPropertySetting)
RadObject.RemoveStylePropertySetting(RadProperty)
RadObject.GetInheritedValue(RadProperty)
RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)
RadObject.OnNotifyPropertyChanged(String)
RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)
RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)
RadObject.IsPropertyCancelable(RadPropertyMetadata)
RadObject.PropertyValues
RadObject.IsDesignMode
RadObject.PropertyFilter
RadObject.RadObjectType
RadObject.BindingContext
RadObject.PropertyChanged
RadObject.RadPropertyChanged
RadObject.RadPropertyChanging
RadObject.ShouldSerializePropertyHandler
DisposableObject.GetBitState(Int64)
DisposableObject.SetBitState(Int64, Boolean)
DisposableObject.OnBitStateChanged(Int64, Boolean, Boolean)
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.PerformDispose(Boolean)
DisposableObject.DisposeUnmanagedResources()
DisposableObject.BitState
DisposableObject.Events
DisposableObject.IsDisposing
DisposableObject.IsDisposed
DisposableObject.Disposed
DisposableObject.Disposing
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll

Syntax

public abstract class UIChartElement : RadObject, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement

Constructors

UIChartElement()

Initialized a new instance of the UIChartElement class.

Declaration
public UIChartElement()

Fields

BackColor2Property

Declaration
public static RadProperty BackColor2Property
Field Value
RadProperty

BackColor3Property

Declaration
public static RadProperty BackColor3Property
Field Value
RadProperty

BackColor4Property

Declaration
public static RadProperty BackColor4Property
Field Value
RadProperty

BackColorProperty

Declaration
public static RadProperty BackColorProperty
Field Value
RadProperty

BackgroundShapeProperty

Declaration
public static RadProperty BackgroundShapeProperty
Field Value
RadProperty

BorderBottomColorProperty

Declaration
public static RadProperty BorderBottomColorProperty
Field Value
RadProperty

BorderBottomShadowColorProperty

Declaration
public static RadProperty BorderBottomShadowColorProperty
Field Value
RadProperty

BorderBottomWidthProperty

Declaration
public static RadProperty BorderBottomWidthProperty
Field Value
RadProperty

BorderBoxStyleProperty

Declaration
public static RadProperty BorderBoxStyleProperty
Field Value
RadProperty

BorderColor2Property

Declaration
public static RadProperty BorderColor2Property
Field Value
RadProperty

BorderColor3Property

Declaration
public static RadProperty BorderColor3Property
Field Value
RadProperty

BorderColor4Property

Declaration
public static RadProperty BorderColor4Property
Field Value
RadProperty

BorderColorProperty

Declaration
public static RadProperty BorderColorProperty
Field Value
RadProperty

BorderCornerRadiusProperty

Declaration
public static RadProperty BorderCornerRadiusProperty
Field Value
RadProperty

BorderDashPatternProperty

Declaration
public static RadProperty BorderDashPatternProperty
Field Value
RadProperty

BorderDashStyleProperty

Declaration
public static RadProperty BorderDashStyleProperty
Field Value
RadProperty

BorderDrawModeProperty

Declaration
public static RadProperty BorderDrawModeProperty
Field Value
RadProperty

BorderGradientAngleProperty

Declaration
public static RadProperty BorderGradientAngleProperty
Field Value
RadProperty

BorderGradientStyleProperty

Declaration
public static RadProperty BorderGradientStyleProperty
Field Value
RadProperty

BorderInnerColor2Property

Declaration
public static RadProperty BorderInnerColor2Property
Field Value
RadProperty

BorderInnerColor3Property

Declaration
public static RadProperty BorderInnerColor3Property
Field Value
RadProperty

BorderInnerColor4Property

Declaration
public static RadProperty BorderInnerColor4Property
Field Value
RadProperty

BorderInnerColorProperty

Declaration
public static RadProperty BorderInnerColorProperty
Field Value
RadProperty

BorderLeftColorProperty

Declaration
public static RadProperty BorderLeftColorProperty
Field Value
RadProperty

BorderLeftShadowColorProperty

Declaration
public static RadProperty BorderLeftShadowColorProperty
Field Value
RadProperty

BorderLeftWidthProperty

Declaration
public static RadProperty BorderLeftWidthProperty
Field Value
RadProperty

BorderRightColorProperty

Declaration
public static RadProperty BorderRightColorProperty
Field Value
RadProperty

BorderRightShadowColorProperty

Declaration
public static RadProperty BorderRightShadowColorProperty
Field Value
RadProperty

BorderRightWidthProperty

Declaration
public static RadProperty BorderRightWidthProperty
Field Value
RadProperty

BorderTopColorProperty

Declaration
public static RadProperty BorderTopColorProperty
Field Value
RadProperty

BorderTopShadowColorProperty

Declaration
public static RadProperty BorderTopShadowColorProperty
Field Value
RadProperty

BorderTopWidthProperty

Declaration
public static RadProperty BorderTopWidthProperty
Field Value
RadProperty

BorderWidthProperty

Declaration
public static RadProperty BorderWidthProperty
Field Value
RadProperty

ClassProperty

Declaration
public static RadProperty ClassProperty
Field Value
RadProperty

CustomFontProperty

Declaration
public static RadProperty CustomFontProperty
Field Value
RadProperty

CustomFontSizeProperty

Declaration
public static RadProperty CustomFontSizeProperty
Field Value
RadProperty

CustomFontStyleProperty

Declaration
public static RadProperty CustomFontStyleProperty
Field Value
RadProperty

FontProperty

Declaration
public static RadProperty FontProperty
Field Value
RadProperty

ForeColorProperty

Declaration
public static RadProperty ForeColorProperty
Field Value
RadProperty

GradientAngleProperty

Declaration
public static RadProperty GradientAngleProperty
Field Value
RadProperty

GradientPercentage2Property

Declaration
public static RadProperty GradientPercentage2Property
Field Value
RadProperty

GradientPercentageProperty

Declaration
public static RadProperty GradientPercentageProperty
Field Value
RadProperty

GradientStyleProperty

Declaration
public static RadProperty GradientStyleProperty
Field Value
RadProperty

IsMouseDownProperty

Declaration
public static RadProperty IsMouseDownProperty
Field Value
RadProperty

IsMouseOverProperty

Declaration
public static RadProperty IsMouseOverProperty
Field Value
RadProperty

IsVisibleProperty

Declaration
public static RadProperty IsVisibleProperty
Field Value
RadProperty

NumberOfColorsProperty

Declaration
public static RadProperty NumberOfColorsProperty
Field Value
RadProperty

PaddingProperty

Declaration
public static RadProperty PaddingProperty
Field Value
RadProperty

ShapeProperty

Declaration
public static RadProperty ShapeProperty
Field Value
RadProperty

SmoothingModeProperty

Declaration
public static RadProperty SmoothingModeProperty
Field Value
RadProperty

VisualStateProperty

Declaration
public static RadProperty VisualStateProperty
Field Value
RadProperty

Properties

BackColor

Gets or sets the back color.

Declaration
[RadPropertyDefaultValue("BackColor", typeof(UIChartElement))]
public Color BackColor { get; set; }
Property Value
System.Drawing.Color

The color of the back.

Implements
IFillElement.BackColor

BackColor2

Gets or sets the back color2.

Declaration
[RadPropertyDefaultValue("BackColor2", typeof(UIChartElement))]
public Color BackColor2 { get; set; }
Property Value
System.Drawing.Color

The back color2.

Implements
IFillElement.BackColor2

BackColor3

Gets or sets the back color3.

Declaration
[RadPropertyDefaultValue("BackColor3", typeof(UIChartElement))]
public Color BackColor3 { get; set; }
Property Value
System.Drawing.Color

The back color3.

Implements
IFillElement.BackColor3

BackColor4

Gets or sets the back color4.

Declaration
[RadPropertyDefaultValue("BackColor4", typeof(UIChartElement))]
public Color BackColor4 { get; set; }
Property Value
System.Drawing.Color

The back color4.

Implements
IFillElement.BackColor4

BackgroundShape

Gets or sets the RadImageShape that describes the background of the element.

Declaration
[VsbBrowsable(true)]
public RadImageShape BackgroundShape { get; set; }
Property Value
RadImageShape

BorderBottomColor

Gets and sets the bottom border color. This applies only if FourBorders is chosen for BoxStyle property, and affects only the bottom border.

Declaration
[RadPropertyDefaultValue("BorderBottomColor", typeof(UIChartElement))]
public Color BorderBottomColor { get; set; }
Property Value
System.Drawing.Color

BorderBottomShadowColor

Gets and sets the bottom shadow color. This option applies only if fourBorders is chosen, and affects only the bottom border.

Declaration
[RadPropertyDefaultValue("BorderBottomShadowColor", typeof(UIChartElement))]
public Color BorderBottomShadowColor { get; set; }
Property Value
System.Drawing.Color

BorderBottomWidth

Gets or sets a float value width. This property has effect only if FourBorders style is used in BoxStyle property, and affects only the bottom border.

Declaration
[RadPropertyDefaultValue("BorderBottomWidth", typeof(UIChartElement))]
public float BorderBottomWidth { get; set; }
Property Value
System.Single

BorderBoxStyle

Gets or sets the Border style. The two possible values are SingleBorder and FourBorder. In the single border case, all four sides share the same appearance although the entire border may have gradient. In four border case, each of the four sides may differ in appearance. For example, the left border may have different color, shadowcolor, and width from the rest. When SingleBorder is chosen, you should use the general properties such as width and color, and respectively, when the FourBorder style is chosen you should use properties prefixed with the corresponding side, for example, LeftColor, LeftWidth for the left side.

Declaration
[RadPropertyDefaultValue("BorderBoxStyle", typeof(UIChartElement))]
public BorderBoxStyle BorderBoxStyle { get; set; }
Property Value
BorderBoxStyle

BorderColor

Gets or sets the color of the border.

Declaration
[RadPropertyDefaultValue("BorderColor", typeof(UIChartElement))]
public Color BorderColor { get; set; }
Property Value
System.Drawing.Color

The color of the border.

BorderColor2

Gets or sets color used by radial, glass, office glass, gel, and vista gradients. This is one of the colors that are used in the gradient effect.

Declaration
[RadPropertyDefaultValue("BorderColor2", typeof(UIChartElement))]
public Color BorderColor2 { get; set; }
Property Value
System.Drawing.Color

BorderColor3

Gets or sets color used by radial, glass, office glass, and vista gradients. This is one of the colors that are used in the gradient effect.

Declaration
[RadPropertyDefaultValue("BorderColor3", typeof(UIChartElement))]
public Color BorderColor3 { get; set; }
Property Value
System.Drawing.Color

BorderColor4

Gets or sets color used by radial, glass, office glass, and vista gradients. This is one of the colors that are used in the gradient effect.

Declaration
[RadPropertyDefaultValue("BorderColor4", typeof(UIChartElement))]
public Color BorderColor4 { get; set; }
Property Value
System.Drawing.Color

BorderCornerRadius

Gets or sets the border corner radius.

Declaration
[RadPropertyDefaultValue("BorderCornerRadius", typeof(UIChartElement))]
public int BorderCornerRadius { get; set; }
Property Value
System.Int32

The border corner radius.

BorderDashPattern

Specifies the style of dashed lines drawn with a border.

Declaration
[RadPropertyDefaultValue("BorderDashPattern", typeof(UIChartElement))]
public float[] BorderDashPattern { get; set; }
Property Value
System.Single[]

Implements
IBorderElement.BorderDashPattern

BorderDashStyle

Specifies the style of dashed lines drawn with a border.

Declaration
[RadPropertyDefaultValue("BorderDashStyle", typeof(UIChartElement))]
public DashStyle BorderDashStyle { get; set; }
Property Value
System.Drawing.Drawing2D.DashStyle

Implements
IBorderElement.BorderDashStyle

BorderDrawMode

Declaration
[RadPropertyDefaultValue("BorderDrawMode", typeof(UIChartElement))]
public BorderDrawModes BorderDrawMode { get; set; }
Property Value
BorderDrawModes

Implements
IBorderElement.BorderDrawMode

BorderGradientAngle

Gets or sets gradient angle for linear gradient measured in degrees.

Declaration
[RadPropertyDefaultValue("BorderGradientAngle", typeof(UIChartElement))]
public float BorderGradientAngle { get; set; }
Property Value
System.Single

BorderGradientStyle

Gets or sets gradient style. Possible styles are solid, linear, radial, glass, office glass, gel, and vista.

Declaration
[RadPropertyDefaultValue("BorderGradientStyle", typeof(UIChartElement))]
public GradientStyles BorderGradientStyle { get; set; }
Property Value
GradientStyles

BorderInnerColor

Gets or sets color used by radial, glass, office glass, gel, and vista gradients. This is one of the colors that are used in the gradient effect.

Declaration
[RadPropertyDefaultValue("BorderInnerColor", typeof(UIChartElement))]
public Color BorderInnerColor { get; set; }
Property Value
System.Drawing.Color

BorderInnerColor2

Gets or sets color used by radial, glass, office glass, gel, and vista gradients. This is one of the colors that are used in the gradient effect.

Declaration
[RadPropertyDefaultValue("BorderInnerColor2", typeof(UIChartElement))]
public Color BorderInnerColor2 { get; set; }
Property Value
System.Drawing.Color

BorderInnerColor3

Gets or sets color used by radial, glass, office glass, gel, and vista gradients. This is one of the colors that are used in the gradient effect.

Declaration
[RadPropertyDefaultValue("BorderInnerColor3", typeof(UIChartElement))]
public Color BorderInnerColor3 { get; set; }
Property Value
System.Drawing.Color

BorderInnerColor4

Gets or sets color used by radial, glass, office glass, gel, and vista gradients. This is one of the colors that are used in the gradient effect.

Declaration
[RadPropertyDefaultValue("BorderInnerColor4", typeof(UIChartElement))]
public Color BorderInnerColor4 { get; set; }
Property Value
System.Drawing.Color

BorderLeftColor

Gets and sets the left border color. This applies only if FourBorders is chosen for BoxStyle property, and affects only the left border.

Declaration
[RadPropertyDefaultValue("BorderLeftColor", typeof(UIChartElement))]
public Color BorderLeftColor { get; set; }
Property Value
System.Drawing.Color

BorderLeftShadowColor

Gets and sets the left shadow color. This option applies only if fourBorders is chosen, and affects only the left border.

Declaration
[RadPropertyDefaultValue("BorderLeftShadowColor", typeof(UIChartElement))]
public Color BorderLeftShadowColor { get; set; }
Property Value
System.Drawing.Color

BorderLeftWidth

Gets or sets a float value width of the left border. This property has effect only if FourBorders style is used in BoxStyle property and affects only the width of the left border.

Declaration
[RadPropertyDefaultValue("BorderLeftWidth", typeof(UIChartElement))]
public float BorderLeftWidth { get; set; }
Property Value
System.Single

BorderRightColor

Gets and sets the right border color. This applies only if FourBorders is chosen for BoxStyle property, and affects only the right border.

Declaration
[RadPropertyDefaultValue("BorderRightColor", typeof(UIChartElement))]
public Color BorderRightColor { get; set; }
Property Value
System.Drawing.Color

BorderRightShadowColor

Gets and sets the right shadow color. This option applies only if fourBorders is chosen, and affects only the right border.

Declaration
[RadPropertyDefaultValue("BorderRightShadowColor", typeof(UIChartElement))]
public Color BorderRightShadowColor { get; set; }
Property Value
System.Drawing.Color

BorderRightWidth

Gets or sets a float value width of the right border. This property has effect only if FourBorders style is used in BoxStyle property, and affects only the right border.

Declaration
[RadPropertyDefaultValue("BorderRightWidth", typeof(UIChartElement))]
public float BorderRightWidth { get; set; }
Property Value
System.Single

BorderTopColor

Gets and sets the top border color. This applies only if FourBorders is chosen for BoxStyle property, and affects only the top border.

Declaration
[RadPropertyDefaultValue("BorderTopColor", typeof(UIChartElement))]
public Color BorderTopColor { get; set; }
Property Value
System.Drawing.Color

BorderTopShadowColor

Gets and sets the top shadow color. This option applies only if fourBorders is chosen, and affects only the top border.

Declaration
[RadPropertyDefaultValue("BorderTopShadowColor", typeof(UIChartElement))]
public Color BorderTopShadowColor { get; set; }
Property Value
System.Drawing.Color

BorderTopWidth

Gets or sets a float value width of the top border . This property has effect only if FourBorders style is used in BoxStyle property, and affects only the top border.

Declaration
[RadPropertyDefaultValue("BorderTopWidth", typeof(UIChartElement))]
public float BorderTopWidth { get; set; }
Property Value
System.Single

BorderWidth

Gets or sets a float value width of the left border. This property has effect only if FourBorders style is used in BoxStyle property and affects only the width of the left border.

Declaration
[RadPropertyDefaultValue("BorderWidth", typeof(UIChartElement))]
public float BorderWidth { get; set; }
Property Value
System.Single

Children

Declaration
public ChartElementCollection Children { get; }
Property Value
ChartElementCollection

ChildrenHierarchy

Gets the children hierarchy.

Declaration
public IEnumerable<RadObject> ChildrenHierarchy { get; }
Property Value
System.Collections.Generic.IEnumerable<RadObject>

The children hierarchy.

Implements
IStylableNode.ChildrenHierarchy

Class

Gets the class.

Declaration
public string Class { get; }
Property Value
System.String

The class.

Implements
IStylableNode.Class

CustomFont

Gets or sets the custom font.

Declaration
[VsbBrowsable(true)]
[RadPropertyDefaultValue("CustomFont", typeof(UIChartElement))]
public virtual string CustomFont { get; set; }
Property Value
System.String

The custom font.

CustomFontSize

Gets or sets the size of the custom font.

Declaration
[VsbBrowsable(true)]
[RadPropertyDefaultValue("CustomFontSize", typeof(UIChartElement))]
public virtual float CustomFontSize { get; set; }
Property Value
System.Single

The size of the custom font.

CustomFontStyle

Gets or sets the custom font style.

Declaration
[VsbBrowsable(true)]
[RadPropertyDefaultValue("CustomFontStyle", typeof(UIChartElement))]
public virtual FontStyle CustomFontStyle { get; set; }
Property Value
System.Drawing.FontStyle

The custom font style.

DpiScaleFactor

Gets or sets the dpi scale factor.

Declaration
public SizeF DpiScaleFactor { get; protected set; }
Property Value
System.Drawing.SizeF

The dpi scale factor.

FallbackToDefaultTheme

Gets whether to fallback to default theme.

Declaration
public virtual bool FallbackToDefaultTheme { get; }
Property Value
System.Boolean

The fallback to default theme.

Implements
IStylableElement.FallbackToDefaultTheme

Font

Gets or sets the font.

Declaration
[RadPropertyDefaultValue("Font", typeof(UIChartElement))]
public Font Font { get; set; }
Property Value
System.Drawing.Font

The font.

ForeColor

Gets or sets the fore color.

Declaration
[RadPropertyDefaultValue("ForeColor", typeof(UIChartElement))]
public Color ForeColor { get; set; }
Property Value
System.Drawing.Color

The color of the fore.

GradientAngle

Gets or sets the gradient angle.

Declaration
[RadPropertyDefaultValue("GradientAngle", typeof(UIChartElement))]
public float GradientAngle { get; set; }
Property Value
System.Single

The gradient angle.

Implements
IFillElement.GradientAngle

GradientPercentage

Gets or sets the GradientPercentage.

Declaration
[RadPropertyDefaultValue("GradientPercentage", typeof(UIChartElement))]
public float GradientPercentage { get; set; }
Property Value
System.Single

Implements
IFillElement.GradientPercentage

GradientPercentage2

Gets or sets the GradientPercentage2.

Declaration
[RadPropertyDefaultValue("GradientPercentage2", typeof(UIChartElement))]
public float GradientPercentage2 { get; set; }
Property Value
System.Single

Implements
IFillElement.GradientPercentage2

GradientStyle

Gets or sets the gradient style.

Declaration
[RadPropertyDefaultValue("GradientStyle", typeof(UIChartElement))]
public GradientStyles GradientStyle { get; set; }
Property Value
GradientStyles

Implements
IFillElement.GradientStyle

IsAttached

Gets if it is attached.

Declaration
public bool IsAttached { get; }
Property Value
System.Boolean

The is attached.

IsMouseDown

Gets if the mouse is down.

Declaration
public bool IsMouseDown { get; }
Property Value
System.Boolean

The is mouse down.

IsMouseOver

Gets if the mouse is over.

Declaration
public bool IsMouseOver { get; }
Property Value
System.Boolean

The is mouse over.

IsVisible

Gets or sets whether the element is visible.

Declaration
[RadPropertyDefaultValue("IsVisible", typeof(UIChartElement))]
public virtual bool IsVisible { get; set; }
Property Value
System.Boolean

Implements
IChartElementPresenter.IsVisible

Level

Gets the level.

Declaration
public int Level { get; }
Property Value
System.Int32

The level.

NumberOfColors

Gets or sets the number of colors.

Declaration
[RadPropertyDefaultValue("NumberOfColors", typeof(UIChartElement))]
public int NumberOfColors { get; set; }
Property Value
System.Int32

Implements
IFillElement.NumberOfColors

Padding

Gets or sets the padding of the element.

Declaration
[RadPropertyDefaultValue("Padding", typeof(UIChartElement))]
public Padding Padding { get; set; }
Property Value
System.Windows.Forms.Padding

The padding.

Parent

Declaration
public virtual RadObject Parent { get; set; }
Property Value
RadObject

Shape

Gets or sets an instance of the Shape object of an element. The shape of the element is both responsible for clipping the element's children and for providing its' border(s) with custom shape.

Declaration
[RadPropertyDefaultValue("Shape", typeof(UIChartElement))]
public ElementShape Shape { get; set; }
Property Value
ElementShape

Remarks

Value of null (or Nothing in VisualBasic.Net) indicates that element has rectangular (or no) shape. Shape is an object that defines the bounding graphics path of an element. Graphics clip is always applied when an element has shape. Shape is considered when painting the border element, and when hit-testing an element. Some predefined shapes are available, like RoundRectShape or EllipseShape. CustomShape offers a way to specify element's shape with a sequance of points and curves using code or the design time ElementShapeEditor System.Drawing.Design.UITypeEditor.

Size

Gets or sets the size of the element which is the height and width of the visual rectangle that would contain the graphics of the element.

Declaration
public virtual Size Size { get; set; }
Property Value
System.Drawing.Size

Implements
IFillElement.Size

SmoothingMode

Gets or sets the SmoothingMode of the element.

Declaration
[RadPropertyDefaultValue("SmoothingMode", typeof(UIChartElement))]
public SmoothingMode SmoothingMode { get; set; }
Property Value
System.Drawing.Drawing2D.SmoothingMode

Implements
IFillElement.SmoothingMode

StateManager

Gets or sets the state manager.

Declaration
public virtual ItemStateManagerBase StateManager { get; set; }
Property Value
ItemStateManagerBase

The state manager.

Implements
IStylableElement.StateManager

Style

Gets or sets the style.

Declaration
public virtual StyleSheet Style { get; set; }
Property Value
StyleSheet

The style.

Implements
IStylableNode.Style

ThemeRole

Gets or sets the theme role.

Declaration
public virtual string ThemeRole { get; set; }
Property Value
System.String

The theme role.

Implements
IStylableElement.ThemeRole

View

Gets the view.

Declaration
public ChartView View { get; }
Property Value
ChartView

The view.

VisualState

Gets or sets the state of the visual.

Declaration
public virtual string VisualState { get; set; }
Property Value
System.String

The state of the visual.

Implements
IStylableElement.VisualState

Methods

AddStylePropertySetting(IPropertySetting)

Registers a style setting for this instance.

Declaration
protected override ValueUpdateResult AddStylePropertySetting(IPropertySetting setting)
Parameters
IPropertySetting setting

Returns
ValueUpdateResult

Overrides
RadObject.AddStylePropertySetting(IPropertySetting)

ApplyStyle()

Applies the style.

Declaration
protected virtual void ApplyStyle()

ApplyStyleByIndex(PropertySettingGroup, Int32)

Applies the style by the index.

Declaration
protected virtual void ApplyStyleByIndex(PropertySettingGroup group, int index)
Parameters
PropertySettingGroup group

The group.

System.Int32 index

The index.

ApplyStyleSettingsCore(PropertySettingGroup)

Applies the style settings.

Declaration
protected virtual void ApplyStyleSettingsCore(PropertySettingGroup group)
Parameters
PropertySettingGroup group

The group.

Attach(UIChartElement)

Attaches the specified parent.

Declaration
public void Attach(UIChartElement parent)
Parameters
UIChartElement parent

The parent.

BuildVisualState()

Builds the visual state.

Declaration
protected virtual void BuildVisualState()

Dettach()

Dettaches this instance.

Declaration
public void Dettach()

DpiScaleChanged(SizeF)

Called when DPI scale is changed.

Declaration
protected virtual void DpiScaleChanged(SizeF scaleFactor)
Parameters
System.Drawing.SizeF scaleFactor

The scale factor.

GetCurrentShape()

Gets the current shape.

Declaration
public ElementShape GetCurrentShape()
Returns
ElementShape

Implements
IShapedElement.GetCurrentShape()

GetScaledFont(Single)

Gets the scaled font.

Declaration
protected virtual Font GetScaledFont(float scale)
Parameters
System.Single scale

The scale.

Returns
System.Drawing.Font

GetThemeEffectiveType()

Gets the type of the theme effective.

Declaration
public virtual Type GetThemeEffectiveType()
Returns
System.Type

Implements
IStylableNode.GetThemeEffectiveType()

GetValue(RadProperty)

Retrieves the current value for the specified property.

Declaration
public override object GetValue(RadProperty property)
Parameters
RadProperty property

Returns
System.Object

Overrides
RadObject.GetValue(RadProperty)

Invalidate()

Invalidates the UIChartElement.

Declaration
public virtual void Invalidate()

MeasureContentOverride(ChartNode, Object)

Measures the content override.

Declaration
protected virtual RadSize MeasureContentOverride(ChartNode owner, object content)
Parameters
ChartNode owner

The owner.

System.Object content

The content.

Returns
RadSize

OnAttached(UIChartElement)

Called when [attached].

Declaration
protected virtual void OnAttached(UIChartElement parent)
Parameters
UIChartElement parent

The parent.

OnDettached()

Called when [dettached].

Declaration
protected virtual void OnDettached()

OnPropertyChanged(RadPropertyChangedEventArgs)

Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs e

Overrides
RadObject.OnPropertyChanged(RadPropertyChangedEventArgs)

Refresh()

Refreshes the UIChartElement.

Declaration
public virtual void Refresh()

Explicit Interface Implementations

IChartElementPresenter.InvalidatePalette()

Declaration
void IChartElementPresenter.InvalidatePalette()
Implements
IChartElementPresenter.InvalidatePalette()

IChartElementPresenter.MeasureContent(ChartNode, Object)

Declaration
RadSize IChartElementPresenter.MeasureContent(ChartNode owner, object content)
Parameters
ChartNode owner

System.Object content

Returns
RadSize

Implements
IChartElementPresenter.MeasureContent(ChartNode, Object)

IChartElementPresenter.RefreshNode(ChartNode)

Declaration
void IChartElementPresenter.RefreshNode(ChartNode node)
Parameters
ChartNode node

Implements
IChartElementPresenter.RefreshNode(ChartNode)

IBoxStyle.BottomColor

Declaration
Color IBoxStyle.BottomColor { get; set; }
Returns
System.Drawing.Color

Implements
IBoxStyle.BottomColor

IBoxStyle.BottomShadowColor

Declaration
Color IBoxStyle.BottomShadowColor { get; set; }
Returns
System.Drawing.Color

Implements
IBoxStyle.BottomShadowColor

IBoxStyle.LeftColor

Declaration
Color IBoxStyle.LeftColor { get; set; }
Returns
System.Drawing.Color

Implements
IBoxStyle.LeftColor

IBoxStyle.LeftShadowColor

Declaration
Color IBoxStyle.LeftShadowColor { get; set; }
Returns
System.Drawing.Color

Implements
IBoxStyle.LeftShadowColor

IBoxStyle.RightColor

Declaration
Color IBoxStyle.RightColor { get; set; }
Returns
System.Drawing.Color

Implements
IBoxStyle.RightColor

IBoxStyle.RightShadowColor

Declaration
Color IBoxStyle.RightShadowColor { get; set; }
Returns
System.Drawing.Color

Implements
IBoxStyle.RightShadowColor

IBoxStyle.TopColor

Declaration
Color IBoxStyle.TopColor { get; set; }
Returns
System.Drawing.Color

Implements
IBoxStyle.TopColor

IBoxStyle.TopShadowColor

Declaration
Color IBoxStyle.TopShadowColor { get; set; }
Returns
System.Drawing.Color

Implements
IBoxStyle.TopShadowColor

IStylableNode.ApplySettings(PropertySettingGroup)

Declaration
void IStylableNode.ApplySettings(PropertySettingGroup group)
Parameters
PropertySettingGroup group

Implements
IStylableNode.ApplySettings(PropertySettingGroup)

IStylableNode.Children

Declaration
IEnumerable<RadObject> IStylableNode.Children { get; }
Returns
System.Collections.Generic.IEnumerable<RadObject>

Implements
IStylableNode.Children

IStylableNode.Parent

Declaration
IStylableNode IStylableNode.Parent { get; }
Returns
IStylableNode

Implements
IStylableNode.Parent

IBoxElement.BorderSize

Declaration
SizeF IBoxElement.BorderSize { get; }
Returns
System.Drawing.SizeF

Implements
IBoxElement.BorderSize

IBoxElement.BottomWidth

Declaration
float IBoxElement.BottomWidth { get; set; }
Returns
System.Single

Implements
IBoxElement.BottomWidth

IBoxElement.HorizontalWidth

Declaration
float IBoxElement.HorizontalWidth { get; }
Returns
System.Single

Implements
IBoxElement.HorizontalWidth

IBoxElement.LeftWidth

Declaration
float IBoxElement.LeftWidth { get; set; }
Returns
System.Single

Implements
IBoxElement.LeftWidth

IBoxElement.Offset

Declaration
SizeF IBoxElement.Offset { get; }
Returns
System.Drawing.SizeF

Implements
IBoxElement.Offset

IBoxElement.RightWidth

Declaration
float IBoxElement.RightWidth { get; set; }
Returns
System.Single

Implements
IBoxElement.RightWidth

IBoxElement.TopWidth

Declaration
float IBoxElement.TopWidth { get; set; }
Returns
System.Single

Implements
IBoxElement.TopWidth

IBoxElement.VerticalWidth

Declaration
float IBoxElement.VerticalWidth { get; }
Returns
System.Single

Implements
IBoxElement.VerticalWidth

IBoxElement.Width

Declaration
float IBoxElement.Width { get; set; }
Returns
System.Single

Implements
IBoxElement.Width

IBorderElement.BoxStyle

Declaration
BorderBoxStyle IBorderElement.BoxStyle { get; }
Returns
BorderBoxStyle

Implements
IBorderElement.BoxStyle

IBorderElement.ForeColor

Declaration
Color IBorderElement.ForeColor { get; }
Returns
System.Drawing.Color

Implements
IBorderElement.ForeColor

IBorderElement.ForeColor2

Declaration
Color IBorderElement.ForeColor2 { get; }
Returns
System.Drawing.Color

Implements
IBorderElement.ForeColor2

IBorderElement.ForeColor3

Declaration
Color IBorderElement.ForeColor3 { get; }
Returns
System.Drawing.Color

Implements
IBorderElement.ForeColor3

IBorderElement.ForeColor4

Declaration
Color IBorderElement.ForeColor4 { get; }
Returns
System.Drawing.Color

Implements
IBorderElement.ForeColor4

IBorderElement.GradientAngle

Declaration
float IBorderElement.GradientAngle { get; }
Returns
System.Single

Implements
IBorderElement.GradientAngle

IBorderElement.GradientStyle

Declaration
GradientStyles IBorderElement.GradientStyle { get; }
Returns
GradientStyles

Implements
IBorderElement.GradientStyle

IBorderElement.InnerColor

Declaration
Color IBorderElement.InnerColor { get; }
Returns
System.Drawing.Color

Implements
IBorderElement.InnerColor

IBorderElement.InnerColor2

Declaration
Color IBorderElement.InnerColor2 { get; }
Returns
System.Drawing.Color

Implements
IBorderElement.InnerColor2

IBorderElement.InnerColor3

Declaration
Color IBorderElement.InnerColor3 { get; }
Returns
System.Drawing.Color

Implements
IBorderElement.InnerColor3

IBorderElement.InnerColor4

Declaration
Color IBorderElement.InnerColor4 { get; }
Returns
System.Drawing.Color

Implements
IBorderElement.InnerColor4

IBorderElement.SmoothingMode

Declaration
SmoothingMode IBorderElement.SmoothingMode { get; set; }
Returns
System.Drawing.Drawing2D.SmoothingMode

Implements
IBorderElement.SmoothingMode

Extension Methods

CommonExtensions.ClearIfNoBindingAndSet(RadObject, RadProperty)
DispatcherExtensions.CheckAccess(RadObject)
CommonExtensions.SetIfDifferent(RadObject, RadProperty, Object)
CommonExtensions.ClearIfSet(RadObject, RadProperty)
CommonExtensions.IsLocalValueSet(RadObject, RadProperty)
DispatcherExtensions.CheckAccess(RadObject)
DispatcherExtensions.CheckAccess(RadObject)
DispatcherExtensions.CheckAccess(RadObject)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.