Summary
Adds or removes a pseudoclass depending on a boolean value.
- Namespace
- Avalonia
.Controls - Containing Type
- Pseudolasses
Extensions
Syntax
public static void Set(this IPseudoClasses classes, string name, bool value)
Parameters
Name | Type | Description |
---|---|---|
classes | IPseudoClasses | The pseudoclasses collection. |
name | string | The name of the pseudoclass to set. |
value | bool | True to add the pseudoclass or false to remove. |
Return Value
Type | Description |
---|---|
void |