Questions tagged as 'wpf'

0
answers

WPF and the MVVM standard, doubts

I'm studying C # and am having to develop a WPF application with the default MVVM. A question I have about this pattern is in relation to events, I have read in some places that it is not recommended to use events and also that we can not access...
asked by 19.06.2018 / 18:05
1
answer

Buttons with images in WPF

I'm new to WPF and I'm trying to create a button, where the content of it will have only a background image and nothing else. It will have no border, background color or text, just a clickable image. I tried to do it: <Button> <...
asked by 31.05.2018 / 14:56
2
answers

Scroll element of the DataGrid class WPF C #

I have a function that creates a grid, and I needed to know the value of the scroll of this grid, so I can trigger an event when it reaches the bottom of the page. But I do not know how to get those values, the function is down here: using Sys...
asked by 05.07.2018 / 21:25
1
answer

MahApps - How to Create Menu Button on the Application Titles Bar

I have a user button in my title bar that will allow the user to switch between users or exit the application. How do I create a menu that contains both of these features? <controls:MetroWindow.RightWindowCommands> <contro...
asked by 12.08.2017 / 19:00
1
answer

Error starting WPF application

When I start my application, an error message is displayed. The problem is that I can not find the source of the problem. Before, it did not start today. I thought it might be some configuration, but I did not change anything in Visual Studio, w...
asked by 11.08.2017 / 15:44
1
answer

Visual Inheritance Doubt between Windows in WPF

I'm new to WPF and would like to clarify a question that I think most people have but can not clarify right, which is the visual inheritance of windows. Imagine that all my registration screens should have the same appearance and the same but...
asked by 08.11.2017 / 10:06
1
answer

How do I instantiate a class within a wpf? [closed]

The thing goes further, the problem is that it always returns this error when instantiating this class: namespace AlmoxarifadoUpas { class ConsultaMaterialEntradaSaida { private IEnumerable<MaterialA> materiais = new List<Mate...
asked by 10.03.2017 / 14:47
0
answers

Is it normal to pass null variables from the client side to the service side?

My goal is to create three applications: WCF, ASP.NEW Web API and WPF. My question is: Is it normal, the data that we initialize on the client side ie (WPF) and that we move to the service (WCF) come to null? Example of my code - WPF...
asked by 18.01.2017 / 14:54
0
answers

Working with two treeviews and their items in WPF

I have two similar treeviews, but with different items, in the case, one of them brings a dialog in Portuguese while the other one should bring the same dialog in English. I have two text boxes, one to put the text in English another to put the...
asked by 01.06.2016 / 20:07
1
answer

Publish WPF applications

I made a publish of a WPF application with the CD-ROM option. Well, I noticed that it creates folders, an Autorun.inf, a setup.exe, and a Nome_Programa.Application . I was doing some testing, removing every folder / generated files, to the...
asked by 07.06.2016 / 16:23