Im new to programming and in need clarification for the following ...
I have a text box in which text is automatically generated . Requirement: If i now highlight the text in the text box a new wpf window should open .. (this needs to be done using either wpf commands on attached property only/ not events)
Thanks :) P.s please give me detailed code for a reply ..
This is a very strange requirement but it can be done using behaviors. Here is some sample markup:
and here is the behavior that for demonstration purposes shows a message box:
This example uses behaviors. If you are not familiar with behaviors, install the Expression Blend 4 SDK and add this namespace:
and add
System.Windows.Interactivity
to your project.