winrt-xaml Questions

2

In WPF it is possible for a FrameworkElement derived class to provide its own children via AddVisualChild. This way it is possible to implement your own virtualized controls which only generate the...
Genagenappe asked 27/11, 2015 at 16:7

3

I am creating an AppBarButton in code behind file of XAML view. Currently, I have AppBarButton defined in XAML as below: <AppBarButton x:Name="SelectVisitAppBarButton" x:Uid="AppBar_TransferVis...
Strage asked 29/12, 2016 at 9:4

2

Solved

I've created a Metro-style C#/XAML application, and now I'm trying to add it to version control (Git and, later, GitHub). That means figuring out which files belong in version control and which don...
Rivalee asked 3/7, 2012 at 1:56

2

Solved

I want to set my own customs app bar icons which I downloaded . How can I set that this doesnot work <AppBarButton x:Name="save" Click="save_Click" Label="Save" Icon="Assets/icon/1.png" /> ...
Allx asked 1/6, 2014 at 20:55

5

Solved

When you create an AppBar or a CommandBar in a UWP app, there's always an ellipsis hiding near the side of the control, like so: I don't want it in my app but I haven't found any methods/propert...
Linkwork asked 3/8, 2015 at 16:4

2

Solved

How can i add a header to a listview in xaml? I have this listview with a DataTemplate and cannot figure out how to get a header for the both text blocks. <ListView Name="myListView" Grid.Row="...
Reverie asked 6/2, 2016 at 0:17

3

say I have added many textboxes. How to iterate or loop thru all the textboxes and do some checking. Check if each textbox's content is a number. Below is the code for winForm, how to do in in Win...
Chuchuah asked 2/8, 2013 at 4:48

1

Solved

I have created and used bool to visibility converters before and the other day, I forgot to use a converter on the binding (I am using traditional binding). I bound the visibility property of the c...
Stringhalt asked 27/12, 2016 at 14:58

1

Solved

Inside my xaml page, I have a dynamically generated ListBox, Textblocks and Textboxes in a Stack Panel and it also has a "Page.BottomAppBar" which consists the CommandBar at the bottom of the page....
Juanitajuanne asked 2/11, 2016 at 11:5

1

Solved

My Windows Phone 8.1 apps bottom part gets under the software navigation keys. I use ApplicationViewBoundsMode.UseCoreWindow to make the page stay over the software navigation keys. But as a result...
Partheniaparthenocarpy asked 21/11, 2016 at 9:56

4

Solved

I am trying to follow the MVVM pattern in my Windows 8.1 store app (XAML). I want to navigate to a new view when a GridViewItem is clicked / tapped in the UI. I wanted to do this without code behi...
Icelander asked 12/11, 2013 at 21:24

3

Solved

I want to align my single AppBarButton to the right on a CommandBar in a Page.BottomBar? In design it shows the app bar button at the right side but in the emulator, the button is always at the c...
Nedry asked 26/8, 2014 at 12:48

6

Solved

I have this flipview: <FlipView x:Name="models_list" SelectionChanged="selectionChanged"> <FlipView.ItemTemplate> <DataTemplate> <Grid x:Name="cv"> <Image x:Name="im...
Frantic asked 4/5, 2013 at 14:30

3

I am working with a WebView in a Windows 8.1 xaml app and need to handle navigation to a custom protocol ie. "app://12345". I have the WebView navigating off to a website for authentication which ...
Leanto asked 14/10, 2013 at 3:25

7

Solved

I'm having an EditText and a Button in my Frame using C#. After writing inside the edit field and clicking on the Button, I want to hide the virtual soft keyboard.
Magdala asked 23/5, 2012 at 6:12

2

Solved

I have a WinRT/C#/XAML app with a view that has a vertical ListView of items. Depending on the amount of items the ListView shows a vertical scrollbar. Here's the XAML definition: <UserControl....
Clyster asked 24/8, 2012 at 11:23

5

Solved

The Windows Dev Center states regarding the UseTouchAnimationsForAllNavigation property: The XAML FlipView control supports three modes of navigation; touch-based, button-based and programmatic....
Cambell asked 23/1, 2014 at 10:21

1

This is my Dependency property: public static readonly DependencyProperty ButtonTapSoundProperty = DependencyProperty.RegisterAttached("ButtonTapSound", typeof (Uri), typeof (ButtonDependencyObje...
Sinuosity asked 1/8, 2016 at 16:50

4

Solved

Left side of my page I have a vertical StackPanel with the following elements: 1 TextBlock 1 vertical StackPanel with multiple elements that fills the available space I am trying to make the se...
Hermaphrodite asked 10/3, 2013 at 0:41

2

While developing UWP application I recently found quite a few memory leaks preventing my pages from being collected by GC. I have a ContentPresenter on my page like: <ContentControl Grid.Column...
Conflagration asked 15/9, 2015 at 8:36

4

I'd like to use a FlipView to display some items and start showing a specific item. For this, I have defined a view model class: class MyDataContext { public MyDataContext() { Items = new Lis...
Ayr asked 4/5, 2012 at 1:7

2

Solved

I want to disable Tile effect that is some kind of pushed effect and hover background color effect of ListView control, how can i do that? Thanks
Shaver asked 3/8, 2012 at 7:5

1

Solved

On a Windows 8.1 Metro app, I'm trying bind a collection of shapes from my view model into MainPage.xaml. Each shape will have a Left, Top and also a PathData which will be a RectangleGeometry that...
Icao asked 14/6, 2016 at 18:36

4

Solved

I want to get the count of a ListView items. But it uses a Template, therefore, I need to use AncestorType, I have a code that in WPF works fine, but in Windows Store Apps 8 not, because there is n...
Nelidanelie asked 7/9, 2013 at 8:41

3

Solved

How can I manipulate a Frame's history in a WinRT XAML app? The user will start on my hub page, where they can select an existing project to go to its edit screen, or they can select "new project"...
Jackal asked 30/6, 2012 at 23:55

© 2022 - 2024 — McMap. All rights reserved.