24,361 questions with .NET-related tags

Sort by: Updated
0 answers

WPF Window fliker issue

Dear friends, Please let us know how to resolve. WPF Window fliker issue , when switch one window to another Window with C# code. Thanks Asif

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-14T05:18:41.743+00:00
Asif Mehdi 6 Reputation points
commented 2020-07-14T12:25:56.893+00:00
Asif Mehdi 6 Reputation points
1 answer One of the answers was accepted by the question author.

How to print PDF with WPF ?

I don't find WPF example. Who can help me? Thanks

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-06-22T07:40:40.21+00:00
929Free 281 Reputation points
commented 2020-07-14T05:21:25.62+00:00
Asif Mehdi 6 Reputation points
0 answers

how to application control gpio hardware by the gpio driver (WDF like windows sample)

how to application open gpio driver (WDF like windows sample) for control hardware gpio? thanks!!!

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-13T06:12:38.047+00:00
SeeSun 1 Reputation point
commented 2020-07-13T07:09:50.507+00:00
DaisyTian-1203 11,616 Reputation points
2 answers One of the answers was accepted by the question author.

SeriLog WPF

Hi, why ist the date not written? Why green wavy line? I need a logger for whole application, global Logger. Did I make it correct? How I can start the console logger? How I can start the console logger only in DEBUG mode? …

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-12T16:55:23.937+00:00
Markus Freitag 3,786 Reputation points
answered 2020-07-13T07:05:57.13+00:00
Markus Freitag 3,786 Reputation points
0 answers

How to set the mask for 64 core 128 thread CPU( about Process.ProcessorAffinity )

Source https://learn.microsoft.com/zh-cn/dotnet/api/system.diagnostics.process.processoraffinity?view=netframework-4.7.2#System_Diagnostics_Process_ProcessorAffinity Could you help me ?How to set the mask for 64 core 128 thread CPU( about…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-10T09:28:39.937+00:00
Ma Linru (马 林茹) 1 Reputation point
commented 2020-07-13T03:46:02.28+00:00
DaisyTian-1203 11,616 Reputation points
11 answers

WPF Application master detail

Hello together, I want to add a order number, then add a material number with quantity. Master, Detail with C# OrderNumber = ……… Fill the list OrderNumbers On right site I need a MaterialList Input: Material = …….. Quantity = …… …

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-09T06:33:45.65+00:00
Markus Freitag 3,786 Reputation points
commented 2020-07-12T17:32:07.787+00:00
Peter Fleischer (former MVP) 19,306 Reputation points
2 answers One of the answers was accepted by the question author.

Understanding SignedXml.LoadXml (system.Security.Cryptography.Xml)

Hi, I'm using digital signature as a subscription License on my program and am trying to read a part of the XML file to check if my program will work or not. I dug around MSDN and found this for an explanation:…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-03T05:15:49.653+00:00
Enkhbold Munkhbold 136 Reputation points
accepted 2020-07-10T05:53:18.46+00:00
Enkhbold Munkhbold 136 Reputation points
1 answer

Unknown Publisher in Set Up project in WPF

I am using Microsoft Visual Studio Installer Projects to create a set up project for my WPF application using .NetCore in Visual Studio 2019. How can I change the publisher from unknown to known when installing the application?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-08T18:17:24.817+00:00
Natalie Al Massry 1 Reputation point
answered 2020-07-09T10:37:34.01+00:00
Sabrina Cosolo 126 Reputation points
1 answer

WPF Problem Resources Generator

Severity Code Description Project File Line Suppression State Error The "ResourcesGenerator" task failed unexpectedly. System.ArgumentException: Illegal characters in path. at…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-08T02:04:10.087+00:00
Marc Andrei B. Regulacion 1 Reputation point
answered 2020-07-08T07:45:28.077+00:00
Sabrina Cosolo 126 Reputation points
0 answers

How to Fix WPF Resources Generator PRoblem

Severity Code Description Project File Line Suppression State Error The "ResourcesGenerator" task failed unexpectedly. System.ArgumentException: Illegal characters in path. at…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-08T02:20:42.107+00:00
Marc Andrei B. Regulacion 1 Reputation point
commented 2020-07-08T06:37:21.3+00:00
DaisyTian-1203 11,616 Reputation points
1 answer One of the answers was accepted by the question author.

WPF Button textblock

I need to create two textblocks in the button control, but, I can't. Who can teach me? I need c# code. Thanks! My code: Button btn_Click = new Button(); btn_Click.Name = "Btn_1"; btn_Click.Height = 100;

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-08T02:33:46.717+00:00
929Free 281 Reputation points
commented 2020-07-08T03:58:10.2+00:00
929Free 281 Reputation points
0 answers

WPF - Text in ContentControl doesn't move past certain X-Coordinate in big picture rendered with RenderTargetBitmap

Hi, I have an odd issue, we have a big image (about 13000 pixels wide). We display that in a canvas, and put some ContentControls on top of it. Each ContentControl has a Rectangle to act as a background and a ViewBox which has a TextBlock as a child. …

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-07T08:46:40.883+00:00
Tobias Kunkel 1 Reputation point
commented 2020-07-08T03:09:35.167+00:00
DaisyTian-1203 11,616 Reputation points
1 answer One of the answers was accepted by the question author.

WPF Grid Control

I want the grid control to automatically display the vertical scroll bar. Now it's all crowded together.How can I rewrite it? Here is my code..... XAML: <Grid Name="TimeGrid" HorizontalAlignment="Left"…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-07T15:53:15.16+00:00
929Free 281 Reputation points
accepted 2020-07-08T01:09:43.96+00:00
929Free 281 Reputation points
1 answer

WPF: What UI control Visual Stadio 2017 IDE use when comparing two files?

We need to a create new WPF tool to compare two files. This compare tool shows the contents of two files line by line and indicates the difference in the same line. First we create two ListViews to display both source file and target file. So each…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-07T06:32:10.243+00:00
Jane Chen - Applied BioCode 21 Reputation points
answered 2020-07-07T16:32:35.977+00:00
Jane Chen - Applied BioCode 21 Reputation points
0 answers

How do I determine what resolution the camera barcode scanner is setting the camera to?

This link shows the required resolution of the camera to be used with the MS Camera barcode scanner. https://learn.microsoft.com/en-us/windows/uwp/devices-sensors/pos-camerabarcode-system-requirements How do I actually set the resolution of the camera or…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-06T19:54:39.693+00:00
Kerry White 1 Reputation point
commented 2020-07-07T16:08:34.467+00:00
Kerry White 1 Reputation point
2 answers One of the answers was accepted by the question author.

WPF: How to make two panels share the same vertical scroll bar and each panel owns itself horizontal scroll bar?

We need to a create new WPF tool to compare two files. This compare tool shows the contents of two files line by line and indicates the difference in the same line. First we create two ListViews to display both source file and target file. So each…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-06T23:55:11.637+00:00
Jane Chen - Applied BioCode 21 Reputation points
accepted 2020-07-07T15:39:48.547+00:00
Jane Chen - Applied BioCode 21 Reputation points
1 answer

WPF Window size limitation

There seems to be some limit to the size of a WPF window and the monitor resolution I’d like to understand. My application creates a window 4320 x 7680. The computer has a graphics adapter with (4) outputs connected to (4) very large 4K LCD monitors in…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-06-23T13:38:15.917+00:00
Bruce Kingsley 1 Reputation point
answered 2020-07-07T00:03:19.507+00:00
Bruce Kingsley 1 Reputation point
1 answer One of the answers was accepted by the question author.

Toolbar wpf

Hi. How do I remove the default separator of the toolbar in WPF? Thank you.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-02T18:19:38.333+00:00
Diego Alvarez 101 Reputation points
commented 2020-07-06T12:32:22.057+00:00
Diego Alvarez 101 Reputation points
1 answer One of the answers was accepted by the question author.

Draw a Arrow WPF

Hi. How to use the Line object to draw an arrow?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-05T17:02:27.443+00:00
Diego Alvarez 101 Reputation points
commented 2020-07-05T21:09:51+00:00
Diego Alvarez 101 Reputation points
4 answers One of the answers was accepted by the question author.

Placeholder textbox wpf

Is there a property, tag or element that allows adding placeholders to textboxes in WPF? Thank you.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
asked 2020-07-02T18:26:40.217+00:00
Diego Alvarez 101 Reputation points
answered 2020-07-05T16:44:57.077+00:00
Diego Alvarez 101 Reputation points