ApplicationTryGetFeature Method
Queries for an optional feature.
Namespace: AvaloniaAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public Object? TryGetFeature(
Type featureType
)
Public Function TryGetFeature (
featureType As Type
) As Object
abstract TryGetFeature :
featureType : Type -> Object
override TryGetFeature :
featureType : Type -> Object
- featureType Type
- Feature type.
ObjectIOptionalFeatureProvider.TryGetFeature(Type)
Features currently supported by
TryGetFeature(Type):
- IPlatformSettings
- IActivatableApplicationLifetime