windows phone 8.1 - Is there a Popup class in the SDK for WP8.1? -
is there popup class (or similar) in sdk windows phone 8.1?
system.windows.controls.primitives.popup
doesn't exist since system.windows.controls.
isn't available.
of course messagedialog , popupmenu, available, none of them seem have default behavior of dismissable information no buttons (and maybe non-modal).
must use custom user control?
in windows phone-rt popup class member of "windows.ui.xaml.controls.primitives" namespace. can define popup in xaml below:
<popup x:name="ppup" isopen="false" grid.row="2" > <stackpanel background="blue" height="100" width="400"> <textblock text="this pop control of xaml" fontsize="20" fontweight="bold"> </textblock> </stackpanel> </popup>
and in code behind can set isopen property true/false.
Comments
Post a Comment