I might be going down the wrong path here but here is some
background to why I am asking about disabling drag and drop at design time and
am open to other solutions to my problem.
I am looking to add multiple shapes to create a representation of a piece of
equipment and while it operates have the shapes move on the screen in
coordination with the equipment. The visual studio power pack shapes was an
option but had a problem they had to be placed on the form in the exact order
you wanted them you could not use bring to front or send to back. This caused a
major problem as the equipment is complex and needs many shapes and to add each
item in the exact sequence is un feasible.
I noticed while doing some other work Telerik had a shape designer and this
feature seemed like a good option to create all different shapes for my
equipment representation. I tried to find the least complex telerik component
such as a label or panel to apply the shape to. The problem I am having is when
I drag shapes on top of each other the Design time Designer adds the shape to
the other shape as if it were a control container. If I could stop them from
acting as control containers this would be a workable solution to my problem.
If anyone has any suggestions to this problem or a different solution I would appreciate
it.
My requirements.
1. Able to design multiple different shapes and layer them on top of each other.
The control needs to clip its region around the shape so you can see the shapes
behind.
2. The shapes need a boarder
3. The fill and boarder colors need to be able to change at run time
4. The shape needs to be able to move and its visibility changed at run time
Not required but a nice to have is a way to group the shapes together as one
larger shape collection able to be placed on top of other shapes or collections
maintaining the ability to see shapes underneath.
background to why I am asking about disabling drag and drop at design time and
am open to other solutions to my problem.
I am looking to add multiple shapes to create a representation of a piece of
equipment and while it operates have the shapes move on the screen in
coordination with the equipment. The visual studio power pack shapes was an
option but had a problem they had to be placed on the form in the exact order
you wanted them you could not use bring to front or send to back. This caused a
major problem as the equipment is complex and needs many shapes and to add each
item in the exact sequence is un feasible.
I noticed while doing some other work Telerik had a shape designer and this
feature seemed like a good option to create all different shapes for my
equipment representation. I tried to find the least complex telerik component
such as a label or panel to apply the shape to. The problem I am having is when
I drag shapes on top of each other the Design time Designer adds the shape to
the other shape as if it were a control container. If I could stop them from
acting as control containers this would be a workable solution to my problem.
If anyone has any suggestions to this problem or a different solution I would appreciate
it.
My requirements.
1. Able to design multiple different shapes and layer them on top of each other.
The control needs to clip its region around the shape so you can see the shapes
behind.
2. The shapes need a boarder
3. The fill and boarder colors need to be able to change at run time
4. The shape needs to be able to move and its visibility changed at run time
Not required but a nice to have is a way to group the shapes together as one
larger shape collection able to be placed on top of other shapes or collections
maintaining the ability to see shapes underneath.