Top "Wpf" questions

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

How to bind WPF button to a command in ViewModelBase?

I have a view AttributeView that contains all sorts of attributes. There's also a button that when pressed, it should …

c# wpf mvvm command viewmodel
WPF Button with Image

I'm trying to attach an image on a button in WPF, however this code fails. Seems strange after similar code …

wpf
Handling the window closing event with WPF / MVVM Light Toolkit

I'd like to handle the Closing event (when a user clicks the upper right 'X' button) of my window in …

c# wpf xaml mvvm mvvm-light
Example using Hyperlink in WPF

I've seen several suggestions, that you can add hyperlink to WPF application through Hyperlink control. Here's how I'm trying to …

c# wpf xaml hyperlink
Getting the application's directory from a WPF application

I found solutions for Windows Forms with AppDomain but what would be the equivalent for a WPF Application object?

c# .net wpf
How to hide close button in WPF window?

I'm writing a modal dialog in WPF. How do I set a WPF window to not have a close button? …

c# wpf xaml button dialog
Find all controls in WPF Window by type

I'm looking for a way to find all controls on Window by their type, for example: find all TextBoxes, find …

c# .net wpf
ComboBox- SelectionChanged event has old value, not new value

C#, .NET 4.0, VS2010. New to WPF. I have a ComboBox on my MainWindow. I hooked the SelectionChanged event of said …

c# wpf combobox .net-4.0 selectionchanged
How to format number of decimal places in wpf using style/template?

I am writing a WPF program and I am trying to figure out a way to format data in a …

wpf xaml data-binding string-formatting
RichTextBox (WPF) does not have string property "Text"

I am trying to set/get the text of my RichTextBox, but Text is not among list of its properties …

c# wpf wpf-controls richtextbox