IPseudoClasses Interface

Summary

Exposes an interface for setting pseudoclasses on a Classes collection.
Namespace
Avalonia.Controls
Implementing Types
graph TD Type["IPseudoClasses"] class Type type-node Type-.->Implementing0["Classes"] click Implementing0 "/api/Avalonia.Controls/Classes"

Syntax

public interface IPseudoClasses

Methods

Name Value Summary
Add(string) void
Adds a pseudoclass to the collection.
Remove(string) bool
Removes a pseudoclass from the collection.

Extension Methods

Name Value Summary
Set(string, bool) void
Adds or removes a pseudoclass depending on a boolean value.
Set(string, IObservable<bool>) IDisposable
Sets a pseudoclass depending on an observable trigger.