windows-community-toolkit

Master-Details view in UWP Community Toolkit

▼魔方 西西 提交于 2020-04-21 05:15:46
问题 I tried to implement Master-Details view from UWP Community Toolkit 2.0. I copied the example code from the uwp community toolkit sample app. But It seems the data is not binding properly. Now the Master details View is empty. Can anyone help me where I went wrong? XAMl CODE:` <Page x:Class="FaceIdentification.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:FaceIdentification" xmlns:d="http:/

Master-Details view in UWP Community Toolkit

半城伤御伤魂 提交于 2020-04-21 05:15:16
问题 I tried to implement Master-Details view from UWP Community Toolkit 2.0. I copied the example code from the uwp community toolkit sample app. But It seems the data is not binding properly. Now the Master details View is empty. Can anyone help me where I went wrong? XAMl CODE:` <Page x:Class="FaceIdentification.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:FaceIdentification" xmlns:d="http:/

Master-Details view in UWP Community Toolkit

帅比萌擦擦* 提交于 2020-04-21 05:15:10
问题 I tried to implement Master-Details view from UWP Community Toolkit 2.0. I copied the example code from the uwp community toolkit sample app. But It seems the data is not binding properly. Now the Master details View is empty. Can anyone help me where I went wrong? XAMl CODE:` <Page x:Class="FaceIdentification.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:FaceIdentification" xmlns:d="http:/

Scroll to new item in ListView for UWP

删除回忆录丶 提交于 2020-01-14 14:48:46
问题 I'm creating a chat application with a ListView that contains the messages. When a new message is sent/received, the ListView should scroll to the new message. I'm using MVVM, so the ListView looks like <ScrollViewer> <ItemsControl Source="{Binding Messages}" /> </ScrollViewer> How can I do it? EDIT: I tried to make this work in versions prior to the Anniversary Update creating a Behavior. This is what I have so far: public class FocusLastBehavior : Behavior<ItemsControl> { protected override

DropShadowPanel and border corner radius

淺唱寂寞╮ 提交于 2020-01-04 09:05:33
问题 I want to make drop shadow effect with border control. I am using UWP toolkit. <controls:DropShadowPanel x:Name="dspShadow" BlurRadius="10" ShadowOpacity="0.8" OffsetX="0" OffsetY="0" Color="Black"> <Border x:Name="borderMain" Background="Red" CornerRadius="10"/> </controls:DropShadowPanel> But it doesn't recognize corner radius, the result is like this: And I need it to look like this: Any ideas how to achieve this? 回答1: You need to mask it. Currently you can only get the mask from TextBlock

UWP Composition - Grid with rounded corners DropShadow

倾然丶 夕夏残阳落幕 提交于 2020-01-01 15:36:14
问题 I have a UWP app, which I should start by pointing out that it uses very little XAML. The views are built from JSON object recieved from an API. This means that the vast majority of everything is done in C#, and therefore adds a little complexity to my problem. I basically want to have a panel (e.g. Grid) that can have rounded corners and have a drop shadow applied to it. The drop shadow should also have the rounded corners, this can be seen in the sample below. I have looked at the

Xamarin Form - How to open documents in uwp desktop application

寵の児 提交于 2019-12-22 01:15:09
问题 I want to open the documents like pdf, office , image, txt, rtf inside the uwp desktop application. is there any control in toolbox which open this type of documents ? :( thanks in advance :) 来源: https://stackoverflow.com/questions/57177253/xamarin-form-how-to-open-documents-in-uwp-desktop-application

WPF Desktop App, Windows 10 Notification Toast 2016 (UWP Community Toolkit)

蹲街弑〆低调 提交于 2019-12-20 23:24:13
问题 I'm trying to display Windows 10 Toasts with my WPF C# Desktop application . Sadly the API and general support concerning Windows 10 notifications in non-UWP or Store apps seems pretty limited and chaotic. Lately the UWP Community Toolkit was published, which seems to try and make things easier for us. There's also this Store app, Notifications Visualizer, which helps in making Toasts like this: I went on and tried to generated the Toast using C# and the API provided by the UWP Community

uwp GridView selectedItem Popup

我们两清 提交于 2019-12-14 03:09:24
问题 I am using AdaptiveGridView by UWP Community toolkit . I want the selected Item of the gridview to popup on the Z-axis , meaning the selected Item must scale up to a specific size, but it should not disturb the size of other gridview items, rather it should scale on Z axis of the canvas. what are possibilities to animate this effect also maybe using UWP community toolkit scale effect ( but that effects the size of other items as well). if its not possible on selected Item can it be somehow

No ToastNotification on Windows 10 IoT (RPI2)

五迷三道 提交于 2019-12-13 02:59:01
问题 How to get the ToastNotification working on Windows 10 IoT? (Raspberry Pi 2). ToastBindingGeneric binding = new ToastBindingGeneric(); binding.Children.Add(new AdaptiveText() { Text = "Foo" }); binding.Children.Add(new AdaptiveText() { Text = "Trying to do something here hello!!!" }); ToastContent content = new ToastContent() { Visual = new ToastVisual() { BindingGeneric = binding } }; ToastNotificationManager.CreateToastNotifier().Show(new ToastNotification(content.GetXml())); I'm using this