Partager via


VisualStateGroupList.Insert(Int32, VisualStateGroup) Method

Definition

Inserts item at index in the list of groups.

public:
 virtual void Insert(int index, Microsoft::Maui::Controls::VisualStateGroup ^ item);
public void Insert (int index, Microsoft.Maui.Controls.VisualStateGroup item);
abstract member Insert : int * Microsoft.Maui.Controls.VisualStateGroup -> unit
override this.Insert : int * Microsoft.Maui.Controls.VisualStateGroup -> unit
Public Sub Insert (index As Integer, item As VisualStateGroup)

Parameters

index
Int32

The index at which to insert item.

item
VisualStateGroup

The group to insert.

Implements

Remarks

index must be less than the number of items in the list.

Applies to