Not exactly sure if this is the place for my question. I am looking for some help/examples on how to use AutoHideSplitter, can't find one. Are the AutoHide controls available in the toolbox?
Thanks, Mihail
There is no AutoHideSplitter control, so it will not be in the toolbox. There is an AutoHideSplitterUIElement which is used when panes are unpinned and the user flies them out. What are you looking to do with the auto hide splitter that is not handled automatically by the dock manager?
I need a panel/navigation bar that will auto-colapse on the left side (not auto hide) when unpinned. Something like shrinking from the full size to let's say 1/10 of its width. It has to have borderstyle "round4". So it is not quite docking, the dock manager works if I am using it.
This would have to be a custom implementation. The AutoSplitterUIElement is designed to work specifically with the dock manager. As far as getting the border style to work correctly, you can try to set the Region on the control you use as a splitter and then use one of the Infragistics.Win.DrawUtility.DrawBorder overloads to draw a rounded 4 border on the parts of the control still in view.
If you have our source code downloaded, there are PinButton.ico and UnpinButton.ico files in the root folder of the dock manager project which you can use.
Thanks Mike! Is there a pushpinimage in Infragistics that I can use for my button?
Mihail
I don't think I can offer too much advice, because the pinning/unpinning you are trying to accomplish is different from what the dock manager does, but I would think you'd want to set the Dock property of a control to one of the sides. It should probably have a pin button on the edge of it and when that button is clicked, it increases or decreases its size. Then it should have the hosted control inside it and that control should handle the Resize event of its parent (the docked control) and scale itself according to its parent's size.
I was afraid of that... Any chance for some advice for the pin/unpin implementation for the control that I will use as a splitter?
Thanks for the help!