ClassesInsert Method
Inserts a style class into the collection.
Namespace: Avalonia.ControlsAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public override void Insert(
int index,
string name
)
Public Overrides Sub Insert (
index As Integer,
name As String
)
abstract Insert :
index : int *
name : string -> unit
override Insert :
index : int *
name : string -> unit
- index Int32
- The index to insert the class at.
- name String
- The class name.
IListTInsert(Int32, T)
Only standard classes may be added via this method. To add pseudoclasses (classes
beginning with a ':' character) use the protected
PseudoClasses
property.