Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
490
XamWebDialogWindow-Adding content Programatically
posted

Hi,

 

I want to add a lable,textbox and buttons inside XamWebDialogWindow programatically.

How can I add more than one control to XamWebDialogWindow's Content Property Programtically?

Thanks

  • 40030
    Verified Answer
    Offline posted

    Hi, 

    You would use a panel, such as as a Grid, StackPanel, Canvas,  etc. 

    <ig:XamWebDialogWindow>
    <Grid>
        <Grid.RowDefinitions>
           <RowDefinition /> 

           <RowDefinition />

    </Grid.RowDefinition>
    <Button />
    <TextBox Grid.Row="1"/>

    </Grid>
     </ig:XamWebDialogWindow>

    -SteveZ