ObjectDataProvider « Windows Presentation Foundation « VB.Net






1.Create ObjectDataProvider and bind object to it in codeCreate ObjectDataProvider and bind object to it in code
2.The ObjectDataProvider exposes the enum as a binding sourceThe ObjectDataProvider exposes the enum as a binding source
3.Set up ObjectDataProvider in codeSet up ObjectDataProvider in code
4.Bind to Object to ObjectDataProviderBind to Object to ObjectDataProvider
5.Use Path to reference Bounded object in ItemSourceUse Path to reference Bounded object in ItemSource