IPseudoClasses Interface

Summary

Exposes an interface for setting pseudoclasses on a Classes collection.
Namespace
Avalonia.Controls
Implementing Types
graph BT Type["IPseudoClasses"] class Type type-node Implementing0["Classes"]-.->Type 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.