Class AnnotationPanel
Represents the class to measure and arrange the annotation panel of Swimlane class.
Inheritance
System.Object
AnnotationPanel
Namespace: Syncfusion.UI.Xaml.Diagram.Panels
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class AnnotationPanel : Panel
Constructors
AnnotationPanel()
Creates new instance of AnnotationPanel class.
Declaration
public AnnotationPanel()
Methods
ArrangeOverride(Size)
To arrange the annotation panel elements with given size.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | finalSize | Size of the annotation panel. |
Returns
Type | Description |
---|---|
System.Windows.Size | Returns the panel size of annotation. |
MeasureOverride(Size)
To measure the annotation panel to given size.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | availableSize | Size of the panel. |
Returns
Type | Description |
---|---|
System.Windows.Size | Returns measured annotation size. |