Z-Ordering in UWP Image Editor (SfImageEditor)

10 May 20211 minute to read

The image editor control allows to change the position of shapes/edits that are arranged over the editor. This can be achieved using the following methods:

  1. BringToFront
  2. SendToBack
  3. BringForward
  4. SendBackward

BringToFront

The BringToFront method is used to bring the selected shapes or text to the front in a group of elements over an image.

editor.BringToFront();

SendToBack

The SendToBack method is used to send the selected shapes or text to the back of a group of elements over an image.

editor.SendToBack();

BringForward

The BringForward method is used to bring the selected shapes/text to one step front of a group of elements over an image.

editor.BringForward();

SendBackward

The SendBackward method is used to send the selected shapes/text to one step backward of a group of elements over an image.

editor.SendBackward();