Questions tagged as 'wpf'

4
answers

How to create a user interface with the same style that was used in Visual Studio, Office 2013, GitHub for Windows, etc?

I would like to know how to create UI like those used by Visual Studio, Office 2013, GitHub for Windows, etc. I searched the internet and found a theme for WPF called Cosmopolitan Theme, but looking at some details you realize that it is not...
asked by 16.12.2013 / 16:43
2
answers

Is it possible to program using the WinRT API without using XAML?

For some time now, declarative languages have taken over the development of software for creating graphical user interfaces. The most obvious examples are the framework WPF that uses XAML (eXtensible Application Markup Language) as a declara...
asked by 23.12.2013 / 13:12
1
answer

WPF Form is going behind all windows when a ComboBox is selected

My form WPF works perfectly, but in a specific%%, after the action of selecting, the form is going behind all windows without further explanation, and this does not happen in any other form, could anyone explain why? The image before c...
asked by 23.12.2013 / 19:19
3
answers

Disable maximizing and minimizing of windows form

I need a solution to disable the maximize and minimize buttons in a windows form. Using WPF these two attributes would solve: WindowStartupLocation="CenterScreen" ResizeMode="NoResize" But now I need it to be in a windows form. Here is the...
asked by 14.04.2015 / 15:19
2
answers

How to use Windows Forms components in a WPF application?

Is there any way to use Windows Forms components in WPF? For example, do I need to use the control Chart or MaskedTextBox of Windows Forms, which does not exist in WPF applications, how could I use it in my WPF application? I le...
asked by 24.09.2016 / 03:47
2
answers

Selecting a value from a row / column of the ListView populated by LINQ to SQL

Through the double click event I need to pull a value from a row / column in a ListvView populated by LINQ to SQL. For example, when the user needs to select a row / column value from this ListView, after the double-click event, this informati...
asked by 23.01.2016 / 21:43
1
answer

Centralize (use only one) a try-catch for the entire WPF application

Is there any way to centralize a try-catch for every application in a WPF application with C #? I've created a window to use as a% custom%. When you get an error in any system registry error, does it always fall into the same Messag...
asked by 18.12.2015 / 17:45
1
answer

How to edit data (numbers only) and calculate its values in a DataGrid?

I need a DataGrid column to receive users only numbers in the rows (cells) and after clicking on the button, multiplication calculations are performed between cells on the same row and different columns. The DataGrid is populated as follows to t...
asked by 27.05.2016 / 01:31
1
answer

How to make the properties of a User Control accessible in XAML?

A User Control can be used for a variety of purposes, but I'd like to know specifically a simple example of how to create a User Control / p> For example a NumericUpDown : CreatedfromthisXAML:<UserControlx:Class="TCC_2.Templates.Nu...
asked by 18.12.2016 / 21:12
1
answer

WPF - The SelectedItem property of the ComboBox is not working correctly

Note: This question was the adapted translation of the original question, so all Updates of the original question are together in this text, sorry for that, but the time is short and I can not stop to make a better text, but thanks for the atte...
asked by 18.12.2013 / 17:48