Christian Graf
Christian Graf

Reputation: 406

WP8: no popup available?

I'd like to programm a tiny popup to get some user input (a textarea, a input field and two buttons). What component could host these components? Apparently there is no Popup class?

Upvotes: 2

Views: 3914

Answers (2)

Swift Sharp
Swift Sharp

Reputation: 2623

This is one basic 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 the visibility with IsOpen. Here is a link to Popup Class

Good luck (:

Upvotes: 6

Boland
Boland

Reputation: 155

No, this is not provided in the SDK. You have to build it yourself.

Upvotes: -5

Related Questions