How to prevent the resizing of elements in DockPanel so that they just hide when the size of window is changed?
For example, I have such code:
Why aren’t my images clickable? is there an element overlapping it?
I am currently creating a basic Library Management system for self-learning purposes. I’m using WPF for my frontend and I currently have the list of books displayed to the user, the issue is, although I have it set so when the book image is clicked a popup is displayed, nothing happens. Here is my code:
Items inside border does not resize when window resolution changes
I was wondering if there is an option to make the items inside the border resize when the window changes its size.
This is what I mean:
Scroll functionality using mousewheel not working in wpf xaml
I have a usercontrol in wpf xaml which displays image in 4X4 grid. But im not able to scroll with my mouse scroll wheel and scroll bar does not move with my mouse scroll wheel.
I can move scroll bar only by clicking on it and dragging. Also my view is not changing dynamically when i move my scroll bar .Only when it settles down at a certain position, view of 4X4 grid images change.
How to fix these issues?
Combo box is not displaying the fields from the dropdownlist using wpf xaml
I have a combo box and it must suppose to when page loads, display the list of fields from the table in the database. Currently its not displaying them from the combo box instead the fields are displayed from the grid.
WPF – how to create completly custom element
I am trying to create something like this: https://csacademy.com/app/graph_editor/ in a WPF app, but I am not really sure how to approach it. I think I need to create something like a custom element with specific behavior, but I am not really sure if it is even possible to do.
How to enable textbox in WPF from code-behind using C#?
I have a Textbox
and my requirement is, need to enable this Textbox
only for both admin and super-admin as soon log in to the application.
Grid not filling up entire screen WPF
enter image description here
KeyDown event needing multiple presses
I am trying to change some elements of my WPF page after pressing the right and left keys on my keyboard. It works somewhat fine, my problem is that I need to press the right or left keys 3 times each time I want something to change. Also, I don’t know if it’s relevant but a weird rectangle appears after pressing the key for the first time, but if I press it again it disappears.
How to put all themes dictionary in one xaml file
I was wondering if it is possible to put all themes in one file? If I want to call theme A, I will just assign Theme A value to the DynamicResource. Is it possible?