C# Windows Phone 8.1日期选择器在单击时显示
我已经被困了几个小时,想知道如何通过点击菜单项激活datepickerDialog。 我想将按钮的点击事件链接到Datepickerpage的激活 这可能吗?我有什么选择 提前谢谢! 如果您使用的是标准日期选择器,那么一种方法可能是(也完全使用XAML)使用另一个日期选择器导出并绑定其日期:C# Windows Phone 8.1日期选择器在单击时显示,c#,datepicker,windows-phone-8.1,menuitem,C#,Datepicker,Windows Phone 8.1,Menuitem,我已经被困了几个小时,想知道如何通过点击菜单项激活datepickerDialog。 我想将按钮的点击事件链接到Datepickerpage的激活 这可能吗?我有什么选择 提前谢谢! 如果您使用的是标准日期选择器,那么一种方法可能是(也完全使用XAML)使用另一个日期选择器导出并绑定其日期: 我已经记得你了。昨天,你之前关于注册背景任务的帖子帮了我很多!我真诚的感谢罗马兹! <Grid Background="{ThemeResource ApplicationPageBackground
我已经记得你了。昨天,你之前关于注册背景任务的帖子帮了我很多!我真诚的感谢罗马兹!
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<DatePicker Date="{Binding ElementName=myDatePickerFlyout,Path=Date, Mode=TwoWay}"/>
</Grid>
<Page.BottomAppBar>
<CommandBar>
<CommandBar.PrimaryCommands>
<AppBarButton Icon="Setting">
<AppBarButton.Flyout>
<DatePickerFlyout x:Name="myDatePickerFlyout" />
</AppBarButton.Flyout>
</AppBarButton>
</CommandBar.PrimaryCommands>
</CommandBar>
</Page.BottomAppBar>