Remove Method
Removes a style class from the collection.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public override bool Remove(
string name
)
Public Overrides Function Remove (
name As String
) As Boolean
abstract Remove :
name : string -> bool
override Remove :
name : string -> bool
Parameters
- String
- The class name.
Return Value
BooleanImplements
ICollection(T).Remove(T)Remarks
Only standard classes may be removed via this method. To remove pseudoclasses (classes beginning with a ':' character) use the protected PseudoClasses property.