wpf-core-3.0

Microsoft.ReportViewer.WinForms.V15 not compatible with .NET Core 3.1 - How to show RDLC in WPF Core?

安稳与你 提交于 2021-02-18 18:57:49
问题 I have wpf core 3.1 project and installed Microsoft RDLC Report Designer extention on VS 2019 and created a rdlc file. Now I want to show that rdlc in a window but there is not ReportViewer control. I installed Microsoft.ReportViewer.WinForms v15 package from nuget but it shows error : "Package 'Microsoft.ReportViewer.WinForms' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2,

Installer for .net core 3 wpf/winforms (non MSIX)?

↘锁芯ラ 提交于 2020-06-09 04:08:29
问题 So, we finished a few wpf conversions to .net core, and now we have a need to ship one to an external client as an installer. Previously we used ClickOnce, but that has been deprecated in .net core and will not be ported according to MS, with them recommending MSIX. However, as we understood from docs, even though we'll sideload a WPF application it will still run in a sandbox with a virtualized file system. And that is a no go for us, it has obviously been designed with UWP+Marketplace

Is there a way to create Numberic Textboxes using WPF xaml code?

醉酒当歌 提交于 2020-02-26 00:54:51
问题 I am new to WPF. I need to create textboxes which is only accept digits . Not accepted any special characters, letters . And the important thing is , the code is only xaml not c# . I googled lot of websites , but i only get the code used c#. But i want in XAML code. Because i enclosed it like styles in controls. Is there any way to do this? And if it is not possible Why? 回答1: No, it's not possible because XAML is a markup language. It has no support for distinguishing between digits and other

WPF - DataGridHyperlinkColumn not opening local HTML file

▼魔方 西西 提交于 2020-01-16 13:04:24
问题 Environment : VS2019 - ver 16.4.2 , Windows 10 - Pro ver 1903 , WPF Core 3.1 Why the following code is not opening the file from the link in DataGridHyperlinkColumn in my WPF app. According to this post it should open the file - unless I'm missing something here. XAML <Window x:Class="WPF_DataGrid_EFCore.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend