Selectors.

Class(Selector, string) Method

Summary

Returns a selector which matches a control's style class.
Namespace
Avalonia.Styling
Containing Type
Selectors

Syntax

public static Selector Class(this Selector previous, string name)

Parameters

Name Type Description
previous Selector The previous selector.
name string The name of the style class.

Return Value

Type Description
Selector The selector.