Class SurfaceAxisLabelLayout
Class which represents the surface axis label layout.
Inheritance
System.Object
SurfaceAxisLabelLayout
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public abstract class SurfaceAxisLabelLayout
Constructors
SurfaceAxisLabelLayout(SurfaceAxis, List<UIElement>)
Declaration
protected SurfaceAxisLabelLayout(SurfaceAxis axis, List<UIElement> elements)
Parameters
Type | Name | Description |
---|---|---|
SurfaceAxis | axis | |
System.Collections.Generic.List<System.Windows.UIElement> | elements |
Fields
Margin
Declaration
protected Thickness Margin
Field Value
Type |
---|
System.Windows.Thickness |
Properties
Axis
Declaration
protected SurfaceAxis Axis { get; set; }
Property Value
Type |
---|
SurfaceAxis |
Children
Declaration
protected List<UIElement> Children { get; }
Property Value
Type |
---|
System.Collections.Generic.List<System.Windows.UIElement> |
ComputedSizes
Holds the width and height of the element after rotating.
Declaration
protected List<Size> ComputedSizes { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<System.Windows.Size> |
DesiredSizes
Holds the width and height of the element without rotating.
Declaration
protected List<Size> DesiredSizes { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<System.Windows.Size> |
RectssByRowsAndCols
Declaration
protected List<Dictionary<int, Rect>> RectssByRowsAndCols { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<System.Collections.Generic.Dictionary<System.Int32, System.Windows.Rect>> |
Methods
Arrange(Size)
Method declaration for Arrange.
Declaration
public virtual void Arrange(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | finalSize |
CalcBounds(Double)
Declaration
protected virtual void CalcBounds(double size)
Parameters
Type | Name | Description |
---|---|---|
System.Double | size |
CreateAxisLayout(SurfaceAxis, List<UIElement>)
Method used to create the axis layout.
Declaration
public static SurfaceAxisLabelLayout CreateAxisLayout(SurfaceAxis chartAxis, List<UIElement> elements)
Parameters
Type | Name | Description |
---|---|---|
SurfaceAxis | chartAxis | |
System.Collections.Generic.List<System.Windows.UIElement> | elements |
Returns
InsertToRowOrColumn(Int32, Int32, Rect)
Declaration
protected void InsertToRowOrColumn(int rowOrColIndex, int itemIndex, Rect rect)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowOrColIndex | |
System.Int32 | itemIndex | |
System.Windows.Rect | rect |
IntersectsWith(Rect, Rect, Int32, Int32)
Declaration
protected bool IntersectsWith(Rect r1, Rect r2, int prevIndex, int currentIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Rect | r1 | |
System.Windows.Rect | r2 | |
System.Int32 | prevIndex | |
System.Int32 | currentIndex |
Returns
Type |
---|
System.Boolean |
Measure(Size)
Method declaration for Measure
Declaration
public virtual Size Measure(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | availableSize |
Returns
Type |
---|
System.Windows.Size |
SurfaceLayoutElements()
Returns desired height
Declaration
protected virtual double SurfaceLayoutElements()
Returns
Type |
---|
System.Double |