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...
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…
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...
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…
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…
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"…
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…
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…
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…
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" …
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…
how to add FixedPage to DocumentViewer
how to add FixedPage to DocumentViewer
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…
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...
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); …
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 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…
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
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…
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…