Questions tagged as 'wpf'

2
answers

How to block the focus of a control from advancing to the next control in wpf

I am developing a small application in wpf and a simple validation, what I want is that when the control does not satisfy the validation, the focus of the control is not removed even though the user clicks on another control. I forced that it do...
asked by 11.11.2017 / 19:55
1
answer

How to position buttons next to each other?

I am working with WPF, Visual Studio 2015, in which I want to place buttons next to each other as well as this image. I've only been able to achieve this. This is the XAML code that I am occupying, what I did was put a Grid wit...
asked by 08.10.2017 / 17:11
1
answer

Activate maintenance buttons for all my views

I'm working with WPF, Visual Studio 2015 I have a main view that is my home view, in which a TabControl and its respective TabItem fall at run time. In the TabItem at the moment of activating them (click) calls its respective UserContro...
asked by 10.10.2017 / 17:14
1
answer

How to put more than one control in a TabItem of a TabControl?

I'm working with WPF, Visual Studio 2015. The problem I have is the following I have a TabControl with tabItems, in a tabitem I added a label control without problems but when I add another label it gives me the following message: "The conte...
asked by 07.10.2017 / 17:28
1
answer

ImageList in WPF

I am using WPF and I need to use several images for my application. In WinForms I know that the ImageList component exists to be able to access them in a more comfortable way and I wanted to know if there is any component that fulfills the same...
asked by 01.08.2017 / 08:41
1
answer

Hide / Show TextBox when the value of another TextBox changes

I am developing an application in WPF and I came across a small problem. I want that when the value of a TextBox is changed, other TextBox disappears, depending on the value of TextBox that is changing, I am using...
asked by 02.07.2017 / 04:42
2
answers

An image is not loaded in BitmapImage

I am trying to load images at run time and each one is selected by means of a switch: seguimiento.tareaA = new Image(); switch (rowTarea["idTareaTipo"].ToString()) { case "f7f91a6f-24a2-1034-b505-d1f...
asked by 26.05.2017 / 21:09
1
answer

Problem with Crystal Repots reports when connecting to server

I have a problem wanting to generate reports from a database that is on a server, what happens is that when I perform local tests, I can generate the reports without problems, but when I try to assign it to the "ServerName" parameter in my code...
asked by 27.04.2017 / 18:49
2
answers

Task.Factory.StartNew and blocking UI

I have a problem. I'm in a WPF application and I want to do a SQL query in the background, all this I already have, the problem that at the time of making the "query", the UI is branded and I do not know why, if I'm doing it in another thread ....
asked by 27.08.2016 / 22:16
1
answer

The origin of a Biding WPF can be updated

to see if they could help me. I have two TextBox each in a different class, and I need that what is written in one is shown in the other. The one that should receive the data, I have it in xaml: <TextBox x:Name="mTxtPuntosLocal" Text="{B...
asked by 18.08.2016 / 12:37