Dimensions
Dimensions base class
Definition
Namespace:Telerik.Charting.Styles
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class Dimensions : StateManagedObject, IChartingStateManagedItem, IChartingStateManager, ICloneable
Inheritance: objectStateManagedObjectDimensions
Derived Classes:
Implements:
Inherited Members
Constructors
Create new instance of Dimensions class.
public Dimensions()
Create new instance of Dimensions class.
public Dimensions(ChartMargins margins, ChartPaddings paddings)
Margins of element
paddingsChartPaddingsPaddings of element
Create new instance of Dimensions class.
Create new instance of Dimensions class.
Create new instance of Dimensions class.
Fields
Specifies the margins properties
protected ChartMargins dimensionsMargins
Specifies the paddings properties
protected ChartPaddings dimensionsPaddings
Properties
Gets and sets Auto sizing mode
[SkinnableProperty]
public virtual bool AutoSize { get; set; }
True if auto size, false - if not.
Specifies the height property
[TypeConverter(typeof(UnitConverter))]
public virtual Unit Height { get; set; }
Height value of Unit type.
Specifies the margins properties
[TypeConverter(typeof(MarginsConverter))]
[SkinnableProperty]
public virtual ChartMargins Margins { get; set; }
Margins for element
Specifies the paddings properties
[TypeConverter(typeof(PaddingsConverter))]
[SkinnableProperty]
public virtual ChartPaddings Paddings { get; set; }
Paddings for element
Methods
Clone this object.
public virtual object Clone()
New instance of Dimensions class with the same fields as this object.
Implements:
Gets hash code.
Returns True if dimensions width and height are zero values
Load data from ViewState.
protected override void LoadViewState(object savedState)
ViewState with data
Overrides:
Reset Height to default value.
protected virtual void ResetHeight()
Gets if Width property should be serializable.
protected virtual void ResetWidth()
Save data to ViewState.
Copy dimensions from the object.
Gets if Height property should be serializable.
protected virtual bool ShouldSerializeHeight()
If Height property should be serializable.
Gets if Width property should be serializable.
protected virtual bool ShouldSerializeWidth()
If Width property should be serializable.
Track ViewState.
protected override void TrackViewState()
Overrides: