Windows Runtime (WinRT) is a Microsoft platform architecture that allows applications to run in a sandboxed environment exposing a 'Windows Modern Style' UI/UX. Not to be confused with Windows RT, the edition of Windows 8 for ARM devices; see windows-rt.
0
votes
1answer
5 views
Retrieve display value of combobox winrt
I set the DisplayMemberPath of a comboBox as well as the ItemsSource, now i'm trying to retrieve the selectedText that is displayed but there is no selectedText property. I tried
string s = ...
0
votes
1answer
17 views
Name table in SQLite-net
I'm building a Windows 8 C#/XAML app that uses SQLite as a storage database, and I'm trying to create multiple tables using the SQLite-net syntax.
From what I've researched so far, a table is ...
0
votes
1answer
16 views
Adding Custom UI to a Canvas
So I want to create a UIElement which will act like a graph. I could add specific points to the graph and it will be rendered on the screen. For ease I want to be able to just add it to my canvese ...
0
votes
0answers
6 views
Video in Metro applications
I need to do real-time video call in Windows Metro app. I have some starting point (initial GUI and the cross platform video call part), but I'm not sure what I need to use for capturing and showing ...
0
votes
0answers
11 views
Toast Dismiss not working in C# Windows 8
I have even registered for my Toast Notification:
toast.Dismissed += Toast_Dismissed;
I have handler for it as:
private void Toast_Dismissed(ToastNotification sender, ToastDismissedEventArgs e)
...
0
votes
0answers
15 views
How to set binding & dynamic values to dynamically line series chart with help WinRT XAML Toolkit?
I need to create n line series in a chart with help of WinRT XAML Toolkit. I want to use custom style of line color, custom data point style & custom tool tip. If I have fixed number of series I ...
1
vote
1answer
30 views
Getting the error “The name does not exist in the current context” when trying to reference a user control
I wanted to standardize popup in my application. So I created a user control for it and reference it as follow:
<!--<Popup x:Name="LoginPopup" Grid.ColumnSpan="2" Grid.RowSpan="2" ...
0
votes
0answers
15 views
Measure inactivity time
I'd like to implement a rather simple functionality that would log the user out of the Windows Store app after a certain inactivity timeout expires.
What would be the best way to achieve this?
I ...
0
votes
0answers
25 views
How to change ViewState programmatically?
In the News app if you open an article in snapped view, it will show a "Read article" button.
When that is clicked, the News app expands to filled view and pushes the current filled view to the ...
0
votes
1answer
39 views
ListView - Stretch header to full width
I have a simple ListView inside of a grid which take the full page (see screenshow below). I was able to stretch the rows of the ListView to the full width of the container using a style ...
0
votes
1answer
13 views
How to pass an instance of an ancestor control in XAML?
I'm looking to pass a property from the OuterDialog user control, into the InnerDialog as follow:
<uc:OuterDialog x:Name="test" Grid.ColumnSpan="2" Grid.RowSpan="2" Height="768" Width="1366" ...
1
vote
1answer
16 views
With CreateFileAsync/WriteTextASync, How to determine if the file is already in use
public async void SaveQueue()
{
_filedata = JsonConvert.SerializeObject(Queue);
StorageFile sessionFile = await ApplicationData.Current.LocalFolder.CreateFileAsync("Queue.txt", ...
0
votes
1answer
15 views
How to get a parent folder on Windows Store App(Windows Runtime)
I would like to look into whether StorageFolder and StorageFile have a parent folder and get the data if it has on Windows Store App project.
I found "getParentAsync" method at MSDN. However, it ...
0
votes
1answer
16 views
How to set and get line series color from WinRT XAML Toolkit chart
ANSWER
Thanks Filip, finally I found way to set the color. I just need to add Background property in DataPointStyle. I am posting my answer here. Also found a way how to modify the default tooltip.
...
0
votes
3answers
28 views
How to create ControlTemplate from code behind in Windows Store App?
UPDATE 1
If ControlTemplate has binding, will XamlReader.Load(...) work ?
<ControlTemplate TargetType="charting:LineDataPoint">
<Grid>
<ToolTipService.ToolTip>
...