Silverlight doesn’t have any kind of ObjEctDataProvider with it. So the famous example of binding the controls with an ObjectDataProvider doesn’t work with silverlight as it works with WPF <UserControl.Resources> <ObjectDataProvider MethodName=“GetValues” ObjectType=”{x:Type sys:Enum}“ x:Key=“AlignmentValues”> <ObjectDataProvider.MethodParameters> <x:Type TypeName=“HorizontalAlignment” /> </ObjectDataProvider.MethodParameters> </ObjectDataProvider> This can be done via code behind in the Silverlight. Just [...]
Tag: Bind with Enum
