windows-runtime

Launching the Windows Store listing from Win RT / Windows 8 app

倾然丶 夕夏残阳落幕 提交于 2020-01-03 03:59:33
问题 On Windows Phone there's a marketplace review task. Is there any way to implement the equivalent functionality in WinRT apps? I realize that there's the "rate and review" button in the Charms bar, however, this is not what I need, as I want to integrate a button inside the app to launch the review UI. It may seem trivial, however, this is one of the most important requirements! This is not a duplicate of is there an equivalent of wp7's marketplacereviewtask for windows 8 / winrt / metro style

Change GridView GroupStyle in VisualState

老子叫甜甜 提交于 2020-01-03 02:19:44
问题 In my Windows 8.1 WinRT/XAML app I have a grouped GridView with a corresponding GroupStyle : <GridView ItemsSource="{Binding Source={StaticResource groupedViewSource}}"> ... <GridView.GroupStyle> <GroupStyle> <GroupStyle.HeaderTemplate> <DataTemplate> ... </DataTemplate> </GroupStyle.HeaderTemplate> <GroupStyle.Panel> <ItemsPanelTemplate> <VariableSizedWrapGrid Style="{StaticResource NormalWrapGridStyle}" /> </ItemsPanelTemplate> </GroupStyle.Panel> </GroupStyle> </GridView.GroupStyle> <

Relational SQLite on Windows RT

最后都变了- 提交于 2020-01-03 01:55:24
问题 i am using SQLite for Windows Runtime but i dont see any way to define relationships between tables. Is this feature supported in SQLite for WinRT? If not, are there any alternative solutions for relational local database for Windows RT? 回答1: The database engine itself supports relationships. One way is to specify the foreign keys when creating the tables: CREATE TABLE Foo( Id integer primary key autoincrement not null , ... ) CREATE TABLE Bar( Id integer primary key autoincrement not null,

Create a theme in Windows 8.1

你离开我真会死。 提交于 2020-01-02 19:55:31
问题 In Windows 8, you were able to create your own themes for your application (here's a tutorial). In Windows 8.1 Applications, themes are handled differently: you can change them at run-time and set a theme for a specific control in your XAML (if you don't want to apply the theme to the whole Application). For instance: <Grid x:Name="MainGrid" RequestedTheme="Dark"> However, I could not find a way to create my own themes. The property RequestedTheme takes an enumeration (its type is

Create a theme in Windows 8.1

浪尽此生 提交于 2020-01-02 19:55:03
问题 In Windows 8, you were able to create your own themes for your application (here's a tutorial). In Windows 8.1 Applications, themes are handled differently: you can change them at run-time and set a theme for a specific control in your XAML (if you don't want to apply the theme to the whole Application). For instance: <Grid x:Name="MainGrid" RequestedTheme="Dark"> However, I could not find a way to create my own themes. The property RequestedTheme takes an enumeration (its type is

How to switch between webcams when using CaptureElement/MediaCapture? [closed]

 ̄綄美尐妖づ 提交于 2020-01-02 18:55:13
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am trying to provide an option to switch between webcams used to display preview using CaptureElement/MediaCapture. Unfortunately I tried multiple combinations of call sequences and the preview only shows up for the first device I use. This is what I have been trying to do: XAML: <CaptureElement x:Name=

How to switch between webcams when using CaptureElement/MediaCapture? [closed]

扶醉桌前 提交于 2020-01-02 18:54:51
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am trying to provide an option to switch between webcams used to display preview using CaptureElement/MediaCapture. Unfortunately I tried multiple combinations of call sequences and the preview only shows up for the first device I use. This is what I have been trying to do: XAML: <CaptureElement x:Name=

How to switch between webcams when using CaptureElement/MediaCapture? [closed]

谁说我不能喝 提交于 2020-01-02 18:54:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am trying to provide an option to switch between webcams used to display preview using CaptureElement/MediaCapture. Unfortunately I tried multiple combinations of call sequences and the preview only shows up for the first device I use. This is what I have been trying to do: XAML: <CaptureElement x:Name=

Display a 'loading' image till loading original images in 'image gallery app' - metro style

情到浓时终转凉″ 提交于 2020-01-02 13:31:58
问题 I am developing an image gallery application .. Its loading images from the internet.. What i am doing is collecting image url into an array and bind it into a list view .. Its works fine.. But my problem is the images shows a cross mark ( 'X') till loading the images. What i am expecting is Display a loading image for each emage untill loads the original image if 1 is not possible, how can i remove the cross mark? 回答1: You cannot remove the 'X' mark as that is a browser-specific feature. You

Reuse animations in Windows 8

▼魔方 西西 提交于 2020-01-02 08:39:08
问题 I am building Windows Store Application (Winrt, Metro, Windows 8 app). I try give images in gridview animation: after image is loaded from web and opened it populates its cell. I have storyboard for that: <Storyboard x:Name="PopupImageStoryboard"> <DoubleAnimationUsingKeyFrames EnableDependentAnimation="True" Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="image"> <EasingDoubleKeyFrame KeyTime="0" Value="100"/> <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="240"/>