Classes.

Remove(string) Method

Summary

Removes a style class from the collection.
Namespace
Avalonia.Controls
Containing Type
Classes

Syntax

public override bool Remove(string name)

Remarks

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

Parameters

Name Type Description
name string The class name.

Return Value

Type Description
bool