flyout

Can't enter enter text in TextBox control inside Flyout

萝らか妹 提交于 2019-12-04 16:43:07
问题 I want to use the CommandBar and a Flyout to build something like this. The user should click the button in the CommandBar ( Flyout opens), then enter text in the TextBox and then click the button on the right of TextBox to start the search request. The problem is, that when I click at the TextBox I can't enter text. It seems that it loses the focus, before I can write something. Below is the sample code. Whats wrong? <Page.Resources> <DataTemplate x:Key="Search"> <Grid> <Grid

Can't enter enter text in TextBox control inside Flyout

被刻印的时光 ゝ 提交于 2019-12-03 11:51:42
I want to use the CommandBar and a Flyout to build something like this. The user should click the button in the CommandBar ( Flyout opens), then enter text in the TextBox and then click the button on the right of TextBox to start the search request. The problem is, that when I click at the TextBox I can't enter text. It seems that it loses the focus, before I can write something. Below is the sample code. Whats wrong? <Page.Resources> <DataTemplate x:Key="Search"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="200" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions>

XAML - MenuFlyoutItem attached to a ListView doesn't work in WP8.1

荒凉一梦 提交于 2019-12-02 18:07:43
问题 I develop an Universal app that uses the MVVM-Lght toolkit . On a page, I show a list of comments. I would like that an user could add a new comment, and edit or delete its existing comments. For adding new comment, I use an AppBarButton on the CommandBar and it works fine. For editing and deleting the existing comments, I would like to display a MenuFlyout that offers 2 items: " edit " and " delete ". I can display the MenuFlyout but nothing happens when I click on its items... Here is my

XAML - MenuFlyoutItem attached to a ListView doesn't work in WP8.1

隐身守侯 提交于 2019-12-02 10:42:16
I develop an Universal app that uses the MVVM-Lght toolkit . On a page, I show a list of comments. I would like that an user could add a new comment, and edit or delete its existing comments. For adding new comment, I use an AppBarButton on the CommandBar and it works fine. For editing and deleting the existing comments, I would like to display a MenuFlyout that offers 2 items: " edit " and " delete ". I can display the MenuFlyout but nothing happens when I click on its items... Here is my concerned xaml code: <ListView x:Name="myCommentaires" ItemsSource="{Binding Comments}"

How to show Popup/Flyout at clicked item in ListView/GridView in Windows Store App

旧时模样 提交于 2019-11-30 05:04:37
问题 I am working on a Windows Store App and would like to show some additional information about an Item that was clicked in ListView or GridView. This information should be shown in a Popup or Flyout (hast do be definded in C#, not in XAML) next to the clicked item. The Problem is, that the ItemClick event handler gives no information about the clicked visual item but only about the data item. Thus I have no information about where to show the Flyout or Popup on screen. 回答1: Use attached Flyout: