WPF Archives - All Things DotNetAll Things DotNet
  • Subscribe to this RSS feed
  • Receive updates as soon as they are posted.

WPF Category

September 13 , 2011 | | In: Silverlight, WPF

XAML – Affect Properties of One Control with Another

Sometimes you need to affect or change a property of one control based on the input of another control at runtime. A very simple example would be something like changing the Content property of a button by typing text into a Textbox. This is achieved by using a markup extension to bind the two controls […]

September 24 , 2010 | | In: Silverlight, WPF

Understanding Margins in XAML

The good news is that, if you understand how margins work in CSS, you’re a lot closer to understanding how they work in XAML than the rest of the designers/developers. First, we’ll look at how it’s used, and then we’ll look at the differences between XAML margins and CSS (which is not that much, really). […]

September 24 , 2010 | | In: Silverlight, WPF

Vertical and Horizontal Alignment

Are you new to XAML and Silverlight or WPF, but you’ve used either ASP.Net or Winforms before? Are you freaked out that controls you put in the window get bigger when you resize the window?

September 20 , 2010 | | In: WPF

Image and Text in WPF Tooltip

Everyone knows how great tooltips are. In fact you wouldn’t even think of not creating a Windows app without them, most likely. Now, with the wonderful StackPanel, you can have not only text, but images too.

August 24 , 2010 | | In: WPF

Password TextBox in WPF

Many (or most) of us, coming from the ASP.Net world might be looking for something like the TextMode Property, in a TextBox, so that we could use the ‘Password’ enumeration item. However, in WPF, since 3.0, it’s been much more direct. There’s actually a ‘PasswordBox’ control to use. All you really need to do to […]

August 24 , 2010 | | In: WPF

WPF Combobox – Difference in Databinding Terminology

In ASP.Net, for DropDownLists, we had the DataSource or DataSourceID, the DataTextField, for the text that is acthally seen in the DropDownlist, and the DataValueField, for the unseen value of each item. For a ComboBox, the terminolgy changes a little. We have the ItemSource, the DisplayMemberPath, and the SelectedValuePath (which, IMHO, seems very odd use […]

August 24 , 2010 | | In: WPF

No BorderWidth in WPF

For those of us who came from the ASP.Net world, and used the ‘BorderWidth’ property on many controls, alas, there is no such property in WPF. However, there is a property in it’s place – – just make sure you use the correct terminology – ‘BorderThickness’

All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF

If you find this site helpful,
please donate to help keep it online and free

Code 'n' Sprox   DreamTemplate - Web Templates

Follow us on Twitter

Follow AllThingsDotNet on Twitter

Test - The Name: 6936