Hello Abhinav, Thanks for the reply. If you noticed my query, i am already making some custom shaped button. The actual requirement is about alignment of the controls, close to each other. Any control in .NET has a rectangular shape. We can see a rectangular shape around any control while adding to the UI. My question is regarding avoiding this rectangular shape. This alignment can be done by adding 2 of such buttons in a canvas or a single cell in a datagrid, by making the controls ovelapping each other (not the graphical area, only the transparent rectangular part of the control). But, if i need to add them in such a way in stack panel or any other container which adds controls next to each other, the second control is added only after the transparent rectangular part of the control. So, i am lloking for an option to change the underlying rectangular layout, whcih is not visible at run time. Is there any way to achieve this?
Best Regards, Abhilash