Class ChartAnnotationsPresenter
Represents annotations items control.
Inheritance
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class ChartAnnotationsPresenter : ItemsControl, IDisposable, IChartSerializer
Constructors
ChartAnnotationsPresenter()
Declaration
public ChartAnnotationsPresenter()
Methods
ArrangeOverride(Size)
Called to arrange and size the content of a System.Windows.Controls.Control object.
Declaration
protected override Size ArrangeOverride(Size arrangeBounds)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Size | arrangeBounds | The computed size that is used to arrange the content. |
Returns
| Type | Description |
|---|---|
| System.Windows.Size | The size of the control. |
Deserialize(String)
Method declaration for DeSerialize
Declaration
public object Deserialize(string xamlString)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | xamlString |
Returns
| Type |
|---|
| System.Object |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
MeasureOverride(Size)
Called to remeasure a control.
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Size | constraint | The maximum size that the method can return. |
Returns
| Type | Description |
|---|---|
| System.Windows.Size | The size of the control, up to the maximum specified by |
OnMouseLeftButtonDown(MouseButtonEventArgs)
Invoked when an unhandled System.Windows.UIElement.MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.MouseButtonEventArgs | e | The System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was pressed. |
OnMouseMove(MouseEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.MouseEventArgs | e | The System.Windows.Input.MouseEventArgs that contains the event data. |
OnMouseUp(MouseButtonEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseUp(MouseButtonEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.MouseButtonEventArgs | e | The System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the mouse button was released. |
PrepareContainerForItemOverride(DependencyObject, Object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.DependencyObject | element | Element used to display the specified item. |
| System.Object | item | Specified item. |
Serialize()
Method declaration for Serialize
Declaration
public string Serialize()
Returns
| Type |
|---|
| System.String |
Events
ChartAnnoationDragged
Event for ChartAnnoationDragged
Declaration
public event ChartAnnotationDragEventHandler ChartAnnoationDragged
Event Type
| Type |
|---|
| ChartAnnotationDragEventHandler |
ChartAnnotationDragging
Event for ChartAnnotationDragging
Declaration
public event ChartAnnotationDragEventHandler ChartAnnotationDragging
Event Type
| Type |
|---|
| ChartAnnotationDragEventHandler |
ChartAnnotationDropped
Event for ChartAnnotationDropped
Declaration
public event ChartAnnotationDropEventHandler ChartAnnotationDropped
Event Type
| Type |
|---|
| ChartAnnotationDropEventHandler |
ChartAnnotationDropping
Event for ChartAnnotationDropping
Declaration
public event ChartAnnotationDropEventHandler ChartAnnotationDropping
Event Type
| Type |
|---|
| ChartAnnotationDropEventHandler |