With the DockManager, is there a way to display an indicator like a small arrow when a tab is moved to another position? Somewhat like FireFox does here:
Thanks
Hi,
Could you please verify what exactly is your scenario with the Dock Manager and UltraTabControl control? If you are referring to the UltraTabControl you could change the property “AllowTabMoving” to “true” in it. This will allow you to move the tabs to another position with 2 small arrow during the moving.
If you have additional questions or I am missing something in your scenario please let me know.
Sincerely,
Georgi
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support
>what exactly is your scenario with the Dock Manager and UltraTabControl control?
I don't have an UltraTabControl control. I just have a DockManager and a series of docked UltraPanels. The DockManager automatically displays a Tab for each docked panels.
I can't seam to find the DockManager "AllowTabMoving" property that displays 2 small arrows during the moving.
Just to be clear, here's the scenario again:
Using a DockManager, I have several panels docked in the same area and each one is displaying a tab (in a tab row). When doing a drag&drop operation to move one of the tab from one position to another, there are no drop indicator to visually help the user. Is there a way to display a drop indicator? Something like Excel of Firefox displays when dragging a tab.
Hello AIRCOMServer,
The mentioned arrows are available if you are using UltraTabControl. In your scenario with UltraDockManager at that moment we have not such kind fucntionality with small arrows, but I think that you could used much better drop idicator for the users if you are using the properties below:
- DragIndicatorStyle = VisualStudio2008Vista
- DragWindowStyle = LayerWindowWithIndicators
- DragWindowOpacity = 0.3
- DragWindowColor = Color.DarkBlue
Please let me know if you have any questions.
Have you been able to resolve your issue ? Let me know if you have any further questions.
Regrads
Maybe will be possible if you are using CreationFilter and ImageUIElement. I made small sample where I`m using the code below:
public class CreatingUIElement : IUIElementCreationFilter { public static Image im; public static TabItemUIElement elm; public void AfterCreateChildElements(UIElement parent) { TabItemUIElement El = parent as TabItemUIElement; if (El != null && elm != null) { ImageUIElement img = new ImageUIElement(elm, im); img.Rect = new Rectangle(elm.Rect.X, elm.Rect.Y, 10, 20); img.Scaled = true; elm.ChildElements.Add(img); } } public bool BeforeCreateChildElements(UIElement parent) { return false; } }
public class CreatingUIElement : IUIElementCreationFilter
{
public static Image im;
public static TabItemUIElement elm;
public void AfterCreateChildElements(UIElement parent)
TabItemUIElement El = parent as TabItemUIElement;
if (El != null && elm != null)
ImageUIElement img = new ImageUIElement(elm, im);
img.Rect = new Rectangle(elm.Rect.X, elm.Rect.Y, 10, 20);
img.Scaled = true;
elm.ChildElements.Add(img);
}
public bool BeforeCreateChildElements(UIElement parent)
return false;
Please take a look at the attached video file to see the new behvaior. Let me know if you have any questions.
Regards
Hi Georgi,
Sorry for the late reply.
Thanks for the suggestion but this is not what we're looking for. Do you think it would be possible with some kind of drawfilter?