![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Splitbar blues In Win Forms 2.0 MS changed the splitbar to a double container. I really loved that decision. Now I am struggling again with WPF... Take a look at http://blogs.infosupport.com//images...eenShot_01.jpg look close at the vertical splitter, it is a tiny bit layered on top of the view on the left hand side. As far as I can see the order in which the gridcells and splitters are added to the grid seriously affects the layout. Does anybody know the rules that are being followed by these controls? Erno |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Splitbar blues Sorry, should have called it GridSplitter Blues Erno "Erno" <no-spam> wrote in message news:ORlkC$0JGHA.1288@TK2MSFTNGP09.phx.gbl... > In Win Forms 2.0 MS changed the splitbar to a double container. I really > loved that decision. > > Now I am struggling again with WPF... > > Take a look at > http://blogs.infosupport.com//images...eenShot_01.jpg > > look close at the vertical splitter, it is a tiny bit layered on top of > the view on the left hand side. > > As far as I can see the order in which the gridcells and splitters are > added to the grid seriously affects the layout. > > Does anybody know the rules that are being followed by these controls? > > Erno > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Splitbar blues From the MSDN: ---- Child controls of a Grid control are rendered in the order that they appear in markup or in code. Therefore, a GridSplitter control can be obscured by other controls that are rendered after the GridSplitter control is rendered. To make sure that a GridSplitter control is not obscured by other children of a Grid control, do one of the following: 1. Specify margins for the controls adjacent to GridSplitter controls in the markup or code. These margins make sure a GridSplitter control is reachable when other controls are layered on top. 2. Define the GridSplitter controls after all other controls in the markup or in code when defining a Grid control. Defining the GridSplitter controls last renders them on top of any other controls in the Grid. ---- Yep, that what I saw and I've got it working now... I find it a bit strange that the other controls have to know about the size of the splitter... Erno "Erno" <no-spam> wrote in message news:ORlkC$0JGHA.1288@TK2MSFTNGP09.phx.gbl... > In Win Forms 2.0 MS changed the splitbar to a double container. I really > loved that decision. > > Now I am struggling again with WPF... > > Take a look at > http://blogs.infosupport.com//images...eenShot_01.jpg > > look close at the vertical splitter, it is a tiny bit layered on top of > the view on the left hand side. > > As far as I can see the order in which the gridcells and splitters are > added to the grid seriously affects the layout. > > Does anybody know the rules that are being followed by these controls? > > Erno > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| No Blues, No Joy | Media Center | |||
| Bluetooth Blues | Drivers | |||
| MP3 player blues | Drivers | |||
| SIDEBAR BLUES, ANYONE? | Vista General | |||