ClassesInsert Method

Inserts a style class into the collection.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public override void Insert(
	int index,
	string name
)

Parameters

index  Int32
The index to insert the class at.
name  String
The class name.

Implements

IListTInsert(Int32, T)

Remarks

Only standard classes may be added via this method. To add pseudoclasses (classes beginning with a ':' character) use the protected PseudoClasses property.

See Also