Questions tagged as 'wpf'

1
answer

Get Project URL

Hello, I need to get the url where my project (wpf) is located. The reason is this: there is an image upload to the Image folder (which is in the solution of my project) and I need the url of it so that the image is saved in the correct folder....
asked by 10.05.2015 / 16:49
1
answer

Added multiple items in a DataGrid by List

I have two textboxes. One for e-mail and the other for remarks. When the user clicks the add button, it should be adding to my datagrid, but to no avail! How can I do this? As the user clicks on the add button, he has to increase the rows of the...
asked by 27.05.2015 / 19:20
1
answer

Shortcut on user's initialize clickonce

I have an application ClickOnce , I have the option to create a shortcut in Desktop , but is there a way to make it add a shortcut in the Windows initialization? Programmatically, which user when installing the application, au...
asked by 16.01.2015 / 12:06
1
answer

Pass variable through the ConverterParameter

I have the following code snippet: Visibility = "{Binding TipoDestinatario, Converter={StaticResource conversorTipoDestinatario}, ConverterParameter=}. I would need to pass a Boolean variable by ConverterParameter= , would anyone know...
asked by 08.12.2014 / 11:08
1
answer

Replication of database in WPF + EF system

I have a sales system in WPF / EF that is in use in different cities, but the database is in headquarters. I'm having trouble when the city link is too slow, resulting in a slow sale. Can I do a replication of this my database to the local se...
asked by 05.03.2015 / 14:01
1
answer

Problem with popular DataGrid

I'm making the population a DataGrid , but I do not know why it's not showing. Result: Onlyemptyrowsarereturned.Inspection.cspublicclassFiscalizacoes{privateStringConcessionaria{get;set;}privateStringMunicipio{get;set;}privateStringSistem...
asked by 02.12.2014 / 13:20
1
answer

WPF Buttons grouped automatically on a stackpanel

I have the following problem: I am creating buttons from the results that I find in the database. I would just like to position them secondarily, and when he reaches the end, breaks the line and continues .. I'm working on a Bar screen, where I...
asked by 02.09.2014 / 15:06
1
answer

How to group my Data Grid by modules?

How can I group data in my DataGrid? For example Would you like to group these values and sum them in a DataGrid more or less as I described above?     
asked by 15.05.2014 / 20:14
1
answer

How do I leave specific items in my dynamic listbox disabled?

I have a ListBox that loads dynamically using EF. One of the filters used is that the product exists in the stock. var query = (from p in db.Products join s in db.Stocks on new { p.SchoolID, p.P...
asked by 15.04.2014 / 15:02
0
answers

Problem with Bindind + KeyDown C # WPF

I have in XAML a combobox and a textbox, they are: <Label Grid.ColumnSpan="4" Content="Tipo Filtro" Grid.Column="0" Grid.Row="0" Padding="0" VerticalContentAlignment="Center"/> <ComboBox SelectedValue=...
asked by 28.12.2018 / 19:38