Questions tagged as 'wpf'

1
answer

Framework for Windows forms or WPF [closed]

Well, I'd like to know if there is any framework for Windows forms or WPF, to facilitate development.  framework that facilitates the creation of UI, and access to data.     
asked by 26.04.2017 / 05:26
2
answers

Read a BLOB corresponding to an image

The following code uses MySqlDataReader to obtain a specific database record: string cmd = string.Format("Select * from socios.socio WHERE idSocio={0}", chave); MySqlCommand comandoMySQL = new MySqlCommand(cmd, ligacaoBD); MySqlDataReader read...
asked by 23.02.2017 / 11:20
1
answer

How to pass the name of a wpf window as a parameter

I use% custom% to show userControl and when I double-click on a line, I call a register window, which is expecting to send Data Grid of the selected line as a parameter, I wanted to simplify passing this method of all screens from...
asked by 26.03.2017 / 20:57
1
answer

Change column width Modern UI MetroChart for WPF

Good morning, personal. I'm using MetroChart ( link ) for graphing, everything is working fine, however I'd like to change the style of the columns / bars of the graphs because it is configured to occupy the entire space of the graph, and whe...
asked by 05.01.2017 / 13:51
1
answer

Pass sequence of steps (methods) to window (wpf)

Greetings ... I currently have a screen similar to the one below: This screen uses BackgroundWorker to execute a sequence of steps and inform the user through the messages in the textblock a step by step of the tasks that are currently exe...
asked by 04.01.2017 / 19:42
1
answer

WPF Checkbox Combobox direct click button after selection

I have some comboxboxes which I populate with checkboxes. After selecting the items click on search, however the first click is used to compress the combo and then I click again to activate the button. Is there any way to avoid having to give...
asked by 28.12.2016 / 13:34
1
answer

Upload Image from DataGrid to Image

The variable x is associated with an image (blob field) that I uploaded to a Datagrid from a MySQL database. DataRowView selectedRecord = (DataRowView)dataGridImagem.SelectedItem; var x= selectedRecord.Row.ItemArray[2]; How can I now procee...
asked by 14.12.2016 / 22:02
1
answer

Possible values for ComboBoxPopupAnimationKey?

I recently had a bug with combobox on WPF . It was bug related to a "haze" at the source when it had only one item in the combobox while it opened. I solved the problem by removing the animation from it with the...
asked by 31.10.2016 / 19:28
2
answers

Separate front-end and back-and-from executable

My idea is to separate the application into three different files, in the file MinhaAppBackend.dll , it will be, as the name suggests, all classes and other elements that are part of the application backend (Model, ViewModel, Daos etc ). I...
asked by 15.07.2016 / 20:19
1
answer

Exporting the Listview to Excel (.xls) from a populated list by LINQ, WPF (C #) project?

Good ... I need to export the data of the Listview populated by the LINQ method of a SQL Database ... I can not get the Column Headers in Excel ... Can anyone help? Reference: link Export Class: using System; using System.Collecti...
asked by 17.07.2016 / 06:02