Table of Contents

Interface IImplicitResourceKey

Namespace
Icy.Markup
Assembly
IcyUI.dll

Lets an object populated into a keyless dictionary entry (no x:Key) supply its own resource key, instead of the loader requiring one.

public interface IImplicitResourceKey
Extension Methods

Remarks

Implemented by Style so a keyless <Style TargetType="Button"> registers as an implicit, type-targeted style (see GetImplicitStyleKey(Type)) instead of requiring an explicit x:Key.

Properties

ImplicitResourceKey

Gets the key this object should register under when added to a dictionary with no explicit x:Key, or null if it has none.

string? ImplicitResourceKey { get; }

Property Value

string