XamlLight.RemoveTargetElement(String, UIElement) Method
Definition
Stops a UIElement from being a target of a XamlLight.
Equivalent WinUI method: Microsoft.UI.Xaml.Media.XamlLight.RemoveTargetElement.
public:
static void RemoveTargetElement(Platform::String ^ lightId, UIElement ^ element);
static void RemoveTargetElement(winrt::hstring const & lightId, UIElement const & element);
public static void RemoveTargetElement(string lightId, UIElement element);
function removeTargetElement(lightId, element)
Public Shared Sub RemoveTargetElement (lightId As String, element As UIElement)