Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Mandatory "Grid.RowDefinitions" line in Feb CTP

 
 
Old 03-17-2006   #1 (permalink)
Griff


 
 

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 SpecsSystem Spec
Old 03-22-2006   #2 (permalink)
Rob Relyea [MSFT]


 
 

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
news7BE7CEA-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 SpecsSystem Spec
 

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46