Questions tagged as 'wpf'

1
answer

Wpf Modern UI Metro Chart Update Chart

I have the graph below where the first load works normally, but when I do a search and change the list it continues with the previous series. Ex: In the first load I have 8 items in the list and it shows ok. According to a population survey a...
asked by 11.01.2017 / 13:12
1
answer

Empty line at the end when I do Data Binding - (WPF DataGrid Control + MySQL)

I've been implementing the example for this . I basically have: XAML <Window x:Class="DataGridBind.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006...
asked by 03.11.2016 / 19:22
1
answer

Programmatically change the date displayed in a DatePicker control?

I'm trying to display data from a field of a MySQL table in a DatePicker control. The code is as follows: if (dataGridProdutos.SelectedIndex != -1) { DateTime selectedDate; DataRowView selectedRecord = (DataRowView)dataGr...
asked by 01.12.2016 / 19:38
1
answer

Problems Starting IIS Express via C #

I need to start IIS Express via C # with WPF. I can even upload the site and browse, but for only a few seconds. Soon the site stops responding to requests, and only returns to respond when I close the application. private void WinPrincipal_Lo...
asked by 02.09.2016 / 22:20
1
answer

Class Library (Portable) UWP + WPF

I created a simple Portable Class Library project that is being used in two WPF e UWP projects. Both projects work normally, however, the UWP project while compiling displays the following error message: Althoughthepro...
asked by 12.09.2016 / 03:15
1
answer

Remove UI Debugging Tools from the Window

I would like to know how to remove the UI Debugging Tools for XAML option that appears at the top of the WPF window (as shown below)     
asked by 07.08.2016 / 00:18
1
answer

Add the same with the click event

I have in my wpf code a listbox with the name "lstBox" (left invisible), and inside it a listBoxItem with a label and a textbox. Outside the listbox, in the same window I have an "add item" button (clicking would make the listbox visible). I wou...
asked by 26.07.2016 / 21:51
1
answer

Print Width on Thermal Printer, WPF, and C #

Hello, I am making a program to print a list of activities on thermal printers, in it I put this information inside a table (created in code only for printing, with a total width of around 250, and a font size of 12) , and the table inside a Flow...
asked by 20.11.2015 / 18:45
1
answer

Define multiple styles for a UserControl through StaticResource's in WPF

I'm starting to work with WPF because of its similarity to HTML. I noticed through my searches that when I use an expression like this Style="{StaticResource MeuStyle}" it looks a lot like a class definition that I have in html ( class...
asked by 26.01.2016 / 18:54
1
answer

Information from a User Control to the parent window

I'm trying to send some info from my User Control to the title bar of the main screen that would be the parent window. The information I'm trying to send is the selected company of a DataGrid. How can I do this? I'm not getting.. I look forwa...
asked by 19.06.2015 / 18:50