Top "Xaml" questions

Extensible Application Markup Language (XAML) is a declarative XML-based language used for initializing structured values and objects in various frameworks.

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
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
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
What's the difference between StaticResource and DynamicResource in WPF?

When using resources such as brushes, templates and styles in WPF, they can be specified either as StaticResources <Rectangle …

.net wpf xaml resources
Datagrid binding in WPF

I know this has been asked already but I have done almost everything what is suggested by developers. <DataGrid …

c# wpf xaml binding datagrid
Use StringFormat to add a string to a WPF XAML binding

I have a WPF 4 application that contains a TextBlock which has a one-way binding to an integer value (in this …

c# wpf xaml data-binding string-formatting
How to add comments into a Xaml file in WPF?

I used this syntax as I found online but it throws an error: xmlns:x="http://schemas.microsoft.com/winfx/2006/…

c# .net wpf xaml comments
Binding to static property

I'm having a hard time binding a simple static string property to a TextBox. Here's the class with the static …

wpf xaml data-binding
Create a menu Bar in WPF?

I want to create a menu bar identical to the one in windows forms in my WPF application. How would …

c# wpf xaml
DataTrigger where value is NOT null?

I know that I can make a setter that checks to see if a value is NULL and do something. …

wpf xaml binding visibility datatrigger