Is it possible to change the height of an UltraExplorerBarGroup header?
Hi,
This is what I wrote about - you have to handle all elements in the controls.
So, after some research, the "Change groups header height" has been determined to be a new product idea. I have sent your idea directly to our product management team.
Our product team chooses new ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time.
Your reference number for this product idea is PI13060133.
If you would like to follow up on your request at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
Just got a chance to try your suggestion... as a simple test I implemented the following:
public class TestCreationFilter : Infragistics.Win.IUIElementCreationFilter {
public void AfterCreateChildElements(UIElement parent) { Console.WriteLine(parent.GetType().ToString()); if ((parent is UltraExplorerBarGroupHeaderUIElement) && ((parent as UltraExplorerBarGroupHeaderUIElement).Rect.Height > 20)) { Rectangle rect = parent.Rect; rect.Height = 20; parent.Rect = rect; } }
public bool BeforeCreateChildElements(UIElement parent) { return false; } }
This does work, but, this causes the explorer bar to take a VERY long time each time it redraws itself... if this is not easily achieved its not a big deal to me, I just thought I would ask.
Hello Pietro,
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.
A possible approach to achieve this might be by using a 'CreationFilter'.
You could read about it at the following link: http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.2/CLR4.0/html/Win_Creation_Filter.html. Here are some topics from our community which could also help you: http://community.infragistics.com/forums/t/34485.aspx, http://forums.infragistics.com/forums/t/47561.aspx http://community.infragistics.com/forums/t/58186.aspx, http://community.infragistics.com/forums/t/9989.aspx and http://community.infragistics.com/forums/t/50234.aspx. The above approach is not so recommended, because it features element resizing, creating or removing and could lead to some unexpected behaviors.
Please do not hesitate to ask if something comes up.