Questions tagged as 'wpf'

1
answer

WPF, style for buttons in XAML

I'm a C # programmer and I'm just using WPF and I'd like to replicate these buttons in xaml, starting with their form!     
asked by 04.05.2016 / 04:22
1
answer

Show data Binding WPF C #

Good day, I have had problems to show the data in a grid using wpf the code does not throw me error and reviewing the step by step I see that the methods take the values registered in the DB but do not take them to the grid. I share code: 1....
asked by 05.09.2018 / 16:42
1
answer

error 'EditItem' is not allowed for this view when applying a filter to a WPF data grid

I see this error in a DataGrid when using a textbox to find a name that shows me what it finds but when clicking on the cell I want to edit that error appears. when loading the window if it works but when using a filter and load the result the r...
asked by 28.06.2018 / 21:05
4
answers

How to fill a DataGrid with records obtained from a database?

I want to fill a DataGrid that has predefined columns and the data is obtained from a database. Previously I used the following code to fill in the DataGrid made with C # in Visual Studio 2017 in a window (WPF) public void llenarDataGr...
asked by 08.04.2018 / 02:38
1
answer

Distinguish touch from scrolling

I'm making an application that will be used on touch screens. The problem I have is that I do not know how to distinguish between scrolling and simple touch. I have a scrollviewer that contains a stackpanel where I am adding images. The idea...
asked by 26.01.2018 / 10:11
3
answers

Dynamic text writing animation that identifies when to skip the line or if the writing space is over?

I have an animation that writes lines of text in a text box, but when it reaches the end of the text box, the words pop up to the next line in the middle of the animation. What I want to achieve is that the word skips to the next line before...
asked by 11.12.2017 / 21:56
1
answer

Changes in the main process from a task

I have an application and I want to check through a Task if the user opens other applications and in that case minimize my application (but I can still use it for that purpose). The problem is that it throws an exception System.InvalidOper...
asked by 24.07.2017 / 12:29
2
answers

How can I make a sound sound every so often?

I am trying to realize that when a hand passes a coordinate, a sound will sound. The problem arises when passing the hand, which is tried to run constantly since it is a sound of about 2 seconds. Could you do it in a way that you do it every so...
asked by 30.05.2017 / 11:03
1
answer

Fill textbox with combobox

I'm trying to fill TextBox from a% of ComboBox , my problem is that I show the data of ComboBox and fill the TextBox but when I change the item in ComboBox the data of TextBox remain static. I share th...
asked by 03.12.2018 / 19:20
1
answer

WPF and C # pop-up windows

Good morning community, I have a question, since C # with WPF it is possible to show messages to users who are using the application, ie send a message saying "Please leave the system" and show it to the users, regardless of the menu they hav...
asked by 12.10.2018 / 23:37