Class SurfaceBase
Class which represents the surface base.
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public abstract class SurfaceBase : Control
Constructors
SurfaceBase()
Declaration
protected SurfaceBase()
Fields
BackWallBrushProperty
The DependencyProperty for BackWallBrush property.
Declaration
public static readonly DependencyProperty BackWallBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
BottomWallBrushProperty
The DependencyProperty for BottomWallBrush property.
Declaration
public static readonly DependencyProperty BottomWallBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ColorModelProperty
The DependencyProperty for ColorModel property.
Declaration
public static readonly DependencyProperty ColorModelProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EnableRotationProperty
The DependencyProperty for EnableRotation property.
Declaration
public static readonly DependencyProperty EnableRotationProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HeaderProperty
The DependencyProperty for Header property.
Declaration
public static readonly DependencyProperty HeaderProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
LeftWallBrushProperty
The DependencyProperty for LeftWallBrush property.
Declaration
public static readonly DependencyProperty LeftWallBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
PaletteProperty
The DependencyProperty for Palette property.
Declaration
public static readonly DependencyProperty PaletteProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
RotateProperty
The DependencyProperty for Rotate property.
Declaration
public static readonly DependencyProperty RotateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowBackWallProperty
The DependencyProperty for ShowBackWall property.
Declaration
public static readonly DependencyProperty ShowBackWallProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowBottomWallProperty
The DependencyProperty for ShowBottomWall property.
Declaration
public static readonly DependencyProperty ShowBottomWallProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ShowLeftWallProperty
The DependencyProperty for ShowLeftWall property.
Declaration
public static readonly DependencyProperty ShowLeftWallProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TiltProperty
The DependencyProperty for Tilt property.
Declaration
public static readonly DependencyProperty TiltProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
WallThicknessProperty
The DependencyProperty for WallThickness property.
Declaration
public static readonly DependencyProperty WallThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
BackWallBrush
Gets or sets brush for Back wall
Declaration
public Brush BackWallBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
BottomWallBrush
Gets or sets brush for bottom wall
Declaration
public Brush BottomWallBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
ColorModel
Gets or sets color model for surface
Declaration
public ChartColorModel ColorModel { get; set; }
Property Value
Type |
---|
ChartColorModel |
EnableRotation
Gets or sets value whether rotate the surface chart
Declaration
public bool EnableRotation { get; set; }
Property Value
Type |
---|
System.Boolean |
Header
Gets or sets title for Surface chart
Declaration
public object Header { get; set; }
Property Value
Type |
---|
System.Object |
LeftWallBrush
Gets or sets brush for left wall
Declaration
public Brush LeftWallBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The System.Windows.Media.Brush value. |
Palette
Gets or sets Palette for surface chart
Declaration
public ChartColorPalette Palette { get; set; }
Property Value
Type |
---|
ChartColorPalette |
Rotate
Gets or sets rotate angle value for surface chart
Declaration
public double Rotate { get; set; }
Property Value
Type |
---|
System.Double |
ShowBackWall
Gets or sets value whether show the back wall
Declaration
public bool ShowBackWall { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowBottomWall
Gets or sets value whether show the bottom wall
Declaration
public bool ShowBottomWall { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowLeftWall
Gets or sets value whether show the left wall
Declaration
public bool ShowLeftWall { get; set; }
Property Value
Type |
---|
System.Boolean |
Tilt
Gets or sets tilt angle value for surface chart
Declaration
public double Tilt { get; set; }
Property Value
Type |
---|
System.Double |
WallThickness
Gets or sets thickness for surface walls
Declaration
public WallThickness WallThickness { get; set; }
Property Value
Type |
---|
WallThickness |
Methods
Deserialize()
Method used deserialize and load the surface chart.
Declaration
public object Deserialize()
Returns
Type |
---|
System.Object |
Deserialize(String)
Method used to load the serialized XML from the given file path and load the surface chart.
Declaration
public object Deserialize(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath |
Returns
Type |
---|
System.Object |
PositionCamera(ProjectionCamera)
Declaration
protected virtual void PositionCamera(ProjectionCamera camera)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Media.Media3D.ProjectionCamera | camera |
Serialize()
Method used to serialize the surface chart and store in XML file.
Declaration
public void Serialize()
Serialize(String)
Method used to serialize the surface chart and store the XML file in the given file path location.
Declaration
public void Serialize(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath |