wpf

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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)...
  7. 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.
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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 =...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. W

    Resolved Accessing windows element from another class

    Hi, I made a cook book app. It has a flow layout panel on the side and from it you can choose to view different recipes or write a new one. When you choose an option the main area of the window changes by switching user controls. The issue is when I choose to write recipe I want it to update...
  20. N

    List<string> to Datagrid

    Hi, I have a List<string> called DataOutput, which I obtained from converting a char array. (I know that it works as i have been able to write it to the output window.) I am trying to display it in a DataGrid either by binding in xaml or through the xaml.cs file. 1. how do i go about this? 2...
Back
Top Bottom