Hi can you please help me with this error
Severity Code Description Project File Line Suppression State
Error XDG-0001 The resource "InverseBooleanConverter" has an incompatible type. IntermexDirect.ContainerPluginNet6...
I have never used a converter until I tried today and I didn't get it right.
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
StopBits sb = (StopBits)value;
string stops = string.Empty...
I have a context menu in a view that calls the correct handler, but the command parameter is not being passed.
<TextBlock DockPanel.Dock="Left"
Margin="0,3,1,0"
VerticalAlignment="Center">
<TextBlock.ContextMenu>
<ContextMenu>...
Hi Everyone,
I am glad to be on this forum with you all, it is always a source of great content and amazing advice.
Speaking of which, I wanted to make a quick announcement as I am pretty sure it will be of great interest and value to some of you guys.
OpenSilver 1.1 has now been released...
Hello, I am currently creating a recipe book - app. I have set the size of the MainWindow to 2560 x 1440. Now I would like to change the size of the MainWindow to a dynamic resolution in order to run my application on any scrrensize without cutting it off. So it automatically fills out the whole...
Hello !
I'm not used to programming GUIs and I'm looking for the most correct reasoning to develop my little application.
I need to extract data from an HDF5 file and then call a DLL so technically, my application is not complicated but I'm wondering about the following.
Knowing that on my...
Hi,
I have a small WPF application which gets some data (~300 rows) from an API and gets displayed in a DataGrid. Up to this point everything works well. Some Header-columns of the DataGrid have nested textboxes, which should serve as search-boxes. I bound their text to a property in my...
I have a question about WPF. The interface shown in the GIF is something written in C++. I've been trying to replicate this effect for some time, but with no success.
What I've been trying to do is create a trigger to give the grid column definition a width of "*" instead of the regular "4*"...
I'm making a file explorer app using MVVM pattern in C# WPF. Right now I want to implement watcher events that are responsible for adding, removing and renaming items from treeview. I already have adding, and partially renaming (I think that in this case I have to combine deleting and adding)...
I make a WPF application in .Net Framework 4.7. I developed this application on my Laptop which has full HD resolution (1920*1080). My problem is when I run my application on a low resolution monitor (1366*768), my application don't scale up according to the screen resolution. I tried using Per...
I have an ItemTemplate in my WPF app main window which shows the details of all personnel in SQLite database.
Each row has 8 columns and one of them is the delete button. I want to get the values inside all fields of the row whose delete button is clicked on in my code-behind.
I have...
I have an observablecollection of class type as follows:
public ObservableCollection<selectedLevel> selectedLevels { get; set; }
selectedLevels = new ObservableCollection<selectedLevel>();
public class selectedLevel
{
public string Level
{
get;
set;
}
public...
I have two classes in my script and an observable collection of secondary class type.
The method in the main class adds several objects of Person class type in an observable collection defined and initialized in primary class as follows:
public class PrimaryClass : BaseViewModel
{...
My Menu is perfectly bound with observable collection in view model and all submenu items fires click event properly using below xaml, but I am unable to set the same click event for first menu items. Is it possible to set same click event on all primary menu items?
<Menu Background="Lavender"...
How do I change the selected Value of a combo box from a window button when combo box is binded with enumList in its own viewmodel?
I have two Windows and several user controls in my project, one of the user control Ribbon is placed on MainWindow.
The Ribbon is groupBox user control containing...
Hi, I have a dockPanel inside a scrollviewer.
In that dockpanel I create a lot of buttons, and what happens is that the scrollviewer doesnt react at all and new buttons just clip through the app.
(And when I resize the app they stay cropped).
I can't find any instructions on how to set that up...
I have read this book https://www.tutorialspoint.com/wpf/wpf_tutorial.pdf
and on page 22,23 this code example do not run....
and Am I missing?
UserControl1.xaml
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using...
One of those questions that are frequent, annual, and indecisive! When considering a new project in 2018 what platform are you choosing for Windows and why? WPF is the current and future platform, some say, yet Winforms continues to grow by 3rd party vendors (I use Developer Express) as if WPF...
Good day
i am developing an application that has several pages in it,
instead of the user having to go through the stress of navigating to the required page
i will like to add a search feature in which when the user type in the required page keyword
it will take the user to the page without...
Good day
I will like to add a feature that will give users ability to increase and decrease the font size of my app
The size should be from 1-5 or small, medium and big
How can i implement this
Reply soon and thank you in advance
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.