XamlLight.GetId Method

Definition

Returns the identifier for the custom XamlLight type.

In most cases you should use a unique identifier to prevent conflicts. For example, you can use the FullName of your custom XamlLight type.

The identifier is used to add and remove Brushes and UIElements as targets for a specific light type.

C#
protected virtual string GetId();

Returns

String

The identifier for the XamlLight.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6