StyledElement.

PseudoClass(AvaloniaProperty<bool>, string) Method

Summary

Adds a pseudo-class to be set when a property is true.
Namespace
Avalonia
Containing Type
StyledElement

Syntax

[Obsolete("Use PseudoClass<TOwner> and specify the control type.")]
protected static void PseudoClass(AvaloniaProperty<bool> property, string className)

Attributes

Type Description
ObsoleteAttribute

Parameters

Name Type Description
property AvaloniaProperty<bool> The property.
className string The pseudo-class.

Return Value

Type Description
void