uwp-xaml Questions

3

Solved

I have a new philosophic question, which aims at underline differences between old WPF patterns and the new UWP ones. I would like to extend a standard control (e.g. a Button) with new properties,...
Psalmist asked 14/12, 2017 at 0:22

3

My CommandBarhas its IsOpen property set to true in XAML and therefore the is text for each button is visible as I want the descriptions to remain visible. When I click on ellipses button, it hide...
Updraft asked 12/4, 2016 at 12:16

8

Solved

It's possible to use the ObjectDataProvider in a WPF application to bind an enum's string values to a ComboBox's ItemsSource, as evidenced in this question. However, when using a similar snippet i...
Homoiousian asked 29/8, 2016 at 15:25

4

I'm trying to write a simple phone app using UWP that will insert an image from a Windows folder location into a table on SQLite and view it on the Windows phone. I found this article on technet f...

3

I'm currently looking at the UWP CommunityToolkit DataGrid. I've been through the docs, but I'm not finding them clear on how to apply a ColumnHeaderStyle. I'm not sure what I should be targeting i...
Flathead asked 30/8, 2018 at 19:28

4

Solved

I have dynamic added controls in my XAML UI. How I can find a specific control with a name.
Blackmail asked 29/6, 2016 at 22:17

5

Solved

Is there a way (either C# or XAML) I can maximize a UWP app window even after I resized and closed it previously on desktop? I have tried with ApplicationViewWindowingMode.FullScreen but this makes...
Peppel asked 31/5, 2017 at 0:8

2

Solved

I want to be able to define a style and set the style on the icon (or on the button that holds the icon). Setting the button h/w doesn't enlarge the symbol and adding a Viewbox works, but I can't ...
Syndesis asked 16/7, 2016 at 2:40

4

Solved

I need to remove the underline in the content of HyperLinkButton. TextDecorations does not exist in this XAML element. <HyperlinkButton x:Name="BtnTeste" Width="100" Height="50" BorderThickn...
Rack asked 15/9, 2015 at 19:36

4

Solved

I am working on a simple UWP project using data template binding in VS 2015. When ever I try to specify the type for the Datatemplate I get an error. XAML: <Page x:Name="RootPage" x:Class="Ada...
Woodchuck asked 5/7, 2016 at 1:41

1

Is there a way to print PDF from UWP application? Other than rendering it as png or BitmapImage. I had look at Microsoft printing sample and pdf rendering sample to achieve printing pdf by renderin...
Titanic asked 27/8, 2018 at 16:51

3

Solved

I'm trying to make a NavigationViewMenu and I need a menu layed out as follows static Home item static Header dynamic elements from DB as items static Header static set of items This is what I ...
Screw asked 24/10, 2017 at 2:59

4

I am trying to create a UWP button which will change background color when the mouse pointer hovers over it. The trouble I am having is that by default, it seems to already do this, but not to the ...
Malcom asked 4/8, 2016 at 23:4

5

Solved

I have learned that if the height of a grid row, where the ScrollViewer resides, is set as Auto, the vertical scroll bar will not take effect since the actual size of the ScrollViewer can be larger...
Reconnaissance asked 14/10, 2013 at 8:2

3

I have a UWP project and when i try to build it for ARM it builds fine, however, when I build it for x86 or x64 I am getting 'A project cannot have more than one ApplicationXaml item'. I have tried...
Burnight asked 10/12, 2018 at 1:21

3

Solved

Basically when using NavigationView, the settings item always shows up as a gear icon and a text of "Settings". Is it possible to change these two things?
Haftarah asked 18/7, 2018 at 11:50

1

Solved

I'm looking for a way to get the color that windows 10 chooses automatically depending on the background image as shown below. I tried searching, and found var color = (Color)this.Resources["Sy...
Geoid asked 12/9, 2019 at 6:53

3

I would like to add new item right before settings item (button) in NavigationView (https://learn.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/navigationview). I have no idea how to...
Tabulate asked 20/2, 2018 at 12:20

5

I Have a navigation view like this: <NavigationView MenuItemsSource="{Binding HamMneuItems}" IsPaneOpen="False" Margin="0,0,0,0" Grid.Row="0" Grid.RowSpan="2" CompositeMode="SourceOver"...
Wenzel asked 25/5, 2018 at 10:32

2

Solved

I have na uwp app (published in Windows/Microsoft Store), and the app title bar is normally this: I was doing some tests in my app (to test the fluent design system) and I made some changes and I...
Zambrano asked 27/10, 2017 at 15:47

3

Solved

I need to keep the HeaderTemplate of a ListView visible at all times, but I don't know what to set, or what part of the ListView's template to change to do that. What I currently have causes the h...
Auraaural asked 21/7, 2016 at 20:5

2

Solved

I'm using MediaElement to play sound in an Uno-Platform project. It plays well in the UWP project but doesn't work in the Android project. The audio file is located in the shared project as Exclu...
Casablanca asked 21/10, 2018 at 21:5

2

I have a UWP app with a NavigationView control. The navigation items are created by setting MenuItemsSource in the XAML to a collection of objects of type NavigationViewElement. <NavigationVie...
Snipes asked 27/12, 2018 at 23:25

1

Solved

I want to be able to dynamically add NavigationViewItems in my UWP app, but I can't figure out how to set the icons. NavigationViewItem.Icon in XAML is formatted: Icon="Page", which looks like it'...
Tunesmith asked 26/1, 2019 at 20:29

1

Solved

I have worked on both Functions in x:Bind (which is introduced in windows 10 build 14393) and IValueConverter to bind converted values to a property of an UI element. But, I would like to know whic...
Romish asked 15/12, 2018 at 19:11

© 2022 - 2025 — McMap. All rights reserved.