How to implement fade animation when select a node

How can i implement a <SPAN =short_text lang=en id=result_>fade animation when a node is selected or unselected??

Set up Visual State Manager animations. (Except in WPF 3.5 which doesn’t support the VSM.)

Part.OnIsSelectedChanged calls VisualStateManager.GoToState with a new state of either “Selected” or “Unselected”.