windows-community-toolkit

How to add a drop shadow for SplitView.Pane

依然范特西╮ 提交于 2019-12-12 03:33:26
问题 How to add a drop shadow for SplitView.Pane ? I tried DropShadowPanel from the UWP Community Toolkit UI Controls and wrote something like this: <SplitView DisplayMode="Overlay" PanePlacement="Right" Grid.Column="1" HorizontalAlignment="Stretch"> <SplitView.Pane> <controls:DropShadowPanel> <Frame Name="DetailsFrame" /> </controls:DropShadowPanel> </SplitView.Pane> </SplitView> However, the shadow appears inside the pane, while I want it to be outside SplitView.Pane , wrapping it. How can I

ResourceContext.GetForCurrentView call exception

余生长醉 提交于 2019-12-11 06:29:22
问题 My users of the application have an exception when UWP app call this: Windows.ApplicationModel.Resources.Core.ResourceContext.GetForCurrentView() Exception: 'STOWED_EXCEPTION_System. UnauthorizedAccessException '. I am call ResourceContext.GetForCurrentView for receive "LayoutDirection". I did not find information about this problem in MSDN and other sources. Please, tell me, how i can get "LayoutDirection" other way or eliminate exception? Thanks. EDIT $44_System::Runtime::InteropServices:

DropShadowPanel adapt to button template style

六月ゝ 毕业季﹏ 提交于 2019-12-11 02:14:15
问题 I'm using the UWP Toolkit's DropShadowPanel for apply a shadow effect on a Button control. Here the documentation : DropShadowPanel XAML Control The fact is i edited the button style's Template for Round borders but the DropShadowPanel doesn't follow the new Template : <controls:DropShadowPanel BlurRadius="4.0" ShadowOpacity="0.70" OffsetX="5.0" OffsetY="5.0" Color="Black" HorizontalAlignment="Left" Margin="91,90,0,0" VerticalAlignment="Top"> <Button x:Name="button" Content="Button" Style="

UWPXamlHost control - UWP controls in desktop apps - Info and Status?

妖精的绣舞 提交于 2019-12-06 15:34:07
问题 The most interesting announcement for me from the Microsoft Build 2018 developer conference was the demo showing the use of UWP controls in WPF and WinForms apps. (https://youtu.be/ojZioTg5RUk?t=2250) Specifically they used a control named UWPXamlHost to achieve this functionality. So my questions would be: Is this control already available as a preview somewhere and if not is there an expected time frame when it will be available? Will it be part of the UWP Community Toolkit? Feel free to

UWPXamlHost control - UWP controls in desktop apps - Info and Status?

依然范特西╮ 提交于 2019-12-04 20:06:35
The most interesting announcement for me from the Microsoft Build 2018 developer conference was the demo showing the use of UWP controls in WPF and WinForms apps. ( https://youtu.be/ojZioTg5RUk?t=2250 ) Specifically they used a control named UWPXamlHost to achieve this functionality. So my questions would be: Is this control already available as a preview somewhere and if not is there an expected time frame when it will be available? Will it be part of the UWP Community Toolkit? Feel free to add any additional info you might have about this topic. I expect it to be part of the Windows

Xamarin Form - How to open documents in uwp desktop application

徘徊边缘 提交于 2019-12-04 18:13:45
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-03 07:12:29
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 Toolkit. using Microsoft.Toolkit.Uwp.Notifications; ToastContent toastContent = new ToastContent() {

Irregular behavior - XAML / UWP Community Toolkit Scale animation

℡╲_俬逩灬. 提交于 2019-12-02 09:28:28
问题 Problem : I am using UWP Community Toolkit Scale animation and it works as expected for most of the images in the GridView , but for some the image goes out of bounds . (Please see the image below) I have detected that the issue happens when the image width is more than 2x (2 times) the height of the image. That is when the image is very wide. Code I am using a user control as data template Xaml : <!-- Grid View --> <GridView x:Name="gridView" SelectionChanged="gridView_SelectionChanged">

uwp GridView selectedItem Popup

别说谁变了你拦得住时间么 提交于 2019-11-29 09:00:59
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 possible on pointer hover? Method 1: On Selection changed XAML Part <GridView Height="200"

uwp GridView selectedItem Popup

无人久伴 提交于 2019-11-28 02:19:33
问题 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