New to Telerik ReportingStart a free 30-day trial

Base appearance settings for any element being calculated

Definition

Namespace:Telerik.Reporting.Charting.Styles

Assembly:Telerik.Reporting.dll

Syntax:

C#
public class LayoutStyle : Style, IChartingStateManagedItem, IChartingStateManager

Inheritance: objectStateManagedObjectStyleLayoutStyle

Derived Classes: StyleChartStyleChartDataTableStyleLabelStyleMarkerStylePlotAreaStyleTextBlock...

Implements: IChartingStateManagedItemIChartingStateManager

Inherited Members Style.Clone()Style.BorderStyle.ShadowStyle.VisibleStateManagedObject.CloneState()StateManagedObject.SetDirty()StateManagedObject.Dispose()StateManagedObject.ViewStateIgnoresCase...

Constructors

Creates new instance of LayoutStyle class.

C#
public LayoutStyle(Dimensions dimensions)
Parameters:dimensionsDimensions

Dimensions of element.

Creates new instance of LayoutStyle class.

C#
public LayoutStyle(object containerObject)
Parameters:containerObjectobject

Container object

Creates new instance of LayoutStyle class.

C#
public LayoutStyle(Position position, Dimensions dimensions)
Parameters:positionPosition

Position of element

dimensionsDimensions

Dimensions of element.

Creates new instance of LayoutStyle class.

C#
public LayoutStyle(Position position)
Parameters:positionPosition

Position of element

Creates new instance of LayoutStyle class.

C#
public LayoutStyle(StyleBorder border, bool visible, ShadowStyle shadowStyle, Position position, Dimensions dimensions)
Parameters:borderStyleBorder

Border of element

visiblebool

Visibility of element

shadowStyleShadowStyle

Shadow

positionPosition

Position

dimensionsDimensions

Dimensions

Properties

Specifies the elements Dimensions property

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
[SkinnableProperty]
public virtual Dimensions Dimensions { get; }

Specifies the elements Position property

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[SkinnableProperty]
public virtual Position Position { get; }

Methods

Releases unmanaged and - optionally - managed resources

C#
protected override void Dispose(bool disposing)
Parameters:disposingbool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Overrides: Style.Dispose(bool)

Load data from ViewState

C#
protected override void LoadViewState(object savedState)
Parameters:savedStateobject

ViewState with data

Overrides: Style.LoadViewState(object)

Save data to ViewState

C#
protected override object SaveViewState()
Returns:

object

Saved data

Overrides: Style.SaveViewState()

Track ViewState

C#
protected override void TrackViewState()

Overrides: Style.TrackViewState()