Selectors.

PropertyEquals<T>(Selector, AvaloniaProperty<T>, object) Method

Summary

Returns a selector which matches a control with the specified property value.
Namespace
Avalonia.Styling
Containing Type
Selectors

Syntax

public static Selector PropertyEquals<T>(this Selector previous, AvaloniaProperty<T> property, object value)

Type Parameters

Name Description
T The property type.

Parameters

Name Type Description
previous Selector The previous selector.
property AvaloniaProperty<T> The property.
value object The property value.

Return Value

Type Description
Selector The selector.