Style.

TryGetResource(object, object?) Method

Namespace
Avalonia.Styling
Containing Type
Style

Syntax

public bool TryGetResource(object key, out object? result)

Parameters

Name Type Description
key object
result object?

Return Value

Type Description
bool