Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
Several Questions
posted

1. How can we change the ButtonTool's width individually. When I set the MaxWidth/Width/MinWidth of a ButtonTool, I am always told that The MaxWidth property cannot be set for a Infragistics.Win.UltraWinToolbars.ButtonTool tool.

2. Infragistics.Win.UltraWinToolbars.ButtonTool, we need MouseDown event. How do we be notified by the event? It's not available to us, I think.

3. Can we control how the UltraTab to be loaded. From what I feel is that ultratab/ultracontrol are created asynchronizely. Can we create the ultra control in the synchronized means?

Thanks.

Parents
  • 44743
    posted

    zhenghong04 said:
    1. How can we change the ButtonTool's width individually. When I set the MaxWidth/Width/MinWidth of a ButtonTool, I am always told that The MaxWidth property cannot be set for a Infragistics.Win.UltraWinToolbars.ButtonTool tool.

    The ButtonTool does not support having it's width set. These properties are for editor tools and the LabelTool only.

    zhenghong04 said:
    2. Infragistics.Win.UltraWinToolbars.ButtonTool, we need MouseDown event. How do we be notified by the event? It's not available to us, I think.

    The event is not publicly exposed on the ButtonTool, but you can hook the MouseDown of the ButtonTool's UIElement property. You must access this property on the instance tool (the tool from the Tools collection of the toolbar, menu, or ribbon group which owns it). Keep in mind, the UIElement can be null if the tool is not visible.

    zhenghong04 said:
    3. Can we control how the UltraTab to be loaded. From what I feel is that ultratab/ultracontrol are created asynchronizely. Can we create the ultra control in the synchronized means?

    The tab control is not loaded asynchronously. What is it you are looking to accomplish with the tab control?

Reply Children