Hi Marek,
We have analyzed your query regarding “Margin for
working area”. We can set margin for the diagram page by the following three
methods are,
1. SizeToContent: It allows diagram page to have
maximum area upto the bottom most and right most element in diagram page.
2. BoundaryConstarint: It allows diagram page to
have defined boundary, it can be set through both code behind and dynamic. We should
disable SizeToContent, while using BoundaryConstraints.
3. PageMargin : This is to set margin for diagram page. Beyond
that element couldn’t be moved.
We have created sample to meet your requirements, in
which we have applied above three methods simultaneously through button to
define working area. Please find the sample and video from attached file.
For more information please go to our online user guide
documentation and the links are given below.
SizeToContent : http://help.syncfusion.com/User%20Interface/WPF/Diagram à Concepts and
Features à
Diagram View àSizeToContent.
BoundaryConstarint: http://help.syncfusion.com/User%20Interface/WPF/Diagramà
Concepts and Features à Diagram View àSizeToContent
à
Defining Diagram Page.
PageMargin: : http://help.syncfusion.com/User%20Interface/WPF/Diagramà
Concepts and Features à Diagram View à
PageMargin.
Please let us know if you require further assist on
this.
Regards,
Parthiban A.
WorkingAreaMargin_77c9bc51.zip