Click here to Skip to main content
15,884,977 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: defining a grid row within a grid column, wpf, c# Pin
Sutton Mehaffey12-Mar-12 4:50
Sutton Mehaffey12-Mar-12 4:50 
GeneralRe: defining a grid row within a grid column, wpf, c# Pin
Sutton Mehaffey12-Mar-12 4:51
Sutton Mehaffey12-Mar-12 4:51 
GeneralRe: defining a grid row within a grid column, wpf, c# Pin
Sutton Mehaffey12-Mar-12 4:52
Sutton Mehaffey12-Mar-12 4:52 
GeneralRe: defining a grid row within a grid column, wpf, c# Pin
Pete O'Hanlon12-Mar-12 4:59
mvePete O'Hanlon12-Mar-12 4:59 
GeneralRe: defining a grid row within a grid column, wpf, c# Pin
Sutton Mehaffey12-Mar-12 5:15
Sutton Mehaffey12-Mar-12 5:15 
GeneralRe: defining a grid row within a grid column, wpf, c# Pin
Pete O'Hanlon12-Mar-12 5:22
mvePete O'Hanlon12-Mar-12 5:22 
GeneralRe: defining a grid row within a grid column, wpf, c# Pin
Sutton Mehaffey12-Mar-12 5:32
Sutton Mehaffey12-Mar-12 5:32 
GeneralRe: defining a grid row within a grid column, wpf, c# Pin
Sutton Mehaffey12-Mar-12 15:33
Sutton Mehaffey12-Mar-12 15:33 
Pete,

Thanks. I got it. There was a missing Grid tag and one too many Column definitions.

Next question. If I have the following Grid (which is the same), why doesn't putting TextBlocks in Row 2 work? It always puts the two text blocks in Row 0, no matter what value I put in Grid.Row. Putting the Text in Grid.Columns 0,1, or 2 works fine. But, not the rows.

XML
<Grid Name="MiscGrid" ShowGridLines="True" Height="768" Width="1220">
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="330"></ColumnDefinition>
        <ColumnDefinition Width="700"></ColumnDefinition>
        <ColumnDefinition Width="*"></ColumnDefinition>
    </Grid.ColumnDefinitions>

    <Grid Grid.Column="0" Name="C1Grid" ShowGridLines="True">
        <Grid.RowDefinitions>
            <RowDefinition Height="120"></RowDefinition>
            <RowDefinition Height="180"></RowDefinition>
            <RowDefinition Height="330"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
    </Grid>

    <TextBlock Grid.Row="2" Height="20" HorizontalAlignment="Left" Margin="0,0,0,0" Text="ZONE DESCRIPTIONS" VerticalAlignment="Top" FontSize="16" />
    <TextBlock Grid.Row="3" Height="15" HorizontalAlignment="Left" Margin="0,0,0,0" Text="(25 chars max)" VerticalAlignment="Top" />

</Grid>

GeneralRe: defining a grid row within a grid column, wpf, c# Pin
Pete O'Hanlon12-Mar-12 22:32
mvePete O'Hanlon12-Mar-12 22:32 
GeneralRe: defining a grid row within a grid column, wpf, c# Pin
Sutton Mehaffey13-Mar-12 2:52
Sutton Mehaffey13-Mar-12 2:52 
GeneralRe: defining a grid row within a grid column, wpf, c# Pin
Pete O'Hanlon13-Mar-12 3:11
mvePete O'Hanlon13-Mar-12 3:11 
QuestionSliver light Pin
mehul_porject11-Mar-12 19:32
mehul_porject11-Mar-12 19:32 
AnswerRe: Sliver light Pin
Abhinav S11-Mar-12 19:56
Abhinav S11-Mar-12 19:56 
QuestionMVVM Master-Details project Pin
Geysser10-Mar-12 23:41
Geysser10-Mar-12 23:41 
AnswerRe: MVVM Master-Details project Pin
Abhinav S11-Mar-12 19:57
Abhinav S11-Mar-12 19:57 
AnswerRe: MVVM Master-Details project Pin
Mycroft Holmes11-Mar-12 21:21
professionalMycroft Holmes11-Mar-12 21:21 
GeneralRe: MVVM Master-Details project Pin
Geysser11-Mar-12 23:28
Geysser11-Mar-12 23:28 
GeneralRe: MVVM Master-Details project Pin
Mycroft Holmes12-Mar-12 1:07
professionalMycroft Holmes12-Mar-12 1:07 
GeneralRe: MVVM Master-Details project Pin
Geysser12-Mar-12 2:43
Geysser12-Mar-12 2:43 
GeneralRe: MVVM Master-Details project Pin
Pete O'Hanlon12-Mar-12 1:23
mvePete O'Hanlon12-Mar-12 1:23 
Questionmerge different pieces of a wmv files Pin
bruno.picardi10-Mar-12 9:00
bruno.picardi10-Mar-12 9:00 
QuestionUserControl Template Pin
michaelgr110-Mar-12 0:52
michaelgr110-Mar-12 0:52 
AnswerRe: UserControl Template Pin
Abhinav S10-Mar-12 19:18
Abhinav S10-Mar-12 19:18 
QuestionNext MVVM Discussion Pin
Kevin Marois9-Mar-12 6:39
professionalKevin Marois9-Mar-12 6:39 
AnswerRe: Next MVVM Discussion Pin
Mycroft Holmes9-Mar-12 12:37
professionalMycroft Holmes9-Mar-12 12:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.