I've added a simple SplitterBarAppearance.ImageBackground to my DockMgr to give the user more of a visual clue that it's something you can click and drag around (4 little raised dots, similar to what's on a typical toolbar's grab handle).
BorderStyleSplitterBars is "raised", SplitterBarWidth is 7, SplitterBarAppearance.ImageBackgroundStyle is "centered", and my image is 16x5 px (horizontal view).
The result is great on a horizontal splitterbar, exactly what I was looking for. On vertical splitterbars, however, the image is not rotated to match the orientation of the scrollbar. (The horizontal image is clipped at 7 px wide, I get 1 of the 4 dots. lol)
Is there some way (a property?) to have the ImageBackground rotated, relative to the orientation of the splitterbar?
If not, what about programmatically? Handle an event (AfterDockChange?), inspect all the splitterbars' orientations (?), and programmatically set ImageBackground to either a horizontal or vertical image?
Not that this is all that big a deal, it just looks good horizontally, I'd sure like to do the same in the vertical.
TIA
You can try to handle AfterDockChange. I think you might also have to handle AfterToggleDockState. Alternatively, you can use a draw filter to draw your own images on the splitter bar UIElement. That way, you can ensure the image is properly oriented each time it draws. If you have never used a draw filter before, the following help article gives a brief overview:http://help.infragistics.com/Help/NetAdvantage/WinForms/2009.2/CLR2.0/html/Win_Draw_Filter.html