Questions tagged as 'wpf'

1
answer

Updating values of an object from a collection via Binding WPF, MVVM

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...
asked by 26.10.2016 / 15:38
1
answer

First letter of underlined menu for shortcut - WPF

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...
asked by 15.04.2015 / 20:24
1
answer

How to use a theme in wpf?

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...
asked by 22.05.2015 / 20:18
1
answer

How to load DataTable into a DataGrid?

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...
asked by 14.02.2015 / 23:23
1
answer

What better way to synchronize desktop app data with webapi?

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...
asked by 30.06.2014 / 19:05
1
answer

Bank query for a List in C # WPF

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...
asked by 22.12.2014 / 11:57
1
answer

What is the function of dragging the window to the corners of the screen?

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...
asked by 25.02.2017 / 21:17
1
answer

WPF Xaml StringFormat

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...
asked by 22.11.2016 / 19:24
1
answer

ProgressBar WPF

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...
asked by 31.08.2017 / 19:57
1
answer

ComboBox in WPF - How to populate using MVVM

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...
asked by 07.10.2015 / 05:13