Windows Vista Beta | WinVistaBeta.com - Message | Databinding Comboboxes in XAML

August 28, 2008  
Subject: Databinding Comboboxes in XAML
Group: microsoft.public.windows.developer.winfx.avalon
Date: 7/3/2008 10:56:09 AM
From: =?Utf-8?B?QmVu?= [Email Address Protection]

I'm databinding to a XElement (from a XML file) in XAML... All of my
TextBoxes are a breeze, it's just a simple Text="{Binding
Path=Element[Event].Element[Name].Value..., but I don't understand how I
would databind to a ComboBox. How do I get the the ComboBox to automatically
select the item whose text matches the Value from my Binding Path?

Any help with this would be greatly appreciated :)

Back