Styles.

TryAttach(IStyleable, IStyleHost?) Method

Namespace
Avalonia.Styling
Containing Type
Styles

Syntax

public SelectorMatchResult TryAttach(IStyleable target, IStyleHost? host)

Parameters

Name Type Description
target IStyleable
host IStyleHost?

Return Value

Type Description
SelectorMatchResult