How to put behavior in style for TextBox in Silverlight?
问题 In Xaml, I can put customized behavior for a textbox like: <TextBox> <i:Interaction.Behaviors> <My:TextBoxNewBehavior/> </i:Interaction.Behaviors> </TextBox> I want to all TextBox has this behavior, so how to put this behavior in implicit style like? <Style TargetType="TextBox"> <Setter Property="BorderThickness" Value="1"/> .... </Style> Update: Thanks for info. Try the way as suggested below and the app is crashed: <Setter Property="i:Interaction.Behaviors"> <Setter.Value> <My