Reputation: 406
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
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
Reputation: 155
No, this is not provided in the SDK. You have to build it yourself.
Upvotes: -5