Users Pricing

forum

Home Forums stackpanel within grid in windows phone does not work – MindStick

stackpanel within grid in windows phone does not work

Anonymous User 3232 18 May 2013
Hi Guys

I tried to do this but I got message error : "ColumnDefinition does not support direct content"

   <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="229">
                <StackPanel Margin="0,0,0,17" Grid.ColumnSpan="2">
                    <TextBlock Height="30" Name="l1" Text="first name" />
                    <TextBox InputScope="Number" Height="71" Name="firstName" Text="" Width="460" />
                </StackPanel>
            </ColumnDefinition>
            <ColumnDefinition Width="227">
                <StackPanel Margin="0,0,0,17" Grid.ColumnSpan="2">
                    <TextBlock Height="30" Name="l1" Text="first name" />
                    <TextBox InputScope="Number" Height="71" Name="firstName" Text="" Width="460" />
                </StackPanel>                        
            </ColumnDefinition>
        </Grid.ColumnDefinitions>
    </Grid>


Thanks 

1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md