From 647f70a248198f276f72f548089b642a4df3c5ec Mon Sep 17 00:00:00 2001 From: SanjayKumar Date: Wed, 8 Jul 2026 15:42:45 +0530 Subject: [PATCH] changes in ZOrdering.md file --- wpf/Image-Editor/ZOrdering.md | 54 ++++++++++++++++++++--------------- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/wpf/Image-Editor/ZOrdering.md b/wpf/Image-Editor/ZOrdering.md index 0679d2c566..133860525e 100644 --- a/wpf/Image-Editor/ZOrdering.md +++ b/wpf/Image-Editor/ZOrdering.md @@ -1,15 +1,15 @@ --- layout: post -title: Z ordering of shapes in syncfusion SfImageEditor WPF. -description: This section describes how to arrange the shapes added in the image editor as required by changing its Z order. +title: Z-Ordering of Shapes in Syncfusion SfImageEditor WPF +description: This section describes how to arrange the shapes added in the image editor as required by changing their Z-order. platform: wpf control: SfImageEditor documentation: ug --- -# Z ordering in WPF ImageEditor (SfImageEditor) +# Z-Ordering in WPF ImageEditor (SfImageEditor) -The image editor allows you to change the position of shapes that are arranged in the editor. This can be achieved using the following methods: +The image editor allows you to change the position of shapes arranged in the editor. This can be achieved using the following methods: 1. BringToFront 2. SendToBack @@ -20,56 +20,64 @@ The image editor allows you to change the position of shapes that are arranged i This method brings the selected shape to the front of all the shapes added in the image. -{% tabs %} +{% tabs %} -{% highlight C# %} +{% highlight C# %} - editor.BringToFront(); +using Syncfusion.UI.Xaml.ImageEditor; + +editor.BringToFront(); {% endhighlight %} -{% endtabs %} +{% endtabs %} ## BringForward -This method brings the selected shape to one step forward from its current position. +This method brings the selected shape one step forward from its current position. + +{% tabs %} -{% tabs %} +{% highlight C# %} -{% highlight C# %} +using Syncfusion.UI.Xaml.ImageEditor; - editor.BringForward(); +editor.BringForward(); {% endhighlight %} -{% endtabs %} +{% endtabs %} ## SendToBack -This method pushes the selected shape to the back of all the shapes added. +This method pushes the selected shape to the back of all the added shapes. -{% tabs %} +{% tabs %} -{% highlight C# %} +{% highlight C# %} - editor.SendToBack(); +using Syncfusion.UI.Xaml.ImageEditor; + +editor.SendToBack(); {% endhighlight %} -{% endtabs %} +{% endtabs %} ## SendBackward -This method pushes the selected shape one step back from its current position. +This method pushes the selected shape one step backward from its current position. + +{% tabs %} -{% tabs %} +{% highlight C# %} -{% highlight C# %} +using Syncfusion.UI.Xaml.ImageEditor; - editor.SendBackward(); +editor.SendBackward(); {% endhighlight %} -{% endtabs %} +{% endtabs %} ![Shapes](Images/ZOrdering.png) \ No newline at end of file