ToggleCollection.SetSelection(Int32, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the selection of a an element in the toggle collection based on index.
<param name="index">Index of an element in the ToggleCollection.</param><param name="force">Force selection to be set.</param>public void SetSelection(int index, bool force = false);
member this.SetSelection : int * bool -> unit
Public Sub SetSelection (index As Integer, Optional force As Boolean = false)
Parameters
- index
- Int32
- force
- Boolean