Silverlight3 bind checkbox list to a datagrid
Posted
by Stester
on Stack Overflow
See other posts from Stack Overflow
or by Stester
Published on 2010-02-09T05:40:54Z
Indexed on
2010/04/08
12:33 UTC
Read the original article
Hit count: 257
I have a enum, like
public enum TestType
{
Red = 1,
Blue = 2,
Green = 3,
Black = 4
}
I want to attach those values to a datagrid as checkboxes in silverlight 3.
(I would like to bind to a listview, but its not exists in silverlight)
Manage to get the enums to a ObservableCollection, any help to bind to datagrid? I tried with ItemsSource="{Binding Path=nameOfTheObservableCollection, }"
© Stack Overflow or respective owner