Questions tagged as 'wpf'

1
answer

Problem in displaying the wpf datagrid control

I'm experiencing two issues with the wpf datagrid control. The first one: I have the main form, where some data is displayed, and another where the data is inserted. When I click to enter the data and the first form was hidden the control column...
asked by 08.12.2016 / 22:37
0
answers

How to link image on canvas with an object

I have the following class: class Sapo { private Image imgSapo; public int IdSapo { get; } public Sapo(int id) { imgSapo = new Image(); IdSapo = id; } public Image show { get {...
asked by 28.11.2016 / 17:33
0
answers

Client Rest + WPF - PUT Method (UPDATE)

Hello everyone! I'm trying to implement a method to update (update) information in a WPF application. Apparently, everything is correct, however, the method does not work. Here is the code: This is the PUT on the server side (Controller): p...
asked by 18.08.2016 / 17:22
1
answer

Namespace error when I create "Resource Dictionary ..." inside a folder

In an empty project (test - WPF Application) I test two scenarios. Scenario 1 Right click on the project Add Resource Dictionary ... I get the following: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/...
asked by 16.05.2016 / 16:32
0
answers

TrackBar component with two meters

I've created a trackbar component with 2 meters, plus when I manually render it in xaml , barra and marcadores misconfigure and barra goes up and marcadores goes by. Code: using System; using System.Col...
asked by 14.04.2016 / 18:20
0
answers

Allowing the transparent background of a web page to pass through the rest of the windows in a webbrowser control

I'm trying to make the transparent background of a page in the webbrowser control remain transparent by allowing the user to see what is beneath that window, ie only HTML elements that are above the transparent background will be visible. Using...
asked by 20.05.2016 / 19:02
1
answer

Relationship between the "InitializeComponent ();" method and loading a "Splash Screen"

I've added a splash screen to a project in the simplest way, that is, by changing the Build Action property to SplashScreen . Although with very similar visual effects, what actually happens when we compare these two solutions? A pub...
asked by 12.04.2016 / 10:12
2
answers

Error when trying to change cursor during algorithm C #

Hello, I'm developing C # software to help digitize old photos, and in the middle of one of the algorithms to process the images, I want the cursor to switch to loading mode so the user knows when the system is processing. > What I did was ins...
asked by 17.03.2016 / 22:20
3
answers

How do I replace Windows form DialogResult in wpf?

I have this code: DialogResult dr = ofd1.ShowDialog(); Moving to WPF does not work. I searched the internet and found nothing yet, that satisfies me. How do I replace in WPF? Note: ofd1 is a OpenDialog     
asked by 03.03.2016 / 13:58
1
answer

Problems with RibbonComboBox

Good afternoon, we are developing a text editing tool. In it we are using the menus with the "RibbonControlsLibrary", and so far everything is right. When I decided to use RibbonComboBox it started the problem, based on an example I tried to rea...
asked by 23.12.2015 / 19:33