Hi,
I am having issues in setting the pressed-apperance of popupMenuTools. Can't seem to find the property that will do that. not on the tool itself nor in the app-stylist.
No mather what .isl file I load, when pressing a popupmenutool on a toolbar, it's style is just plain normal Office07 blue. the normal and hover work just fine.
Hello Jankol,
We are still following this forum thread.
Please feel free to let us know if you have any other questions with this matter.
Sorry for the late reply,
So the only way to change the pressed appearance is to change the popupmenu tooltype to SegmentedButton?
But I do not need a segmented button! This is supposed to be used in the main menu of our application, it is supposed to be a single dropdown button, not segmented. We have no need for that and it would only confuse our users.
Why is this only possible on segmented tooltype? Should it not be available globaly, like every other component?
Thank you for the sample.
In order to have the pressed appearance visible to the customer you would have to set your PopupMenuTool2 to be SegmentedStateButton, so the PressedState will apply to this style, where there is another state - pressed state.
popupMenuTool2.DropDownArrowStyle = Infragistics.Win.UltraWinToolbars.DropDownArrowStyle.SegmentedStateButton;In order to see it, just click the text and move your mouse away.Please feel free to let me know if you have any other questions with this matter.
This is not a good souliton to my problem.
The segmentedStateButton type only allowes expation of the menu when the user clicks the Arrow on the button. Clicking the button itself will not expand the menu.
When you press on the normal, popupMenuTool1 there is clearly a PressedApperance assigned to the tool, but there is no way for us developers to control that appearance!
I don't understand why it is so dificult to make the normal (not segmented) PopupMenuTool to have controlable\editable PressedApperance, like other controls. Is there a way to do this via the AppStylist?
Additional note to what I have provided in my previous mail is that you would be able to change the HotTracked appearance of the PopupMenu tool in the very next service release. The bluish color that you are seeing now (the default one of Office2007) in an issue in the version that you are using and it will be fixed.In order to have differnent HotTracked color when you press the desired PopupMenuTool, you would be able to change it accordingly through the AppearanceSmall.HotTrackAppearance as overall change or just to change how it will look the hot track appearance when it is used in the Toolbar as in your case: AppearancesSmall.HotTrackAppearanceOnToolbarIf you have any other questions please feel free to let us know.
Thank you for your assistance on this issue!
But I hope you mean "PressedAppearance" and not HotTracked, since it is the PressedAppearance that I am having issues with, not HotTracked. The HotTracked color\image work just fine.
I have discussed this behavior further with our development team and the tool's PressedAppearance is used when the tool has to maintains its state(via it's Checked property) being checked. This applies when the StateButtonTools and PopupToolBase(this is the one that is being inherited from the PopupMenu tool) having their DropDownArrowStyle set to SegmentedStateButton. The correct and designed behavior of the PopupMenu tool(when is it not being set to SegmentedStateButton) is when it is dropped down to apply its HotTracked appearance. If you have any other questions or concerns about this matter please feel free to let us know.
You are welcome.
The estimated date of the next service release where the fix of this will be included is 11 May 2012. If you would like you could take a look at our service release calendar please do it here:http://es.infragistics.com/support/service-releases.aspx#ServiceReleasesIf you have any other questions I will be glad to assist you further.
Ah ok! I get it now :)
Thank you for explaining. This is good.
When can we expect a service release where this would be included?
What you are seeing in the base version of the NetAdvantage for Windows Forms 2011 vol2 - 1010 is both an issue in the IG theme and the version itself, because the PopupMenu tool is not honoring the HotTracked appearance and showing something completely different - a style from Office2007Blue theme. Since this behavior is neither desired, nor expected, we have change it, so in the latest internal build it behaves as it should and now the PopupMenu tool does honor its HotTracked appearance in both scenarios - when it is being just hot tracked, and when it is being dropped down. I would like to apologize for any inconveniences that this caused you already.
If I could assist you further, I will be really glad to do so.
But in the test-project that I added for you earlier, you can clearly see that it is not the case.
The IG.isl style file, allready has a hotTracked image added to the PopupMenu tool, and it is only shown while HotTracked. When you PRESS the popupmenu tool, and it is dropped down, the color changes to something totaly different, office2007blue style.
So no, the HotTracked apperance does not change the droppedDown hotTracked apperance of the popupmenu tool.
Currently the PopupMenuTool is using the very same HotTracked appearance when it is being DroppedDown and when it isn't.
If you would like I could submit a new product idea for you, where I will explain the desired functionallity that you would like to our PopupMenu tool to have.If there is anything else that I could do for you please feel free to let us know.