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
145
How to add controls to the webxamdiloguewindow?
posted

Hi ,

Please tell me how do i add controls to the webxam dilogue window? and how do i place the controls in particular location? we can not edit this in blend right? so please tell me how do i do in codebehind  c#? waiting for reply. i want to add Textarea and one button in that. plase help

 

Thanks

 

 

  • 12631
    Verified Answer
    posted

    Also, you can edit the control in Blend.

    Devin

  • 640
    Verified Answer
    posted

    Hi ,

    you can add controls as XamWebDialogWindow content using ContentTemplate property.

    <Grid x:Name="LayoutRoot" Background="White">

    <Grid.Resources>

    <DataTemplate x:Key="DWContentStackPanel">

    <StackPanel Width="400" Height="300" Background="Beige" Orientation="Vertical">

    <TextBlock Text="StackPanel With Controls" Margin="10,10,10,10" Width="200" Height="30"></TextBlock>

    <Button Width="100" Height="30" Margin="10,10,10,10" Content="Click"></Button>

    <TextBox Width="100" Height="30" Margin="10,10,10,10"></TextBox>

    </StackPanel>

    </DataTemplate>

    </Grid.Resources>

    <igDW:XamWebDialogWindow Width="400" Height="300" ContentTemplate="{StaticResource DWContentStackPanel }" />

    >

    Dimitrina Siderova