Selectors.

OfType<T>(Selector) Method

Summary

Returns a selector which matches a type.
Namespace
Avalonia.Styling
Containing Type
Selectors

Syntax

public static Selector OfType<T>(this Selector previous) where T : IStyleable

Type Parameters

Name Description
T The type.

Parameters

Name Type Description
previous Selector The previous selector.

Return Value

Type Description
Selector The selector.