24,170 questions with .NET-related tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

Can Edge be used in VS .net or vb.net ?

Can Edge be used in VS .net or vb.net WinForms instead of IE11 ? And is there a tutorial or QuickStart for this ? Thanks for your Help...

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,846 questions
asked 2020-10-13T15:11:22.613+00:00
vmars316 621 Reputation points
accepted 2020-10-13T22:09:08.047+00:00
vmars316 621 Reputation points
1 answer One of the answers was accepted by the question author.

Add and run a WPF project to an existing solution

Hi, (VISUAL STUDIO 2019) I have a VSTO project (I think the question can be for Winforms projects as well). I have a WPF project that I want to interact with from the VSTO project and back. I managed to run (process.start with parameters) the…

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,685 questions
asked 2020-10-12T12:58:08.9+00:00
yaron kadman 81 Reputation points
commented 2020-10-13T07:54:26.893+00:00
yaron kadman 81 Reputation points
1 answer

VS .net .vb and .cs How to recreate an app from ony Form1.vb and DesignerForm1.vb

Hello & Thanks ; VS .net .vb and .cs How to recreate an app from only Form1.vb and DesignerForm1.vb Here Timon seems to have done just that: alignment-troubles-with-panel1controlsaddbrowser.html Thanks for your Help...

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,846 questions
asked 2020-10-09T21:59:11.703+00:00
vmars316 621 Reputation points
answered 2020-10-13T06:25:04.96+00:00
Daniel Zhang-MSFT 9,621 Reputation points
1 answer

Winforms / Understanding Tab Order in VS 2019

I have many winforms forms that were built in VS2019 without regard to tab order. Anywhere from 10 to 300 controls, some have multiple tab pages. All need to be fixed and I watched several videos and still have no clear picture of how it's supposed to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,846 questions
asked 2020-10-12T20:14:17.59+00:00
Jean Vallee 21 Reputation points
answered 2020-10-12T20:30:05.963+00:00
David Lowndes 4,711 Reputation points
0 answers

Can there be any performance benefit by implementing IList<T> with INotifyCollectionChanged

I've never implemented INotifyCollectionChanged before tonight and didn't event think about doing so. Here's how I did and in my case I only needed Add and Remove so I left all other unimplemented. For fair evaluation, I've created PDF document of 1133…

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,685 questions
asked 2020-10-12T01:38:11.923+00:00
Emon Haque 3,176 Reputation points
commented 2020-10-12T19:34:25.003+00:00
Emon Haque 3,176 Reputation points
2 answers One of the answers was accepted by the question author.

WPF-DataGridTemplate Column of DataGrid is not available in code behind when trying to access with DataRowView

The below code is my WPF DataGrid XAML. I try to access the data grid template column with checkbox in code behind <DataGrid x:Name="wdgVinpaymentDetail" AutoGenerateColumns="False"…

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,685 questions
asked 2020-10-12T06:57:54.843+00:00
krishna 466 Reputation points
answered 2020-10-12T10:32:23.367+00:00
krishna 466 Reputation points
2 answers

Binding by relative source is not working in Tooltip WPF

I am trying to bind the tooltip foreground in the textblock present inside the stackpanel for displaying the tooltip text. But the binding doesnt work properly in the textblock ie.. tooltip foreground is not applied.Here is the snippet which is provided…

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,685 questions
asked 2020-10-09T07:50:22.983+00:00
Hari Prasad M 1 Reputation point
answered 2020-10-12T03:04:41.873+00:00
DaisyTian-1203 11,616 Reputation points
1 answer

How to split UIElement and add pieces in several FixedPage

For example, with this: var grid = new Grid() { Children = { listBox} }; grid.Measure(new Size(page.Width, double.PositiveInfinity)); grid.Arrange(new Rect(grid.DesiredSize)); I see that the listBox needs to span several pages and with…

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,685 questions
asked 2020-10-11T12:53:24.357+00:00
Emon Haque 3,176 Reputation points
answered 2020-10-12T00:11:57.96+00:00
Emon Haque 3,176 Reputation points
1 answer One of the answers was accepted by the question author.

How to apply conditional GroupStyle

Here's what I've managed to do so far: It shows summary of balances only when a tenant occupies more than one space. Those who occupies only one space, I want to have all information in a single line. For example: in case of Mr B, I want it to…

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,685 questions
asked 2020-10-07T16:54:28.073+00:00
Emon Haque 3,176 Reputation points
accepted 2020-10-10T21:27:11.823+00:00
Emon Haque 3,176 Reputation points
1 answer One of the answers was accepted by the question author.

Wpf get value to Form1 from mainWindow

I have the MainWindow and Form1. I want to get the value from MainWindow to Form1. When i click on the button in Form1 the result is 0. Where do i do a mistake? Would you help me please? <Window x:Class="WpfNewForm.MainWindow" …

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,685 questions
asked 2020-10-10T08:56:55.597+00:00
Blader 156 Reputation points
commented 2020-10-10T20:05:39.847+00:00
Blader 156 Reputation points
1 answer One of the answers was accepted by the question author.

How To Create control container user control

Hai I want to create a user control for adding control container ie. after adding this control on a from I want to add controls like button etc on the rectangle region from ToolBox. The rectangle region should be control container. I want to…

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,685 questions
asked 2020-07-30T06:22:56.767+00:00
Babu R 81 Reputation points
accepted 2020-10-10T15:12:03.043+00:00
Babu R 81 Reputation points
2 answers One of the answers was accepted by the question author.

how to add FixedPage to DocumentViewer

how to add FixedPage to DocumentViewer

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,685 questions
asked 2020-06-16T16:38:01.34+00:00
essamce 621 Reputation points
commented 2020-10-10T00:38:29.937+00:00
Emon Haque 3,176 Reputation points
1 answer

Is it a must to put Control inside Container to get the Template applied?

Moving forward from the original problem, I've simplified the process of reporting with FixedPage BUT one thing I still don't understand, that is: why do I have to put my custom control inside a grid? Here's what I've to do to print now: void…

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,685 questions
asked 2020-10-09T15:29:42.237+00:00
Emon Haque 3,176 Reputation points
answered 2020-10-09T22:10:20.747+00:00
Emon Haque 3,176 Reputation points
1 answer One of the answers was accepted by the question author.

Generate Form1.vb[Designer] from Form1Designer.vb ?

Hello & Thanks; I have an example program that has a Form1Designer.vb Tab but no Form1.vb[Designer] . Is there a way to Generate a Form1.vb[Designer] Tab From Form1Designer.vb ? Thanks for your Help...

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,846 questions
asked 2020-09-29T19:55:46.207+00:00
vmars316 621 Reputation points
accepted 2020-10-09T21:50:06.507+00:00
vmars316 621 Reputation points
1 answer

add render transfrom in code behind

hi here is an attached property i've created to add TranslateTransform to any control: public static string GetSetRanderTransformTranslateProperty(DependencyObject obj) => (string)obj.GetValue(SetRanderTransformTranslateProperty); …

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,685 questions
asked 2020-10-08T19:17:57.543+00:00
essamce 621 Reputation points
commented 2020-10-09T16:56:21.253+00:00
essamce 621 Reputation points
1 answer One of the answers was accepted by the question author.

Window Trigger on Visibility Property in WPF VB

Hi, I'm trying to get an animation storyboard to trigger when the Window Visibility is changed. I tried the following code but receive an error i.e. Triggers collection members must be of type EventTrigger. Also tried searching for answers but…

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,685 questions
asked 2020-10-05T08:33:57.63+00:00
LH63 21 Reputation points
accepted 2020-10-09T13:38:29.827+00:00
LH63 21 Reputation points
1 answer One of the answers was accepted by the question author.

Windows Store submit with app architecture changing from Desktop Bridge app to a WPF desktop app with xaml islands

I am considering changing my Desktop Bridge app (available on the Windows Store for a couple of years) to a WPF desktop app with xaml islands for the UI part. The question I have is whether it is allowed/possible when the change is finished to do the…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,755 questions
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,685 questions
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
886 questions
asked 2020-10-08T14:29:35.643+00:00
Jos Huybrighs 136 Reputation points
accepted 2020-10-09T12:23:47.247+00:00
Jos Huybrighs 136 Reputation points
1 answer

Deactivate the right mouse button when using WebView2 ?

How can I deactivate the right mouse button when using WebView2. I'm a beginner and have just created a Win Forms app with Webview2 following Microsoft's instructions Translated with Google

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,846 questions
asked 2020-10-07T20:01:14.397+00:00
Rainer-S 1 Reputation point
commented 2020-10-09T10:03:14.053+00:00
Daniel Zhang-MSFT 9,621 Reputation points
3 answers

WPF Core Clipboard question

Hi, for weeks I try to transform a ms Access data table with a so called rich text field (witch is actually HTML ) to a rtf format that can be used in a SQLdatabase table and edited in a WPF richtextbox. I can do it manually by loading my rich text…

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,685 questions
asked 2020-10-04T10:30:12.697+00:00
Rob Warning 1 Reputation point
answered 2020-10-09T09:10:27.263+00:00
Rob Warning 1 Reputation point
1 answer One of the answers was accepted by the question author.

How to get the Actual Height of content ListBox in FixedDocument

Looks like FixedDocument is the way to go to have multi-paged formatted document with rolling page subtotal. Since I'm still in the process of figuring out how to add page subtotal all my code is in one function print. Here're the steps: get the…

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,685 questions
asked 2020-10-08T16:11:50.46+00:00
Emon Haque 3,176 Reputation points
accepted 2020-10-09T08:31:51.537+00:00
Emon Haque 3,176 Reputation points