Class LabelLayerControl3D
This class represents a container for labels in the 3D space.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class LabelLayerControl3D : ContainerUIElement3D, INotifyPropertyChanged, ITreeElement3D, ITreeNode3D
Constructors
LabelLayerControl3D(ChartArea)
Initializes a new instance of the LabelLayerControl3D class.
Declaration
public LabelLayerControl3D(ChartArea owner)
Parameters
ChartArea
owner
The owner. |
Methods
AddLabel(Control, Point3D, Point)
Adds new label to the corresponding label layer.
Declaration
public void AddLabel(Control label, Point3D position3D, Point alignment2D)
Parameters
System.Windows.Controls.Control
label
The label to add. |
Point3D
position3D
Relative position in the 3D space. |
System.Windows.Point
alignment2D
2D alignment applied to the label. |
CreateLabel(Object, Point3D, Point)
Creates new label to the corresponding label layer.
Declaration
public void CreateLabel(object dataContext, Point3D position3D, Point alignment2D)
Parameters
System.Object
dataContext
Data context. |
Point3D
position3D
Relative position in the 3D space. |
System.Windows.Point
alignment2D
2D alignment applied to the label. |
CreateLabel(Object, Point3D, Point, Visibility)
Creates new label to the corresponding label layer.
Declaration
public void CreateLabel(object dataContext, Point3D position3D, Point alignment2D, Visibility visibility)
Parameters
System.Object
dataContext
The data context. |
Point3D
position3D
The position3 D. |
System.Windows.Point
alignment2D
The alignment2 D. |
System.Windows.Visibility
visibility
The visibility. |
OnVisibilityChanged()
Called when the visibility of the UIElement3D has changed.
Declaration
protected override void OnVisibilityChanged()
Overrides
Reset()
Clear all labels from the current layer.
Declaration
public void Reset()
UpdateChildrenVisibility()
Updates the visibility of the labels that belong to the respective layer.
Declaration
public void UpdateChildrenVisibility()
UpdateChildVisibilityAtIndex(Int32, Visibility)
Updates the visibility of the child at the specified index.
Declaration
public void UpdateChildVisibilityAtIndex(int index, Visibility visibility)
Parameters
System.Int32
index
The index. |
System.Windows.Visibility
visibility
The visibility. |