Class
UIChartElement

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

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

Inheritance: objectDisposableObjectRadObjectUIChartElement

Derived Classes: AxisChartAnnotationChartAreaChartGridChartImageElementChartSeriesChartViewLegendItemStyleElementSelectedPoint

Implements: IBorderElementIBoxElementIBoxStyleIChartElementPresenterICustomTypeDescriptorIDisposableIFillElementINotifyPropertyChangedIShapedElementIStylableElementIStylableNode

Inherited Members RadObject.BindingContextPropertyRadObject.RadTypeRadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadObject.DisposeManagedResources()RadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(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(RadProperty)RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)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

UIChartElement()

Initialized a new instance of the UIChartElement class.

Declaration

cs-api-definition
public UIChartElement()

Fields

BackColor2Property

Declaration

cs-api-definition
public static RadProperty BackColor2Property

Field Value

RadProperty

BackColor3Property

Declaration

cs-api-definition
public static RadProperty BackColor3Property

Field Value

RadProperty

BackColor4Property

Declaration

cs-api-definition
public static RadProperty BackColor4Property

Field Value

RadProperty

BackColorProperty

Declaration

cs-api-definition
public static RadProperty BackColorProperty

Field Value

RadProperty

BackgroundShapeProperty

Declaration

cs-api-definition
public static RadProperty BackgroundShapeProperty

Field Value

RadProperty

BorderBottomColorProperty

Declaration

cs-api-definition
public static RadProperty BorderBottomColorProperty

Field Value

RadProperty

BorderBottomShadowColorProperty

Declaration

cs-api-definition
public static RadProperty BorderBottomShadowColorProperty

Field Value

RadProperty

BorderBottomWidthProperty

Declaration

cs-api-definition
public static RadProperty BorderBottomWidthProperty

Field Value

RadProperty

BorderBoxStyleProperty

Declaration

cs-api-definition
public static RadProperty BorderBoxStyleProperty

Field Value

RadProperty

BorderColor2Property

Declaration

cs-api-definition
public static RadProperty BorderColor2Property

Field Value

RadProperty

BorderColor3Property

Declaration

cs-api-definition
public static RadProperty BorderColor3Property

Field Value

RadProperty

BorderColor4Property

Declaration

cs-api-definition
public static RadProperty BorderColor4Property

Field Value

RadProperty

BorderColorProperty

Declaration

cs-api-definition
public static RadProperty BorderColorProperty

Field Value

RadProperty

BorderCornerRadiusProperty

Declaration

cs-api-definition
public static RadProperty BorderCornerRadiusProperty

Field Value

RadProperty

BorderDashPatternProperty

Declaration

cs-api-definition
public static RadProperty BorderDashPatternProperty

Field Value

RadProperty

BorderDashStyleProperty

Declaration

cs-api-definition
public static RadProperty BorderDashStyleProperty

Field Value

RadProperty

BorderDrawModeProperty

Declaration

cs-api-definition
public static RadProperty BorderDrawModeProperty

Field Value

RadProperty

BorderGradientAngleProperty

Declaration

cs-api-definition
public static RadProperty BorderGradientAngleProperty

Field Value

RadProperty

BorderGradientStyleProperty

Declaration

cs-api-definition
public static RadProperty BorderGradientStyleProperty

Field Value

RadProperty

BorderInnerColor2Property

Declaration

cs-api-definition
public static RadProperty BorderInnerColor2Property

Field Value

RadProperty

BorderInnerColor3Property

Declaration

cs-api-definition
public static RadProperty BorderInnerColor3Property

Field Value

RadProperty

BorderInnerColor4Property

Declaration

cs-api-definition
public static RadProperty BorderInnerColor4Property

Field Value

RadProperty

BorderInnerColorProperty

Declaration

cs-api-definition
public static RadProperty BorderInnerColorProperty

Field Value

RadProperty

BorderLeftColorProperty

Declaration

cs-api-definition
public static RadProperty BorderLeftColorProperty

Field Value

RadProperty

BorderLeftShadowColorProperty

Declaration

cs-api-definition
public static RadProperty BorderLeftShadowColorProperty

Field Value

RadProperty

BorderLeftWidthProperty

Declaration

cs-api-definition
public static RadProperty BorderLeftWidthProperty

Field Value

RadProperty

BorderRightColorProperty

Declaration

cs-api-definition
public static RadProperty BorderRightColorProperty

Field Value

RadProperty

BorderRightShadowColorProperty

Declaration

cs-api-definition
public static RadProperty BorderRightShadowColorProperty

Field Value

RadProperty

BorderRightWidthProperty

Declaration

cs-api-definition
public static RadProperty BorderRightWidthProperty

Field Value

RadProperty

BorderTopColorProperty

Declaration

cs-api-definition
public static RadProperty BorderTopColorProperty

Field Value

RadProperty

BorderTopShadowColorProperty

Declaration

cs-api-definition
public static RadProperty BorderTopShadowColorProperty

Field Value

RadProperty

BorderTopWidthProperty

Declaration

cs-api-definition
public static RadProperty BorderTopWidthProperty

Field Value

RadProperty

BorderWidthProperty

Declaration

cs-api-definition
public static RadProperty BorderWidthProperty

Field Value

RadProperty

ClassProperty

Declaration

cs-api-definition
public static RadProperty ClassProperty

Field Value

RadProperty

CustomFontProperty

Declaration

cs-api-definition
public static RadProperty CustomFontProperty

Field Value

RadProperty

CustomFontSizeProperty

Declaration

cs-api-definition
public static RadProperty CustomFontSizeProperty

Field Value

RadProperty

CustomFontStyleProperty

Declaration

cs-api-definition
public static RadProperty CustomFontStyleProperty

Field Value

RadProperty

FontProperty

Declaration

cs-api-definition
public static RadProperty FontProperty

Field Value

RadProperty

ForeColorProperty

Declaration

cs-api-definition
public static RadProperty ForeColorProperty

Field Value

RadProperty

GradientAngleProperty

Declaration

cs-api-definition
public static RadProperty GradientAngleProperty

Field Value

RadProperty

GradientPercentage2Property

Declaration

cs-api-definition
public static RadProperty GradientPercentage2Property

Field Value

RadProperty

GradientPercentageProperty

Declaration

cs-api-definition
public static RadProperty GradientPercentageProperty

Field Value

RadProperty

GradientStyleProperty

Declaration

cs-api-definition
public static RadProperty GradientStyleProperty

Field Value

RadProperty

IsMouseDownProperty

Declaration

cs-api-definition
public static RadProperty IsMouseDownProperty

Field Value

RadProperty

IsMouseOverProperty

Declaration

cs-api-definition
public static RadProperty IsMouseOverProperty

Field Value

RadProperty

IsVisibleProperty

Declaration

cs-api-definition
public static RadProperty IsVisibleProperty

Field Value

RadProperty

NumberOfColorsProperty

Declaration

cs-api-definition
public static RadProperty NumberOfColorsProperty

Field Value

RadProperty

PaddingProperty

Declaration

cs-api-definition
public static RadProperty PaddingProperty

Field Value

RadProperty

ShapeProperty

Declaration

cs-api-definition
public static RadProperty ShapeProperty

Field Value

RadProperty

SmoothingModeProperty

Declaration

cs-api-definition
public static RadProperty SmoothingModeProperty

Field Value

RadProperty

VisualStateProperty

Declaration

cs-api-definition
public static RadProperty VisualStateProperty

Field Value

RadProperty

Properties

BackColor

Gets or sets the back color.

Declaration

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BackColor { get; set; }

Property Value

Color

The color of the back.

Implements IFillElement.BackColor

BackColor2

Gets or sets the back color2.

Declaration

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BackColor2 { get; set; }

Property Value

Color

The back color2.

Implements IFillElement.BackColor2

BackColor3

Gets or sets the back color3.

Declaration

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BackColor3 { get; set; }

Property Value

Color

The back color3.

Implements IFillElement.BackColor3

BackColor4

Gets or sets the back color4.

Declaration

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BackColor4 { get; set; }

Property Value

Color

The back color4.

Implements IFillElement.BackColor4

BackgroundShape

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

Declaration

cs-api-definition
[Browsable(false)]
[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

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BorderBottomColor { get; set; }

Property Value

Color

BorderBottomShadowColor

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

Declaration

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BorderBottomShadowColor { get; set; }

Property Value

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

cs-api-definition
public float BorderBottomWidth { get; set; }

Property Value

float

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

cs-api-definition
public BorderBoxStyle BorderBoxStyle { get; set; }

Property Value

BorderBoxStyle

BorderColor

Gets or sets the color of the border.

Declaration

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BorderColor { get; set; }

Property Value

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

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BorderColor2 { get; set; }

Property Value

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

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BorderColor3 { get; set; }

Property Value

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

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BorderColor4 { get; set; }

Property Value

Color

BorderCornerRadius

Gets or sets the border corner radius.

Declaration

cs-api-definition
[Browsable(true)]
public int BorderCornerRadius { get; set; }

Property Value

int

The border corner radius.

BorderDashPattern

Specifies the style of dashed lines drawn with a border.

Declaration

cs-api-definition
public float[] BorderDashPattern { get; set; }

Property Value

float[]

Implements IBorderElement.BorderDashPattern

BorderDashStyle

Specifies the style of dashed lines drawn with a border.

Declaration

cs-api-definition
public DashStyle BorderDashStyle { get; set; }

Property Value

DashStyle

Implements IBorderElement.BorderDashStyle

BorderDrawMode

Declaration

cs-api-definition
public BorderDrawModes BorderDrawMode { get; set; }

Property Value

BorderDrawModes

Implements IBorderElement.BorderDrawMode

BorderGradientAngle

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

Declaration

cs-api-definition
public float BorderGradientAngle { get; set; }

Property Value

float

BorderGradientStyle

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

Declaration

cs-api-definition
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

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BorderInnerColor { get; set; }

Property Value

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

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BorderInnerColor2 { get; set; }

Property Value

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

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BorderInnerColor3 { get; set; }

Property Value

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

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BorderInnerColor4 { get; set; }

Property Value

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

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BorderLeftColor { get; set; }

Property Value

Color

BorderLeftShadowColor

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

Declaration

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BorderLeftShadowColor { get; set; }

Property Value

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

cs-api-definition
public float BorderLeftWidth { get; set; }

Property Value

float

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

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BorderRightColor { get; set; }

Property Value

Color

BorderRightShadowColor

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

Declaration

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BorderRightShadowColor { get; set; }

Property Value

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

cs-api-definition
public float BorderRightWidth { get; set; }

Property Value

float

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

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BorderTopColor { get; set; }

Property Value

Color

BorderTopShadowColor

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

Declaration

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color BorderTopShadowColor { get; set; }

Property Value

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

cs-api-definition
public float BorderTopWidth { get; set; }

Property Value

float

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

cs-api-definition
public float BorderWidth { get; set; }

Property Value

float

Children

Declaration

cs-api-definition
[Browsable(false)]
public ChartElementCollection Children { get; }

Property Value

ChartElementCollection

ChildrenHierarchy

Gets the children hierarchy.

Declaration

cs-api-definition
[Browsable(false)]
public IEnumerable<RadObject> ChildrenHierarchy { get; }

Property Value

IEnumerable<RadObject>

The children hierarchy.

Implements IStylableNode.ChildrenHierarchy

Class

Gets the class.

Declaration

cs-api-definition
[Browsable(false)]
public string Class { get; }

Property Value

string

The class.

Implements IStylableNode.Class

DpiScaleFactor

Gets or sets the dpi scale factor.

Declaration

cs-api-definition
public SizeF DpiScaleFactor { get; protected set; }

Property Value

SizeF

The dpi scale factor.

FallbackToDefaultTheme

Gets whether to fallback to default theme.

Declaration

cs-api-definition
[Browsable(false)]
public virtual bool FallbackToDefaultTheme { get; }

Property Value

bool

The fallback to default theme.

Implements IStylableElement.FallbackToDefaultTheme

Font

Gets or sets the font.

Declaration

cs-api-definition
public Font Font { get; set; }

Property Value

Font

The font.

ForeColor

Gets or sets the fore color.

Declaration

cs-api-definition
[TypeConverter(typeof(RadColorEditorConverter))]
public Color ForeColor { get; set; }

Property Value

Color

The color of the fore.

GradientAngle

Gets or sets the gradient angle.

Declaration

cs-api-definition
public float GradientAngle { get; set; }

Property Value

float

The gradient angle.

Implements IFillElement.GradientAngle

GradientPercentage

Gets or sets the GradientPercentage.

Declaration

cs-api-definition
public float GradientPercentage { get; set; }

Property Value

float

Implements IFillElement.GradientPercentage

GradientPercentage2

Gets or sets the GradientPercentage2.

Declaration

cs-api-definition
public float GradientPercentage2 { get; set; }

Property Value

float

Implements IFillElement.GradientPercentage2

GradientStyle

Gets or sets the gradient style.

Declaration

cs-api-definition
public GradientStyles GradientStyle { get; set; }

Property Value

GradientStyles

Implements IFillElement.GradientStyle

IsAttached

Gets if it is attached.

Declaration

cs-api-definition
[Browsable(false)]
public bool IsAttached { get; }

Property Value

bool

The is attached.

IsMouseDown

Gets if the mouse is down.

Declaration

cs-api-definition
[Browsable(false)]
public bool IsMouseDown { get; }

Property Value

bool

The is mouse down.

IsMouseOver

Gets if the mouse is over.

Declaration

cs-api-definition
[Browsable(false)]
public bool IsMouseOver { get; }

Property Value

bool

The is mouse over.

IsVisible

Gets or sets whether the element is visible.

Declaration

cs-api-definition
public virtual bool IsVisible { get; set; }

Property Value

bool

Implements IChartElementPresenter.IsVisible

Level

Gets the level.

Declaration

cs-api-definition
[Browsable(false)]
public int Level { get; }

Property Value

int

The level.

NumberOfColors

Gets or sets the number of colors.

Declaration

cs-api-definition
public int NumberOfColors { get; set; }

Property Value

int

Implements IFillElement.NumberOfColors

Padding

Gets or sets the padding of the element.

Declaration

cs-api-definition
public Padding Padding { get; set; }

Property Value

Padding

The padding.

Parent

Declaration

cs-api-definition
[Browsable(false)]
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

cs-api-definition
[TypeConverter(typeof(ElementShapeConverter))]
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 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

cs-api-definition
[Browsable(true)]
public virtual Size Size { get; set; }

Property Value

Size

Implements IFillElement.Size

SmoothingMode

Gets or sets the SmoothingMode of the element.

Declaration

cs-api-definition
public SmoothingMode SmoothingMode { get; set; }

Property Value

SmoothingMode

Implements IFillElement.SmoothingMode

StateManager

Gets or sets the state manager.

Declaration

cs-api-definition
[Browsable(false)]
public virtual ItemStateManagerBase StateManager { get; set; }

Property Value

ItemStateManagerBase

The state manager.

Implements IStylableElement.StateManager

Style

Gets or sets the style.

Declaration

cs-api-definition
[Browsable(false)]
public virtual StyleSheet Style { get; set; }

Property Value

StyleSheet

The style.

Implements IStylableNode.Style

ThemeRole

Gets or sets the theme role.

Declaration

cs-api-definition
[Browsable(false)]
public virtual string ThemeRole { get; set; }

Property Value

string

The theme role.

Implements IStylableElement.ThemeRole

View

Gets the view.

Declaration

cs-api-definition
[Browsable(false)]
public ChartView View { get; }

Property Value

ChartView

The view.

VisualState

Gets or sets the state of the visual.

Declaration

cs-api-definition
[Browsable(false)]
public virtual string VisualState { get; set; }

Property Value

string

The state of the visual.

Implements IStylableElement.VisualState

Methods

AddStylePropertySetting(IPropertySetting)

Registers a style setting for this instance.

Declaration

cs-api-definition
protected override ValueUpdateResult AddStylePropertySetting(IPropertySetting setting)

Parameters

setting

IPropertySetting

Returns

ValueUpdateResult

Overrides RadObject.AddStylePropertySetting(IPropertySetting)

ApplyStyle()

Applies the style.

Declaration

cs-api-definition
protected virtual void ApplyStyle()

ApplyStyleByIndex(PropertySettingGroup, int)

Applies the style by the index.

Declaration

cs-api-definition
protected virtual void ApplyStyleByIndex(PropertySettingGroup group, int index)

Parameters

group

PropertySettingGroup

The group.

index

int

The index.

ApplyStyleSettingsCore(PropertySettingGroup)

Applies the style settings.

Declaration

cs-api-definition
protected virtual void ApplyStyleSettingsCore(PropertySettingGroup group)

Parameters

group

PropertySettingGroup

The group.

Attach(UIChartElement)

Attaches the specified parent.

Declaration

cs-api-definition
public void Attach(UIChartElement parent)

Parameters

parent

UIChartElement

The parent.

BuildVisualState()

Builds the visual state.

Declaration

cs-api-definition
protected virtual void BuildVisualState()

Dettach()

Dettaches this instance.

Declaration

cs-api-definition
public void Dettach()

DpiScaleChanged(SizeF)

Called when DPI scale is changed.

Declaration

cs-api-definition
protected virtual void DpiScaleChanged(SizeF scaleFactor)

Parameters

scaleFactor

SizeF

The scale factor.

GetCurrentShape()

Gets the current shape.

Declaration

cs-api-definition
public ElementShape GetCurrentShape()

Returns

ElementShape

Implements IShapedElement.GetCurrentShape()

GetScaledFont(float)

Gets the scaled font.

Declaration

cs-api-definition
protected virtual Font GetScaledFont(float scale)

Parameters

scale

float

The scale.

Returns

Font

GetThemeEffectiveType()

Gets the type of the theme effective.

Declaration

cs-api-definition
public virtual Type GetThemeEffectiveType()

Returns

Type

Implements IStylableNode.GetThemeEffectiveType()

GetValue(RadProperty)

Retrieves the current value for the specified property.

Declaration

cs-api-definition
public override object GetValue(RadProperty property)

Parameters

property

RadProperty

Returns

object

Overrides RadObject.GetValue(RadProperty)

Invalidate()

Invalidates the UIChartElement.

Declaration

cs-api-definition
public virtual void Invalidate()

MeasureContentOverride(ChartNode, object)

Measures the content override.

Declaration

cs-api-definition
protected virtual RadSize MeasureContentOverride(ChartNode owner, object content)

Parameters

owner

ChartNode

The owner.

content

object

The content.

Returns

RadSize

OnAttached(UIChartElement)

Called when [attached].

Declaration

cs-api-definition
protected virtual void OnAttached(UIChartElement parent)

Parameters

parent

UIChartElement

The parent.

OnDettached()

Called when [dettached].

Declaration

cs-api-definition
protected virtual void OnDettached()

OnPropertyChanged(RadPropertyChangedEventArgs)

Raises the RadPropertyChanged event and the standard .NET PropertyChanged event to notify subscribers of property value changes.

Declaration

cs-api-definition
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

The RadPropertyChangedEventArgs containing information about the property change.

Overrides RadObject.OnPropertyChanged(RadPropertyChangedEventArgs)

Refresh()

Refreshes the UIChartElement.

Declaration

cs-api-definition
public virtual void Refresh()
In this article
DefinitionConstructorsUIChartElement()FieldsBackColor2PropertyBackColor3PropertyBackColor4PropertyBackColorPropertyBackgroundShapePropertyBorderBottomColorPropertyBorderBottomShadowColorPropertyBorderBottomWidthPropertyBorderBoxStylePropertyBorderColor2PropertyBorderColor3PropertyBorderColor4PropertyBorderColorPropertyBorderCornerRadiusPropertyBorderDashPatternPropertyBorderDashStylePropertyBorderDrawModePropertyBorderGradientAnglePropertyBorderGradientStylePropertyBorderInnerColor2PropertyBorderInnerColor3PropertyBorderInnerColor4PropertyBorderInnerColorPropertyBorderLeftColorPropertyBorderLeftShadowColorPropertyBorderLeftWidthPropertyBorderRightColorPropertyBorderRightShadowColorPropertyBorderRightWidthPropertyBorderTopColorPropertyBorderTopShadowColorPropertyBorderTopWidthPropertyBorderWidthPropertyClassPropertyCustomFontPropertyCustomFontSizePropertyCustomFontStylePropertyFontPropertyForeColorPropertyGradientAnglePropertyGradientPercentage2PropertyGradientPercentagePropertyGradientStylePropertyIsMouseDownPropertyIsMouseOverPropertyIsVisiblePropertyNumberOfColorsPropertyPaddingPropertyShapePropertySmoothingModePropertyVisualStatePropertyPropertiesBackColorBackColor2BackColor3BackColor4BackgroundShapeBorderBottomColorBorderBottomShadowColorBorderBottomWidthBorderBoxStyleBorderColorBorderColor2BorderColor3BorderColor4BorderCornerRadiusBorderDashPatternBorderDashStyleBorderDrawModeBorderGradientAngleBorderGradientStyleBorderInnerColorBorderInnerColor2BorderInnerColor3BorderInnerColor4BorderLeftColorBorderLeftShadowColorBorderLeftWidthBorderRightColorBorderRightShadowColorBorderRightWidthBorderTopColorBorderTopShadowColorBorderTopWidthBorderWidthChildrenChildrenHierarchyClassDpiScaleFactorFallbackToDefaultThemeFontForeColorGradientAngleGradientPercentageGradientPercentage2GradientStyleIsAttachedIsMouseDownIsMouseOverIsVisibleLevelNumberOfColorsPaddingParentShapeSizeSmoothingModeStateManagerStyleThemeRoleViewVisualStateMethodsAddStylePropertySetting(IPropertySetting)ApplyStyle()ApplyStyleByIndex(PropertySettingGroup, int)ApplyStyleSettingsCore(PropertySettingGroup)Attach(UIChartElement)BuildVisualState()Dettach()DpiScaleChanged(SizeF)GetCurrentShape()GetScaledFont(float)GetThemeEffectiveType()GetValue(RadProperty)Invalidate()MeasureContentOverride(ChartNode, object)OnAttached(UIChartElement)OnDettached()OnPropertyChanged(RadPropertyChangedEventArgs)Refresh()
Not finding the help you need?
Contact Support