Insert Method
Inserts a style class into the collection.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
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
Parameters
Implements
IList(T).Insert(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.