var selElementsZOrder = graphicsLayer.GetSelectedElements(); //list out the z order foreach (var elem in selElementsZOrder) System.Diagnostics.Debug.WriteLine($"{elem.Name}: z-order {elem.ZOrder}");
var selElementsZOrder = layout.GetSelectedElements(); //list out the z order foreach (var elem in selElementsZOrder) //At 2.x - System.Diagnostics.Debug.WriteLine($"{elem.Name}: z-order {elem.GetZOrder()}"); System.Diagnostics.Debug.WriteLine($"{elem.Name}: z-order {elem.ZOrder}");
Target Platforms: Windows 11, Windows 10