Style.

TryAttach(IStyleable, IStyleHost?) Method

Namespace
Avalonia.Styling
Containing Type
Style

Syntax

public SelectorMatchResult TryAttach(IStyleable target, IStyleHost? host)

Parameters

Name Type Description
target IStyleable
host IStyleHost?

Return Value

Type Description
SelectorMatchResult