From 14bd9388072eccefe68792f51cc074107d6615b6 Mon Sep 17 00:00:00 2001 From: Satish Raj <154953536+satishraj-sf4377@users.noreply.github.com> Date: Fri, 14 Jun 2024 14:37:22 +0530 Subject: [PATCH 1/5] WPF-889895-Corrected the Issues --- wpf/Diagram/Page-Settings.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/wpf/Diagram/Page-Settings.md b/wpf/Diagram/Page-Settings.md index 8c1e69e756..359fcdf10d 100644 --- a/wpf/Diagram/Page-Settings.md +++ b/wpf/Diagram/Page-Settings.md @@ -9,7 +9,7 @@ documentation: ug # Page Settings in WPF Diagram (SfDiagram) -By default, Diagram's page size is decided based on the position of diagramming elements. The size and appearance of the diagram pages can be customized using the [PageSettings](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html ) property of SfDiagram. +By default, Diagram's page size is decided based on the position of diagramming elements. The size and appearance of the diagram pages can be customized using the [`PageSettings`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html ) property of SfDiagram. * The [`PageWidth`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PageWidth) and [`PageHeight`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PageHeight) properties of `PageSettings` define the size of the page. * The [`PageOrientation`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PageOrientation) property of `PageSettings` used to change the page orientation to portrait or landscape. @@ -316,17 +316,17 @@ Find the [Page Settings sample](https://github.com/SyncfusionExamples/WPF-Diagra ## See Also -[How to add or remove grid lines for diagram page](/wpf/diagram/gridlines) +[How to add or remove grid lines for diagram page?](/wpf/diagram/gridlines) -[How to define scroll setting for diagram page](/wpf/diagram/scroll-settings/scrollstatusandautoscroll) +[How to define scroll setting for diagram page?](/wpf/diagram/scroll-settings/scrollstatusandautoscroll) -[How to add rulers for diagram page](/wpf/diagram/rulers) +[How to add rulers for diagram page?](/wpf/diagram/rulers) -[How to print the diagram pages](/wpf/diagram/printing) +[How to print the diagram pages?](/wpf/diagram/printing) -[How to export the diagram page](/wpf/diagram/exporting) +[How to export the diagram page?](/wpf/diagram/exporting) -[How to interact with diagram page ](/wpf/diagram/interaction) +[How to interact with diagram page?](/wpf/diagram/interaction) [How to add multiple diagram pages?](https://www.syncfusion.com/kb/11463/how-to-add-multiple-diagram-pages-in-the-wpf-diagram-sfdiagram) From d765b6c9b16a7be803c433f2434aca29d7b28fe1 Mon Sep 17 00:00:00 2001 From: Satish Raj <154953536+satishraj-sf4377@users.noreply.github.com> Date: Tue, 25 Jun 2024 17:16:42 +0530 Subject: [PATCH 2/5] Revert "WPF-889895-Corrected the Issues" Removed the Highlighting This reverts commit 14bd9388072eccefe68792f51cc074107d6615b6. --- wpf/Diagram/Page-Settings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpf/Diagram/Page-Settings.md b/wpf/Diagram/Page-Settings.md index 359fcdf10d..9ab8cdbb27 100644 --- a/wpf/Diagram/Page-Settings.md +++ b/wpf/Diagram/Page-Settings.md @@ -9,7 +9,7 @@ documentation: ug # Page Settings in WPF Diagram (SfDiagram) -By default, Diagram's page size is decided based on the position of diagramming elements. The size and appearance of the diagram pages can be customized using the [`PageSettings`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html ) property of SfDiagram. +By default, Diagram's page size is decided based on the position of diagramming elements. The size and appearance of the diagram pages can be customized using the [PageSettings](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html ) property of SfDiagram. * The [`PageWidth`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PageWidth) and [`PageHeight`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PageHeight) properties of `PageSettings` define the size of the page. * The [`PageOrientation`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PageOrientation) property of `PageSettings` used to change the page orientation to portrait or landscape. From f8979e9bcb66d0441819c95f3eb0841604171433 Mon Sep 17 00:00:00 2001 From: Satish Raj <154953536+satishraj-sf4377@users.noreply.github.com> Date: Tue, 25 Jun 2024 17:36:16 +0530 Subject: [PATCH 3/5] WPF-889895-Highlighted the property as suggested in the review --- wpf/Diagram/Page-Settings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpf/Diagram/Page-Settings.md b/wpf/Diagram/Page-Settings.md index 9ab8cdbb27..e5e8951b35 100644 --- a/wpf/Diagram/Page-Settings.md +++ b/wpf/Diagram/Page-Settings.md @@ -9,7 +9,7 @@ documentation: ug # Page Settings in WPF Diagram (SfDiagram) -By default, Diagram's page size is decided based on the position of diagramming elements. The size and appearance of the diagram pages can be customized using the [PageSettings](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html ) property of SfDiagram. +By default, Diagram's page size is decided based on the position of diagramming elements. The size and appearance of the diagram pages can be customized using the [PageSettings](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html ) property of `SfDiagram`. * The [`PageWidth`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PageWidth) and [`PageHeight`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PageHeight) properties of `PageSettings` define the size of the page. * The [`PageOrientation`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PageOrientation) property of `PageSettings` used to change the page orientation to portrait or landscape. From 3a36611313248360960298d8113b6596c8101177 Mon Sep 17 00:00:00 2001 From: Satish Raj <154953536+satishraj-sf4377@users.noreply.github.com> Date: Wed, 26 Jun 2024 12:07:24 +0530 Subject: [PATCH 4/5] WPF-889895-Removed the Highlights from the properties with link as suggested in the review --- wpf/Diagram/Page-Settings.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpf/Diagram/Page-Settings.md b/wpf/Diagram/Page-Settings.md index e5e8951b35..900a2e6205 100644 --- a/wpf/Diagram/Page-Settings.md +++ b/wpf/Diagram/Page-Settings.md @@ -11,9 +11,9 @@ documentation: ug By default, Diagram's page size is decided based on the position of diagramming elements. The size and appearance of the diagram pages can be customized using the [PageSettings](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html ) property of `SfDiagram`. -* The [`PageWidth`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PageWidth) and [`PageHeight`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PageHeight) properties of `PageSettings` define the size of the page. -* The [`PageOrientation`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PageOrientation) property of `PageSettings` used to change the page orientation to portrait or landscape. -* Page breaks are used as a visual guide to see how the pages split into multiple pages. The [`ShowPageBreaks`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_ShowPageBreaks) property decides the Visibility of Page breaks. +* The [PageWidth](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PageWidth) and [PageHeight](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PageHeight) properties of `PageSettings` define the size of the page. +* The [PageOrientation](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PageOrientation) property of `PageSettings` used to change the page orientation to portrait or landscape. +* Page breaks are used as a visual guide to see how the pages split into multiple pages. The [ShowPageBreaks](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_ShowPageBreaks) property decides the Visibility of Page breaks. {% tabs %} {% highlight xaml %} From 99159a80fbb20b366074b8ca27d11c84c706550d Mon Sep 17 00:00:00 2001 From: Satish Raj <154953536+satishraj-sf4377@users.noreply.github.com> Date: Wed, 26 Jun 2024 12:10:00 +0530 Subject: [PATCH 5/5] WPF-889895-Removed All of the Highlights from the properties with link as suggested in the review --- wpf/Diagram/Page-Settings.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/wpf/Diagram/Page-Settings.md b/wpf/Diagram/Page-Settings.md index 900a2e6205..d45a82b741 100644 --- a/wpf/Diagram/Page-Settings.md +++ b/wpf/Diagram/Page-Settings.md @@ -51,7 +51,7 @@ diagram.PageSettings = new PageSettings() ## How to enable the multiple page -Based on the diagramming element position, the size of the page dynamically increases or decreases in multiples of page width and height using the [`MultiplePage`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_MultiplePage) property of PageSettings. +Based on the diagramming element position, the size of the page dynamically increases or decreases in multiples of page width and height using the [MultiplePage](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_MultiplePage) property of PageSettings. {% tabs %} {% highlight xaml %} @@ -131,7 +131,7 @@ diagram.PageSettings = new PageSettings() ## How to change the margin around the pages -The area between the main content of a page and the page edges can be changed by using the [`PrintMargin`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PrintMargin) property. Default value is 24. +The area between the main content of a page and the page edges can be changed by using the [PrintMargin](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PrintMargin) property. Default value is 24. {% tabs %} {% highlight xaml %} @@ -164,7 +164,7 @@ diagram.PageSettings = new PageSettings() ## How to change the unit of the page -The measurement units of the page can be changed by using the [`Unit`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_Unit) property of `PageSettings` class. Default unit value is Pixels. +The measurement units of the page can be changed by using the [Unit](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_Unit) property of `PageSettings` class. Default unit value is Pixels. {% tabs %} {% highlight xaml %} @@ -199,7 +199,7 @@ diagram.PageSettings = new PageSettings() ## How to change the scaling of Page -The [`PrintScale`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PrintScale) property of `PageSettings` class allows you to reduce or enlarge the diagram page to fit into specific area when you print it. The default scaling of the page will be 1 (i.e 100%). +The [PrintScale](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_PrintScale) property of `PageSettings` class allows you to reduce or enlarge the diagram page to fit into specific area when you print it. The default scaling of the page will be 1 (i.e 100%). {% tabs %} {% highlight xaml %} @@ -233,7 +233,7 @@ diagram.PageSettings = new PageSettings() {% endhighlight %} {% endtabs %} -You can restrict the diagram page scaling to minimum and maximum values by using the [`MinimumPrintScale`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_MinimumPrintScale) and [`MaximumPrintScale`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_MaximumPrintScale) properties. +You can restrict the diagram page scaling to minimum and maximum values by using the [MinimumPrintScale](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_MinimumPrintScale) and [MaximumPrintScale](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_MaximumPrintScale) properties. {% tabs %} {% highlight xaml %} @@ -273,7 +273,7 @@ diagram.PageSettings = new PageSettings() By default, origin of the diagram page will be at (0,0). A virtual method `AdjustPageOrigin` of PageSettings class is used to customize the origin of the page based on the page size (`PageWidth` and `PageHeight`) and diagram elements position, which in turn helps to reduce the number of pages being printed. -The `AdjustPageOrigin` method contains the [`Info`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_Info) property in its argument, and also have the following properties and methods: +The `AdjustPageOrigin` method contains the [Info](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.PageSettings.html#Syncfusion_UI_Xaml_Diagram_PageSettings_Info) property in its argument, and also have the following properties and methods: | Properties/Methods | Description | Output | |---|---|---|