Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Mandatory "Grid.RowDefinitions" line in Feb CTP

Closed Thread
 
Thread Tools Display Modes
Old 03-17-2006   #1 (permalink)
Griff
Guest


 

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


 

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#)



Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying Sender's "FROM" line in Junk Mail Folder sarasota Live Mail 1 3 Weeks Ago 11:26 PM
Windows Mail News subject line held in "Indexed Location" perry Vista mail 2 08-14-2007 12:35 PM
reading a big file line by line to be "out of memory" safe freddy chavez PowerShell 8 08-02-2007 07:42 AM
New powershell Analyzer with Suspendshell and Single Line "Immediate Mode" klumsy@xtra.co.nz PowerShell 0 09-11-2006 11:35 PM
"<SPACE> next page; <CR> next line; Q quit" not cleared in console Jon Davis PowerShell 2 05-30-2006 12:44 PM








Vistax64.com 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 2005-2008

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 47 48 49 50