Questions tagged [winrt-xaml]

This tag is for the XAML UI framework specific to Windows-Store-Apps on Windows-8. WinRT-XAML is a subset of the general XAML specification and a superset of Windows-Phone-8 XAML.

This tag is for the XAML UI framework (codename “Jupiter”) specific to Windows 8’s Windows Runtime (“WinRT”). WinRT XAML is used to build Windows Store Apps (codename “Metro Apps”). WinRT-XAML supports .Net languages and C++/CX. The WinRT XAML API is an evolution of Silverlight XAML API which targets cross-browser applications, which in turn is an evolution of WPF XAML which targets desktop applications. WinRT XAML is the superset of the XAML used for Windows Phone 8 applications.

3984 questions
1
vote
1 answer

Prevent the listview from scrolling to its top position when ItemSource changed Windows 8.1

So is there a way to stop scrolling up ? I have listview's scrollview and i tryed saving last position and in listview size changed scroll down - but it first scrolls down and later up ;/ Maybe there is some different event or completly different…
Jakub Wisniewski
  • 2,189
  • 4
  • 20
  • 34
1
vote
2 answers

TextBox gaining unwanted focus

I have a simple xaml page with one TextBox and a RichTextBlock. Inside that RichTextBlock there are some InlineUIContainers. But when the user presses a button, I remove through code an InlineUIContainer. This goes well, but each time this is done,…
Depechie
  • 6,102
  • 24
  • 46
1
vote
1 answer

Windows Phone-esque app bar in Win RT apps

I would like to create an app bar like the one in the image below with XAML if possible, can this be achieved? In I'm also wondering if it is possible for an app bar to open when the user taps or clicks the 3 dots: XAML
wbk727
  • 8,017
  • 12
  • 61
  • 125
1
vote
1 answer

How to set the Background color animation in Silver light and WinRT in code behind?

In WPF we can animate the back ground color for the particular control by using below code: AssociatedObject.Background.BeginAnimation(SolidColorBrush.ColorProperty, ColorAnimation); But I don't know how to animate the same in Silverlight and WinRT…
user4231685
1
vote
1 answer

How does one access embedded solution files in a PCL class

I'm trying to read PCL content file that I'm adding with the resource. the ideal use case for this is a REST service mock where I want to host a few json files for testing the Network services. I want to be able to read these json files as an…
Jay Kannan
  • 1,372
  • 3
  • 14
  • 30
1
vote
0 answers

Clicking button when keyboard is up

I am having a strange problem in Windows phone. I am making a chat app and there's a Send Button near the message TextBox. When the user done typing he/she can hit send to send the text. However when Send Button is tapped the keyboard gets hidden…
0xC0DED00D
  • 19,522
  • 20
  • 117
  • 184
1
vote
1 answer

Update SQLite db & use updated records in same async fuction

I'm using this method to update a tuple of a particular table public async void Update(MyTable entity) { SQLiteAsyncConnection conn = new SQLiteAsyncConnection(path); await conn.UpdateAsync(entity); } Reference:…
Gk_999
  • 508
  • 8
  • 29
1
vote
0 answers

How to Access DataTemplate inside a ResourceDictionary in code behind in WinRT?

I have defined a DataTemplate inside a ResourceDictionary. I need to access the DataTemplate in the code behind. (i.e) I need to set this DataTemplate defined inside a ResourceDictionary to a ContentControl.ContentTemplate property in the code…
Harikrishnan
  • 1,474
  • 2
  • 11
  • 25
1
vote
0 answers

Manipulating image (translate + scale) and then crop the image in Universal App?

After 2 frustrating days of trying to build an image cropper control I turn to StackOverflow to find an answer. I'm porting my WP8.0 (Silverlight) app to WinRT (Universal app for WP8.1 and W8.1), and I got everything covered... Except the page where…
Niels
  • 2,496
  • 5
  • 24
  • 38
1
vote
1 answer

WinRT: ItemsPanel with specified xPos und yPos for each Item

I'm quite new to programming WinRT/C#/XAML, so please excuse if this is a simple question for you. I would like to arrange an amount of images (which shall be clickable in the future) on some kind of background (Panel, Canvas, Grid, you name it). So…
1
vote
1 answer

WinRT - Get all controls from codebehind

In certain matters I need all my controls to be set as ReadOnly. All of my controls have a x:Name directive and its being used in order to set for each control. Well when the Page starts to have a little more controls it becomes ineffective in my…
MartinZPetrov
  • 316
  • 5
  • 20
1
vote
0 answers

How to make fixed header in grouped listview for windows store

How to make sticky group header in Windows store like grouped listview in Windows phone with sticky header? While scrolling down through the list, the current group's header should remain visible until the next header reaches it.
kadben
  • 185
  • 2
  • 14
1
vote
1 answer

WinRT ListView hide ScrollBar?

I am using WinRT XAML ListView in my desktop app. While user interact with the listview, it shows a vertical scroll bar on the side. I want to hide this scroll bar always. I did some search with no luck. I've tried…
Allan Jiang
  • 11,063
  • 27
  • 104
  • 165
1
vote
1 answer

Can a HTML/WinJS View use a user control built in XAML/C#?

I am hesitant to develop a Windows Phone app in the HTML/WinJS Universal App space because of the difficulty of building complex user controls. Before I go the XAML/C# route, I would like to find out if it is possible to use a user control built in…