wpf

  1. M

    Resolved ListBox whose items can be edited / discarded /accepted

    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...
  2. M

    Resolved how to best use "public"read-write properties of event-driven applications

    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...
  3. J

    Filtering data grid causes UI freeze

    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...
  4. mariodeghetto

    I will publish 3 books on C# (free preview + early bird edition)

    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...
  5. M

    How to Bind FontSize of a TextBlock from two different sources in WPF?

    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...
  6. Miles

    A question on architecture

    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...
  7. S

    Setting SelectedValue doesn't update combobox

    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...
  8. B

    Removing treeviewitem using MVVM pattern in WPF application

    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)...
  9. redexception

    Create a new window in WPF

    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.
  10. redexception

    Overwrite Systemfiles

    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...
  11. S

    What is best Practice in a wpf mvvm with multiple datacontext

    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...
  12. E

    Datagrid row should change the color

    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...
  13. J

    Raspberry Pi as Databaseserver for WPF Application

    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...
  14. archie456

    Resolved ListView PropertyGroupDescription Custom Sort

    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 =...
  15. M

    How to Scale WPF application according to screen resolution?

    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...
  16. destro

    Resolved How can I bind my objects horizontally using itemTemplate?

    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...
  17. G

    Resolved Textbox problem - Cannot Understand Text="&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;"

    <TextBlock HorizontalAlignment="Left" Height="355" Margin="94,13,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="1811"><Run Text="Herstellerseriennummer:" /><Run Text="&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;" /><LineBreak /><Run...
  18. G

    Answered Combine multiple lines into a single line in a textbox

    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...
  19. G

    Resolved Manuel_Eingabe is a namespace but it is used as a type

    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...
  20. G

    Textbox not filling with last letter of the entered string

    Hi, I have created an application for learning purposes. Its a wpf application. The application works like this. First is the main window. It has a button called open and a textbox. When I click on open a new window will open up. This new window has 3 textboxes and 1 button ok. The three...
Back
Top Bottom