Skip to main content

Item Property

Gets or sets the named resource.

Definition​

Namespace: Avalonia.Collections
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public TValue this[
TKey key
] { get; set; }

Parameters​

  TKey
The resource key.

Return Value​

TValue
The resource, or null if not found.

Implements​

IDictionary(TKey, TValue).Item(TKey)
IReadOnlyDictionary(TKey, TValue).Item(TKey)

See Also​

Reference​

AvaloniaDictionary(TKey, TValue) Class
Avalonia.Collections Namespace