ApplicationTryGetFeature Method

Queries for an optional feature.

Definition

Namespace: Avalonia
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public Object? TryGetFeature(
	Type featureType
)

Parameters

featureType  Type
Feature type.

Return Value

Object

Implements

IOptionalFeatureProvider.TryGetFeature(Type)

Remarks

Features currently supported by TryGetFeature(Type):
  • IPlatformSettings
  • IActivatableApplicationLifetime

See Also