Hi.
I have an ultratoolbarmanager with a menubar and several toolbars. I would, however, like to add an image at the right side of the toolbar since there is a lot of space available.
My question is: Is is posible to put an image at the top right of the ultratoolbarmanager? Should this be done with a very vide image and then set strech options on the image, or is there a better solution?
Thanks
/Hykkel
Again, thanks.
I've never used a draw filter before, but I can see that this will not be the last time either!
There is no built in way to do this, but you can probably accomplish this with a draw filter. If you have never used a draw filter before, the following help article gives a brief overview:http://help.infragistics.com/Help/NetAdvantage/WinForms/2010.1/CLR2.0/html/Win_Draw_Filter.html
You would want to handle the BeforeDrawImageBackground phase for the UltraToolbarsDockAreaUIElement and draw your own image. You would have to align it to the right of the element manually, but you can use the Rect of the element to get its bounds.
Thanks again for your reply. Hope this illustrates my thoughts. I want to use the right unused side of the area to place a logo/image. I guess there is no built in functionallity for this in the framework. Hoped there might have been a background image property for the entire area, that I could have right alligned.
So it sounds like you want to place an image in the dock area. This will span all rows of toolbars and the main menu bar. However, the image will be behind the toolbars and main menu bar, so I don't think this will produce the result you are looking for. Can you post a screen shot example of what you are looking for?
Hi Mike.
Thanks for the reply. I will test it later (pretty hung up on another thing right now). But without testing it, I have a question.
Would this solution not create an image that did not cover from top to button inside the ultratoolbarmanager? What I mean is, that there are both a menubar and a toolbar. The image should not only be within the toolbar area, but also within the menubar area.
Kind regards
Hykkel