13
WPF ComboBox bir enum özelliği veri
Örnek olarak aşağıdaki kodu alın: public enum ExampleEnum { FooBar, BarFoo } public class ExampleClass : INotifyPropertyChanged { private ExampleEnum example; public ExampleEnum ExampleProperty { get { return example; } { /* set and notify */; } } } Ben bir "ComoBar" ve "BarFoo" seçeneklerini gösterir ve modunda TwoWay çalışır …