23,927 questions with .NET-related tags

Sort by: Updated
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,673 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,673 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,673 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,673 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,673 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,673 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
2 answers

How to let my WPF app respond to default app mode

There is "choose your default app mode" in Win10 setting with two options, "Light" and "Dark". I know an UWP app automatically respond to the setting and change its appearance automatically. Now the Win32 common file open…

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,673 questions
asked 2020-07-01T12:55:50.12+00:00
Dorlig Na 1 Reputation point
answered 2020-07-04T11:19:34.367+00:00
Ken Tucker 5,846 Reputation points
2 answers One of the answers was accepted by the question author.

get the shape after applying geometry

hi i have applied a render tranform to a System.Windows.Shapes.Line and i don't know how to get line X1, Y1, X2, Y2 after transform. any help will be appreciated, thanks in advance.

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,673 questions
asked 2020-06-30T15:54:22.823+00:00
essamce 621 Reputation points
accepted 2020-07-04T10:21:33.483+00:00
essamce 621 Reputation points
0 answers

What technologies should be used for a desktop application on remote buildings?

I am used to .net development. I plan to make a WPF application, with an SQL database, ideally with a small public web part and a part in Xamarin. It must therefore be able to transit via the Internet while remaining private, but not always. Take a…

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,673 questions
asked 2020-07-02T09:14:58.523+00:00
Nicolas HAENEN 1 Reputation point
commented 2020-07-03T07:22:19.61+00:00
DaisyTian-1203 11,616 Reputation points
0 answers

Converting EMF to PNG preserves/displaying Excel cell with No Color data

Hi, We have NT EMF virtual printer, We have Excel sheet (contains each cell data with no color) show that no color cell will not be printed. When we print that Excel sheet to our virtual printer, it will print EMF data to or WPF 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,673 questions
asked 2020-06-25T09:47:06.23+00:00
Ashok Kumar 1 Reputation point
commented 2020-07-03T07:08:46.147+00:00
Ashok Kumar 1 Reputation point
1 answer

How to specify using the default style in XAML?

The basic problem is that a WPF application I'm working on makes extensive use of Material Design. The problem I'm running into is that it appears that the DatePicker style makes it very difficult to apply a converter to get its output to look like…

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,673 questions
asked 2020-06-30T19:18:10.64+00:00
Richard Haggard 6 Reputation points
answered 2020-06-30T22:39:34.017+00:00
gekka 6,591 Reputation points MVP
2 answers One of the answers was accepted by the question author.

[WPF] Soft Keyboard Shows, Then Hides, in Popup Window

My WPF application is targeting .NET Core 3.1. It runs on Win10 laptops and Surface Pro tablets (in tablet mode). The tablet is running Win10 Update 1909. The app has a popup window for the user to enter a Username and Password. When the user taps on…

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,673 questions
asked 2020-06-25T21:01:46.047+00:00
garry 96 Reputation points
accepted 2020-06-30T16:23:12.097+00:00
garry 96 Reputation points
2 answers One of the answers was accepted by the question author.

binding to abstraction collection of abstraction class

hi , i have : public class Tangent { public IPoint2d StartPoint {get; set;} ... } ... public IList<ITangent> Tangents = new ObservableCollection<ITangent>(); Tangents.Add(new Tangent(new Point2d())); ... <ListBox …

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,673 questions
asked 2020-06-28T05:34:00.69+00:00
essamce 621 Reputation points
accepted 2020-06-30T08:06:50.397+00:00
essamce 621 Reputation points
6 answers One of the answers was accepted by the question author.

WPF Foreground Color in a DataGrid, Change via Code (C#)?

Hi, I need to Change a Foreground Color in a DataGrid Line, here ist the XAML Code from the Line in the DataGrid: <DataGridTemplateColumn Header="Nr " Width="38" CanUserSort="True"…

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,673 questions
asked 2020-06-28T15:13:24.553+00:00
Bernd Riemke 41 Reputation points
accepted 2020-06-29T14:30:07.927+00:00
Bernd Riemke 41 Reputation points
1 answer

WPF DataGrid column header mouse events

I have following events with subscriptions in the class, derived from DataGrid: private void SubscribeHeaders(DependencyObject sender = null) { sender = sender ?? this; for (int childIndex = 0; childIndex <…

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,673 questions
asked 2020-06-29T06:23:36.72+00:00
Arli Chokoev 1 Reputation point
answered 2020-06-29T08:41:13.04+00:00
DaisyTian-1203 11,616 Reputation points
1 answer

wpf custom control property of type class

hi i'm trying to create a custom control with a public property Boundary of type MovingBoundary(as below), but when i'm trying to use my custom control in a xaml i cant't initialize Boundary property. <custom:MyCustomControl …

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,673 questions
asked 2020-06-25T12:42:24.607+00:00
essamce 621 Reputation points
commented 2020-06-29T07:40:09.767+00:00
DaisyTian-1203 11,616 Reputation points
1 answer One of the answers was accepted by the question author.

WPF ViewModel DataContext between UserControl Windows

Hi, have anyone a small sample for me like this: Master Window Sub Window In the Sub Window is a UserControl Window How can i send data via datacontext from the Master Window to the UserControl Window? I can set the first data easy from…

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,673 questions
asked 2020-06-15T09:26:46.217+00:00
Bernd Riemke 41 Reputation points
commented 2020-06-28T15:16:19.727+00:00
Bernd Riemke 41 Reputation points
0 answers

How know WPF DataGrid ItemsSource bind finish

Datagrid control ItemsSource Attribute bind List, but , I donot know When is the data loaded ?

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,673 questions
asked 2020-06-24T02:50:54.953+00:00
929Free 281 Reputation points
commented 2020-06-28T01:13:06.557+00:00
929Free 281 Reputation points
1 answer One of the answers was accepted by the question author.

class property access in parent only

hi, i'm new to c#, i want solve this problem : public class Location { public int X { get; set; } public int Y { get; set; } public Location() : this(0, 0) { } public Location(int x, int y) { X =…

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,673 questions
asked 2020-06-26T20:25:16.93+00:00
essamce 621 Reputation points
commented 2020-06-27T08:47:49.08+00:00
Daniele 1,996 Reputation points
0 answers

MVVM & Microcontrollers

I am creating an application that can control a micro controller. So the GUI allows me to say things like Define if a particular pin is an input pin or output pin. So there is a combo box with [In, Out] values. Integer (or other) text fields that…

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,673 questions
asked 2020-06-25T20:55:23.393+00:00
hfaun 1 Reputation point
commented 2020-06-26T06:23:29.263+00:00
DaisyTian-1203 11,616 Reputation points