Questions tagged as 'wpf'

2
answers

TextBox changes the value to decimal (EN) when pressing TAB, but I want to leave currency (REAL) field

I have a field <TextBox x:Name="TbTotalICMS" Style="{StaticResource MeuTextBoxValor}" Text="{Binding Vicms}" /> My Vicms is a decimal. When pressing the TAB key, the value is 1.00 (example) it turns 100. For as it is a decimal in Eng...
asked by 06.08.2018 / 14:37
1
answer

Can I populate a DataGrid with a ListT?

How do I fill a DataGrid from a List typed? Would it be possible to generate the columns automatically?     
asked by 08.05.2014 / 20:03
2
answers

Is there any component that replaces Windows Forms SpinEdit in WPF?

I prefer open source components, or if possible a form of adaptation, since I did not find any SpinEdit or similar in WPF.     
asked by 13.02.2017 / 02:15
1
answer

Model / View Programing - WPF and MySQL

I had already done some C ++ programs using the QT framework and its Model / View Programming ( link ). The concept was simple: created a template accessing MySQL Creating the view that accesses the template ... Now that I'm using C...
asked by 21.10.2016 / 00:03
1
answer

What to test / implement in a viewmodel?

I'm trying to implement an MVVM (Model - View - Viewmodel) pattern that is related to MVP. Home Since ViewModel, for my understanding, is responsible for "passing" the data from the View layer to the Model, it was the responsibility of doing thi...
asked by 04.07.2016 / 19:11
1
answer

What are namespaces in XML?

Well, I understand the concept of namespaces in C #, C ++, etc. But I do not understand the concept of namespaces in WPF (XAML). I've been trying to understand the xmlns parameters in an XAML code. I read MSDN publications on th...
asked by 12.07.2016 / 18:24
1
answer

Keyboard Shortcuts in RibbonWindow

Hello, I'm developing an application using WPF and window based on RibbonWindow from RibbonControlsLibrary and I'm having issues with Gesture from "Ctrl + 0", just with the " Ctrl + NumPad0 "I was able to perform the action through the...
asked by 24.06.2016 / 13:19
1
answer

How to Popular a Listview, and Popular Another Listview by Primary Key?

I have two ListViews that I need to use LINQ to SQL (C #, WPF project) in a search field. When typing in the textbox field the KeyDown event will populate the first ListView (1), as the second has a column that is the Primary Key of the first, I...
asked by 25.06.2016 / 22:14
1
answer

How to call and display a WPF window that is in a dll

I have a DLL containing a WPF window, created through a project of type WPF User Control Library . How do I display this window from another project? Window's XAML (DLL project): <Window x:Class="UmaJanelaComUmBotao.Window1"...
asked by 23.09.2016 / 16:45
1
answer

WPF documentation with pure C # code

WPF is the "new" one for development, not only desktop but also mobile. However, almost all of the material that is available on WPF is fully tied to the use of IDE and XAML. But XAML is an intermediate language, it is compiled into C # code,...
asked by 22.09.2016 / 17:13