When the user changes his/her mind and selects another item (a CT scan) of a ListBox, I need to erase the content of another three ListBoxes. I do that through the following statements:
StructSets.ItemsSource = null;
StructSets.Items.Clear();
StructSets.Items.Refresh()...
I would appreciate some help in implementing the following with WPF.
I need to have a ListBox displaying a list of strings but some may be empty strings.
Each ListBox item can be edited, discarded, or accepted.
Therefore, besides the editable ListBox I need some other type of WPF control that...
I am trying to convert a working Console UI application into a WPF one. I use an s/w library from Varian Medical Systems, called Velocity API, whose documentation is scarce and somewhat misleading. Velocity API hardcoded logic is built on context. My Console UI application calls several...
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...
Hello, everyone!
Excuse me for taking the liberty of asking you for help with a publishing project I have started. If possible, I would like to ask you to publish a post on your blog or in your technical community, indicating this link:
(Free preview) My new book "Programming in C# – Basic...
Due to design purpose I use the fluid Layout which is mainly made by Grid.Row definition. I want to adjust my WPF application to run smoothly on every monitor that's why I use the DPI Decorator class. And this DPI Decorator is perfectly working that means the screen UI components are perfectly...
Hello good people. New here. First post.
First up, I am by no means a "professional" developer. I have written quite a few desktop applications in Python Qt, VB.NET and C# WinForms, Java Swing (many years ago), and a whole bunch of code to automate host applications with VBA (Excel, Access...
Hi,
I have problems getting the combobox to work.
I have a usercontrol with an listview and some controls. Everything works fine, when not using the combobox. Each time I click on one row in the ListView it should show in the controls (textboxes, labels and so on).
The list in the listview is...
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)...
Hi, I've created a SQL Loginsystem (doesn't matter, but okay ^^).
When someone clicks on the register function, a new window should appear. But how do I do that ? And how can I edit this window ? Would there appear another window.xaml?
Greetings from the US.
Hello, first of all I want to say I'm 14 years old and this is for educational purposes only! I don't want to damage any kind of person / system.
So... I've built a program that overwrite logonui.exe with another logonui.exe . When I take ownership manually of the System32 folder everything is...
Hi,
I'm designing a wpf program with mvvm and now I'm confused which way I should do the "problem" with multiple datacontext to a usercontrol.
I have googled a lot and find out, that I can do it in two ways;
Make the vm extended with the foreign key and these properties in the view model
Or...
Hey guys i m very new here so sorry if this is not the right place to post it but i really dont know where else i'd post it.
I'm new at WPF and i don't know that much yet but i'm still learning.
so here is my issue
I want to make a simple financial manager witch takes the the content of the...
Hey guys!
I built an WPF Application, with a database, which provides the data. Until now a database running on the same machine as the one were I developed the app was enough. Now I want to run the app on other computers to, so I want to try using a Raspberry Pi as databaseserver. Unforutnately...
Hi,
I have a ListView bound to a view model, I set up groupings in the list view using PropertyGroupDescriptions:
BrowserItemCollectionView = CollectionViewSource.GetDefaultView(myCollection);
//Set up filter
BrowserItemCollectionView.Filter =...
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 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...
Hi,
I have a wpf application that has a textbox to which value is inserted using a scanner. At one time when I scan a single data, multiple lines comes into textbox which can be scrolled down to see. But I dont want them as multiple lines. I want to combine all lines into a single line and see...
Hi,
I have a big application with a main window. The application is in wpf. I need to enter some values. So I created a second window called Manuel_Eingabe to enter the values. Now in the main window I made a button and created an eventhandler as click. Now when we click on the button, I need...
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.