We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Set / Retrieve Layer Order

Thread ID:





41998 Mar 16,2006 11:53 PM UTC Mar 17,2006 03:01 PM UTC WinForms 1
Tags: Diagram
Eric Robishaw
Asked On March 16, 2006 11:53 PM UTC

I need to SET the Z-INDEX of a layer. Let''s say there are 5 layers, each with any number of objects. They are stacked like this: layer 1 layer 2 layer 3, etc... I want layer 3 to move UP, that is, to be between Layer 1 and 2. How do I do this? Do I remove the layer from the Layers Collection and then insert it at a different point? If I do this, will I lose all the layer''s objects? Maybe I should create a new layer, insert into the desired position, move all the objects from the source layer to the new dest, and then remove the original? Surely, there''s an easier way? I see how to move objects within the zorder, but I need to move the layers themselves (and their objects, of-course). Similar to Illustrator, or any other drawing program with layers. ALSO: How to get the current layer index for a layer? I found Layers.IndexOf(). Is that the only way. Does the layer itself not know its order? Thanks for your help.

Administrator [Syncfusion]
Replied On March 17, 2006 03:01 PM UTC

Hi ERobishaw, We are looking into the issue that you have mentioned here and will get back to you as soon as possible. Thanks for your patience. Regards, Meera.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon