Questions tagged as 'wpf'

0
answers

WPF XAML does not render

I'm having problem with the view only rendering normally when I enter the ResourceDictionary in the resources of the same, but when I enter the ResourceDictionary in the resources of App.xaml the view in question does not render there are no err...
asked by 08.04.2016 / 16:04
0
answers

Arrange ListView by column

I have a ListView with 2 columns: Template | Variants. By clicking on the top I want the table to be organized according to the column I click     
asked by 13.04.2016 / 16:01
1
answer

dialog messages triggered from the ViewModel via the DialogCoordinator

I came across a problem working on a WPF project where I use "MVVM Light Toolkit" and "MahApps.Metro". I'm trying to take advantage of the "DialogCoordinator" feature provided by "MahApps.Metro" to trigger dialog messages from my ViewModels....
asked by 24.02.2016 / 17:37
0
answers

SelectedItem in the MouseDoubleClick event

I have the following situation. A UserControl where I can choose a company to work on, when I choose it, I send it to the application title. My problem is that I can only choose the company with just one click, but I would like to select it w...
asked by 20.10.2015 / 14:56
1
answer

Printing using Crystal Reports in WPF

I'm having trouble printing using Crystal Reports in WPF, I use the same printing system for another system and it works fine, but on that system the following error appears ... IbelievetheerrorisinthedatasourcethatIampassing,becauseifIdonot...
asked by 05.11.2015 / 12:31
0
answers

Mark point in image obtained by the Kinect sensor

Well, I have the following problem: I have an application that gives me Kinect images in real time, but I need to develop a feature where the user marks some points in the image using the mouse. With the points marked, I need to get the X, Y and...
asked by 10.07.2015 / 20:06
1
answer

Justify Text in Windows Phone

I have an application that the text is displayed in a textBlock and I want to make this text justified, already tried to put the alignment of the text as justified, but it was not, it says that the method is not supported. I've been answered b...
asked by 15.05.2015 / 04:51
0
answers

When I change the value of a ComboBox all change

I have a database with two tables, Tab1 and Tab2. In Tab 1 I have Cd_Tab1 and Nm_Object. In Tab2 I have Cd_Tab2, Cd_Tab1. The two are related. In my project I have 4 ComboBox, all should represent the value of Cd_Tab2, but each one will write a...
asked by 15.05.2015 / 18:36
0
answers

Binding in Datagrid - Can not access a discarded object

I have datagrid with evaluations whose first column is the PATIENT NAME. But at the time of putting Binding Paciente.Nome it gives error. Within evaluation there is a patient object. DATAGRID CODE <DataGrid x:Name="DataGr...
asked by 18.05.2015 / 14:34
1
answer

Current size TextBlock runtime

Well, I have one question that is as follows. I'm creating a TextBlock at runtime with the following code: TextBlock txtMensagem = new TextBlock(); txtMensagem.Text = texto.Trim(); txtMensagem.TextWrapping = TextWrapping.Wrap; txtMensagem.Heig...
asked by 24.04.2015 / 18:17