Table of Contents

Interface ICustomAttributes<TKey, TValue>

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains methods and properties which allow to work with attributes.

public interface ICustomAttributes<TKey, TValue> : IReadOnlyAttributes<TKey, TValue>

Type Parameters

TKey

Type of the attribute identifier.

TValue

Type of the attribute value.

Properties

this[TKey]

Calls SetAttribute(TKey, TValue?) and GetAttribute(TKey).

Methods

RemoveAttribute(TKey)

Removes attribute with id.

SetAttribute(TKey, TValue?)

Sets attribute value.

SetAttribute<T2>(TKey, T2)

Sets attribute value.