InsertRange Method
Inserts style classes into the collection.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public override void InsertRange(
int index,
IEnumerable<string> names
)
Public Overrides Sub InsertRange (
index As Integer,
names As IEnumerable(Of String)
)
abstract InsertRange :
index : int *
names : IEnumerable<string> -> unit
override InsertRange :
index : int *
names : IEnumerable<string> -> unit
Parameters
- Int32
- The index to insert the class at.
- IEnumerable(String)
- The class names.
Implements
IAvaloniaList(T).InsertRange(Int32, IEnumerable(T))Remarks
Only standard classes may be added via this method. To add pseudoclasses (classes beginning with a ':' character) use the protected PseudoClasses property.