How to customize the appearance of TextBox to underline?
How to customize the appearance of TextBox to underline?
Own ViewModel - Threads - Dispatcher
Hello, I use my own ViewModel with properties that display the data via binding. If the properties are set by a thread (Socket Client). Can this lead to problems? Would I have to use Dispatchers, if so, how do I do it correctly? Thanks for response. …
Adorner in textbox
I have created an adornerlayer over wpf textbox. This code block will return the bounds of the text in textbox, i have written this block in onrender method of a adorner class. Rect startPosition =…
binding for the text control - WPF - C#
Hello, How I can make a binding for the text control? I use as DataContext ViewModel. public class ViewModel : INotifyPropertyChanged { private CollectionViewSource cvs1 = new CollectionViewSource(); private…
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
How to print PDF with WPF ?
I don't find WPF example. Who can help me? Thanks
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!!!
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? …
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…
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 = …… …
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:…
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?
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…
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…
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;
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. …
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"…
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…
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…
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…