Referencing enum defined in a class from within XAML
问题 In Expression Blend 4 (Silverlight project) I have a UserControl to which I have added a CLR property. This property is an enum type, which is defined within the UC. I have attached a ChangePropertyAction behaviour to an instance of the UC. However, the XAML parser gives the following error (among others): '+' is not valid in a name This is because the following XAML (snippet) has been generated: <local:SomeControl Margin="155,113,317,0" d:LayoutOverrides="Width, Height"> <i:Interaction