WP8: no popups?

I would like to program a small popup to get user input (text box, input box and two buttons). Which component could host these components? Apparently no class Popup?

+2
source share
2 answers

This is one main popup

<Popup  Name="m_Popup"  IsOpen="False" Opened="OnPoputOpen" Closed="OnPopupClose" >
        <Grid >
            <Grid.RowDefinitions>
                <RowDefinition Height ="auto"/>
                <RowDefinition Height="auto"/>
                <RowDefinition Height="auto"/>                                
            </Grid.RowDefinitions> 

            <TextBox Name="m_TextBox" Grid.Row="0"/>
            <Button Name="m_Button1" Grid.Row="1"/>
            <Button Name="m_Button2" Grid.Row="2"/>
        </Grid>
    </Popup>

You control visibility with IsOpen. Here is a link to the Popup Class

Good luck (:

+6
source

No, this is not provided in the SDK. You must create it yourself.

-5
source

Source: https://habr.com/ru/post/1545663/


All Articles