winrt-xaml Questions
2
Solved
When using traditional {Binding} syntax you could specify element name to point to a specific control on the page, and be able to access its properties. For example if the page is named page you co...
Volitant asked 29/9, 2015 at 17:7
3
In a Windows Store Application I have the following TextBlock:
<TextBlock Text="Seriously long text for the purpose of showing tooltip"
TextTrimming="CharacterEllipsis" />
How do I autom...
Moderator asked 6/2, 2014 at 22:37
2
There are very helpful tools out there to debug WPF applications in run-time like Snoop, WPF Inspector and Xaml Spy which allow you to sneak peek into running application and monitor property value...
Overcash asked 26/7, 2013 at 13:9
4
Solved
I tried InkScape & XPS method, but it doesn't give me correct XAML.
Can anyone please convert this SVG to WinRT compatible XAML ?
Windowlight asked 4/9, 2013 at 21:25
3
Solved
I have a UWP Question. How can I change style of a Button when it’s Disabled (IsEnabled=False)?
Moccasin asked 15/7, 2015 at 17:27
4
Solved
I have the following font files.
MyFont-Regular.tff
MyFont-Bold.tff
MyFont-Italic.tff
How do I use them?
I can do the following,
<TextBlock
FontFamily="/Fonts/MyFont/MyFont-Regular.ttf#M...
Zapateado asked 20/1, 2016 at 15:0
3
Solved
I have a TextBlock with a long line of text which I want to wrap. I've placed the TextBlock within a ViewBox expecting the text size to change while still wrapping, however this doesn't seem to hap...
Strawworm asked 18/7, 2013 at 8:7
2
Solved
I'm currently designing a windows 8 store app using XAML but I have a minor sizing issue. I have a ListView with a DataTemple.
The code for my ListView & DataTemplate are below:
<ListView x:...
Labana asked 25/2, 2013 at 12:46
3
Solved
There are a lot of samples for C#, but only some code snippets for C++ on MSDN. I have put it together and I think it will work, but I am not sure if I am releasing all the COM references I have to...
Xymenes asked 4/12, 2012 at 17:41
2
Using syscall in Go how can I call the UWP APIs within Windows 10? I have seen and tried many win32 examples, but when I tried using System.WindowsRuntime.dll it was a no-go; specifically, I receiv...
Wingover asked 23/3, 2017 at 14:29
5
Solved
In XAML I do it like this:
<Button Style="{StaticResource NavigationBackButtonNormalStyle}" />
How do I do the same thing in code-behind?
Digestif asked 1/7, 2015 at 16:4
3
Solved
I have a basic login page,
<TextBox x:Name="UsernameInput" HorizontalAlignment="Left" TextWrapping="Wrap" Text="{Binding Username, Mode=TwoWay}" VerticalAlignment="Center" Grid.Row="0" Grid.Co...
Snowber asked 3/7, 2013 at 15:2
4
Solved
I've attached the KeyDown event to a ListView in my Win 10 UWP app. I want to make VirtualKey.Enter have a special effect, but the event is not firing for this particular key. Neither does it for S...
Knave asked 22/5, 2016 at 16:1
5
Solved
I found this example on MSDN that shows some ways to configure a textblock:
A lot of it seems to work for me, but this part fails:
textBlock.Background = Brushes.AntiqueWhite;
The "Background" ...
Labbe asked 14/3, 2013 at 1:30
1
Solved
Currently in UWP apps multiple windows for an app are running in different UI threads, which makes development difficult (to run in the current dispatcher), In MSBuild 18 microsoft announced that n...
Hilaire asked 1/6, 2018 at 8:58
4
Solved
Does it matter whether I create event handlers for PointerPressed, Click, or Tapped?IOW, is there any functional difference between the following:
<Button x:Name="BackButton" PointerPressed="Ba...
Patmos asked 10/11, 2012 at 2:8
3
Solved
I'm currently using DatePicker’s control, where I tried to limit the dates to show MinDate & Maxdate. Unfortunately I couldn't find any related method to set the Min and Max days/Month except f...
Mafalda asked 15/9, 2015 at 3:20
5
Solved
How do I programmatically add text with line breaks to a textblock?
If I insert text like this:
helpBlock.Text = "Here is some text. <LineBreak/> Here is <LineBreak/> some <LineBre...
Arguelles asked 23/3, 2013 at 1:34
2
There are various related questions that give a hint how to add a new XAML Page properly to a WinRT/C++ project in Visual Studio, but none are specific to C++/WinRT. (I.e, here, here, and here.)
F...
Caius asked 16/7, 2019 at 19:40
3
Solved
How do I take an object and convert it to a JSON string and then back into that object from a string, specifically, in WinRT for my Windows 8 Metro application?
Steam asked 10/6, 2012 at 1:47
3
I am using an image hosted on a server in my C#/XAML WinRT app. When that image is downloaded, I want it to fade in. I noticed the FadeInThemeAnimation which is what I was hoping to use. But, I wan...
Allomorph asked 30/6, 2012 at 11:33
4
Solved
Is there a way to smoothly animate a ScrollViewers vertical offset in Windows Phone 8.1 Runtime?
I have tried using the ScrollViewer.ChangeView() method and the change of vertical offset is not an...
Alis asked 4/10, 2014 at 23:3
5
I have image (PNG) files used by my GridView as part of its DataTemplate. If I try to delete a specific object row in my GridView, I would delete the related image file for that row as well. The im...
Misapprehension asked 5/12, 2012 at 7:44
2
Solved
I have just started using MvvmCross, but i didn't find any info about to how i can execute UI code from a ViewModel.
On Caliburn there are coroutine so i can access the view and keep the ui code ...
Ioyal asked 23/3, 2013 at 18:54
2
Solved
I am trying to center a selected item in a ListView inside a ScrollViewer and struggling to calculate the vertical offset that I should be setting the ScrollViewer relative to the ListView.
The fo...
Toffic asked 23/3, 2014 at 19:9
1 Next >
© 2022 - 2024 — McMap. All rights reserved.