Top "Wpf" questions

Windows Presentation Foundation, or WPF, is a subsystem for rendering user interfaces in Windows-based applications.

Metadata file '.dll' could not be found

I am working on a WPF, C# 3.0 project, and I get this error: Error 1 Metadata file 'WORK=- \Tools\VersionManagementSystem\…

c# .net wpf visual-studio-2008 c#-3.0
Binding a WPF ComboBox to a custom list

I have a ComboBox that doesn't seem to update the SelectedItem/SelectedValue. The ComboBox ItemsSource is bound to a property …

c# wpf data-binding mvvm combobox
Setting WPF image source in code

I'm trying to set a WPF image's source in code. The image is embedded as a resource in the project. …

c# .net wpf image
How do I get the color from a hexadecimal color code using .NET?

How can I get a color from a hexadecimal color code (e.g. #FFDFD991)? I am reading a file and …

c# wpf colors hex
Storing WPF Image Resources

For a WPF application which will need 10 - 20 small icons and images for illustrative purposes, is storing these in the …

c# .net wpf embedded-resource
How do I get a TextBox to only accept numeric input in WPF?

I'm looking to accept digits and the decimal point, but no sign. I've looked at samples using the NumericUpDown control …

c# wpf xaml textbox numericupdown
How do I use WPF bindings with RelativeSource?

How do I use RelativeSource with WPF bindings and what are the different use-cases?

.net wpf xaml data-binding relativesource
MVVM: Tutorial from start to finish?

I'm a C#/Windows Forms programmer with more than 5 years experience. I've been investigating WPF using the MVVM (Model-View-ViewModel) design …

c# .net wpf mvvm
Set background color of WPF Textbox in C# code

How can I change the background and foreground colors of a WPF Textbox programmatically in C#?

c# .net wpf background-color
How do I exit a WPF application programmatically?

In the few years I've been using C# (Windows Forms), I've never used WPF. But, now I love WPF, but …

c# .net wpf shutdown