Hello. I am looking for the best way to approach shapes.
I want to have shapes that can be any shape, not square or round, but any shape and have events with each of them. Whether I need to import them from an image editor or if you have a control already. Something like a star but the boundaries are not square or round, they are actual star. If I click the button that says "Star" all my stars change from grey to yellow. Or if I click a star, a message tells me that I clicked a star. But if I click in the space that is not within the boundaries of the star, the event is not triggered. Is there any way Infragistics controls can help me with this?
I found the Ultra Button that does what I need except for a couple things.
It is not very smooth when I take an image and tell the button to be that shape. Very choppy edges.
How do I move the button text where I want it and can I have the text rotated, repositioned?
Hi,
I think it would require extensive use of our Creation or Draw Filters to customize the shape of our controls.
The other option is possibly to use non-rectangular custom shape forms.
Please let me know if you have further questions.
I’m just checking back if you have any follow-up questions.
Please let me know if there is anything I can help with further.
I'm sorry. I am unfamilliar with creation/draw filters. I just want to use teh feature that the button allows. But it doesnt matter what shape it is, it still looks rough and unprofessional. I am creating a map, so picture the map of the USA and all the states and what shape they are. When a person hovers over the state, it changes appearance and shows a popup. If there is a better way to accomplish this task with your controls, please let me know.
Sounds like what you need to look into if our WPF xamMap control .
You might want to take a look at the WPF online Documentation
http://help.infragistics.com/NetAdvantage/DV/2010.3/CLR4.0/?page=SL_DV_Developers_Guide_xamWebMap.html
Here is an article explaining how to host a WPF control in your Windows Form application.
http://community.infragistics.com/wpf/articles/hosting-a-wpf-control-in-a-windows-forms-application.aspx
Did you get a chance to look at the xamMap control? Do you have any further questions?
You’re welcome. Let me know if I can help further
I did not get a chance yet. This project is in early stages. I will have a look at it and if there are any issues I will let you know. But it does seem like it is the right control for me to use.
Thank you for suggesting it.