Share via


XamlLight.RemoveTargetElement(String, UIElement) Method

Definition

Stops a UIElement from being a target of a XamlLight.

public static void RemoveTargetElement(string lightId, UIElement element);

Parameters

lightId
String

The identifier for the XamlLight that should no longer target the UIElement.

element
UIElement

The UIElement that the light should no longer target.

Applies to

Product Versions
WinRT Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100