Following the MVVM model, I am not able to update the values of a variable of an object in a collection, display them on the screen or the user type and this value is passed to the variable.
In my case, I have a customer registration screen a...
I'm trying to put a shortcut on my system menu in WPF.
In Windows form, just change the text property by placing the "&" before, but in WPF does not use "text" but "content"
Does anyone help me?
<Menu HorizontalAlignment="Left" Heigh...
I'm trying to use a WPF theme package, but I can not call it, when I do the use it says it's missing the reference and I can not find any tutorials or anything current about it.
Itriedtoinstallusingnugetandthethemesofthatlink link
NOTE: I...
I have DataTable loaded with information in a WPF application.
I would like to get this DataTable and load it into a DataGrid .
How can I do this the easy way?
DataGrid in XAML:
<Grid>
<Button Cont...
I have my desktop application that needs to send data (only send) to a webapi, this data can not be sent repeatedly and also after sent, not send again, the desktop app will be in .net (wpf) the webapi also asp .net webapi.
The desktop applic...
I need to make a query in the database, I made this code for connection, but I do not know how to proceed to put this information in a list<String>
SqlConnection conexao = new SqlConnection(_stringConexao);
SqlCommand comando = ne...
How do you call the function of clicking and dragging the title bar of the window to the corners of the screen, and they adjust themselves?
Example: when dragging the window in the right corner of the screen, it occupies 50% of the screen on...
Good afternoon guys, I have a somewhat ridiculous problem, but I can not find the solution.
I'm trying some stringFormat as StringFormat={}{0:#,#.00}} and StringFormat=N2} , in addition to StringFormat='c' , but taki...
Hello, I have seen several examples on the internet of progressBar in WPF, but none works.
It appears more does not fill in the values, in fact it fills the values only after running the initial method where it is called.
Source Code:
p...
I am having doubts on how popular a ComboBox in WPF using the MVVM standard. Here in Stackoverflow there is a similar question to mine, but it was not answered ( # ).
I searched and saw that people mixed the Persistence layer a bit with View...