![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| | Mandatory "Grid.RowDefinitions" line in Feb CTP I read somewhere that in Feb CTP this has been "tightened up". That is to say, whereas it was possible to write <Grid> <RowDefinition Height="*"/> <RowDefinition Height="*"/> </Grid> you now MUST write <Grid> <Grid.RowDefinitions> <RowDefinition Height="*"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> </Grid> But this looks like a problem for me. In several control templates I have used the first of these styles because the compiler would not permit <Grid.RowDefinitions> in a control template. Does anyone know if I am going to be allowed to use <Grid.RowDefinitions> in a control template with Feb CTP or am I looking at all my control templates breaking ? -- Griff (trying to make an industrial UI with XAML/WPF/c#) |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Mandatory "Grid.RowDefinitions" line in Feb CTP The proper/new syntax will work inside of Data/ControlTemplates in FebCTP. "Griff" <Griff@discussions.microsoft.com> wrote in message news 7BE7CEA-F465-4A75-B31B-1B1631BB0163@microsoft.com...>I read somewhere that in Feb CTP this has been "tightened up". > That is to say, whereas it was possible to write > > <Grid> > <RowDefinition Height="*"/> > <RowDefinition Height="*"/> > </Grid> > > you now MUST write > > <Grid> > <Grid.RowDefinitions> > <RowDefinition Height="*"/> > <RowDefinition Height="*"/> > </Grid.RowDefinitions> > </Grid> > > But this looks like a problem for me. In several control templates I > have > used the first of these styles because the compiler would not permit > <Grid.RowDefinitions> in a control template. > > Does anyone know if I am going to be allowed to use > <Grid.RowDefinitions> > in a control template with Feb CTP or am I looking at all my control > templates breaking ? > > > -- > Griff > (trying to make an industrial UI with XAML/WPF/c#) |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| wscript.echo only a new line / embed a "CR" in a text string ? | VB Script | |||
| Displaying Sender's "FROM" line in Junk Mail Folder | Live Mail | |||
| reading a big file line by line to be "out of memory" safe | PowerShell | |||
| New powershell Analyzer with Suspendshell and Single Line "Immediate Mode" | PowerShell | |||
| "<SPACE> next page; <CR> next line; Q quit" not cleared in console | PowerShell | |||