Thanks for the help Keith. I figured out how to do it a different way,
using an xml data source.
Keith Patrick wrote:
> Closest I've tried is binding to a method declared by the window you are in:
> <Window Name="MainWin">
> <ComboBox ItemsSource="{Binding ElementName=MainWin, Path=Journal}"
> Style="{StaticResource Journal}">
> </ComboBox>
> </Window>
>
> where
>
> public class MainWindow : Window {
> protected IList<String> Journal {get { return new String[] {"one", "two",
> "three"}; }}
> }
>
> You should be able to adapt it with the ElementName/Path stuff, but I've had
> some problems with the binding stuff not throwing errors when I've
> misdeclared some
> of the path; it just binds to an empty list, which makes figuring it out by
> trial and error a royal pain.