Results for wpf
There is a rectangle in my wpf application. There is also a vertical element inside the rectangle. ● This vertical element is selectable. ● At the sam...
I am currently working with .NET 6 WPF and got some strange behaviour using custom classes and assigning as DataContext. My code looks like this: publ...
I register global exception handlers like this: public void App_Startup(object sender, StartupEventArgs e) { if (Current != null) Current.Dispat...
I need to change BorderBrush of a TreeViewItem based on a model property. This are my codes: using System.Windows; namespace Test_Project { publi...
I am new to DirectX and currently working on a project where I need to retrieve the DXVA (DirectX Video Acceleration) decoder GUIDs using the VideoDec...
I'm trying to show the following, depending on the shape of the image (the blue block): I'm having a few problems: The image stretch should be const...
I am working with a WPF Powershell project (learning and incorporating relatable tasks while doing it). I have two check boxes which toggle the extern...
I have a sunburst image I am trying to rotate in a window. I have it rotating just fine, but the image is a big square so it fills the proportion of ...
I am trying to add another row in C# WPF MVVM after clicking a button in DataGrid. The problem is that the row is added as soon as I click somewhere e...
Trying to figure out how to get powershell outputs to display correctly in a listbox working with a WPF Powershell project. I have an example where in...
I am trying to modify the visibility of a CheckBox in my XAML. I have done this as follows: XAML excerpt: <CheckBox Content="RES" ...
I have been converting my app to MVVM pattern. I am trying to figure out zoom in function. There is canvas panel and ellipse in my project. The proble...
Using the code sample below, myImage only moves along the Y axis, but not the X. I need myImage to move along both the X and Y axes simultaneously. ...
I am somewhat of an amateur with C# and am working on a .NET Framwork 4.7.2 WPF app where its primary purpose is to allow the user to run code from a ...
I am trying to create WPF application following MVVM pattern everithing was ok till i started binding commands changing the data. I don't understand w...
I have this in my .xaml Code with a background defined: <Window x:Class="BDE.MainWindow" xmlns="http://schemas.microsoft.com...
I am using the materialDesign in xaml Toolkit. I am trying to Style the TimePicker to match my theme. Unfortunately the Timepicker has no way to set t...
My objective here is to get assistance converting this simple WPF sample with code behind to MVVM, which will help me greatly in understanding how to ...
I have a ComboBox in a WPF application that contains multiple ComboBoxItems, each hosting a CheckBox. I want users to be able to toggle the CheckBox w...
I am creating a multi-tiered WPF application using Microsoft's Community Toolkit. My issue is that I want to use the Source Generators from the toolki...
I'm trying to implement a TreeView with a TextBox that gets/sets the TreeView's SelectedItem using a path. When I enter the path to a node in a branc...
I have created a custom circular progress bar, as shown below: Using the following code: <UserControl x:Class="WpfApp1.SpinnerProgressBar&quo...
can't seem to find how to implement behavior that supports drag&dropping a control (with DragEnter, DragOver, DragLeave and DragDrop events being fire...
Problem I want to delete one article from a ObserableCollection when i Press the Red "X". But i don´t know how to get the Current Artcile. I have a cl...
I am trying to implement multi-language internationalization support in my C# WPF application. I have followed the guidelines for setup, but I'm encou...
How do I undo the most recent local commits in Git?
How can I remove a specific item from an array in JavaScript?
How do I delete a Git branch locally and remotely?
How can I find all files containing a specific text (string) on Linux?
How to find all files containing specific text (string) on Linux?
How do I revert a Git repository to a previous commit?
How do I create an HTML button that acts like a link?
How do I check out a remote Git branch?