public IEnumerable<string> EnumCol { get; set; }
var enum_names = Enum.GetNames(typeof(YourEnumTypeHere)); EnumCol = enum_names ;
<ListBox ItemsSource="{Binding EnumCol}"></ListBox>
Yorum Gönder
Hiç yorum yok:
Yorum Gönder