public void SetControllersActive( string reason, bool isActive )
Public Sub SetControllersActive( reason As String, isActive As Boolean )
A string value that specifies a reason by which Controllers are activated or deactivated.
true if you need to activate Controllers; otherwise, false.
Use this method to add a specified element to the Controller.Active collection of each Controller from the Frame's Frame.Controllers collection. This element, which represent a key/value pair, will be formed from values passed as the reason and isActive parameters. By calling this method, you can change a Controller's active state. A Controller is active, when none of the Controller.Activecollection elements have the false value. So, use this method in the following situations: