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
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!
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.