Dela via


XamlLight.RemoveTargetBrush(String, Brush) Method

Definition

Stops a Brush from being a target of a XamlLight.

public:
 static void RemoveTargetBrush(Platform::String ^ lightId, Brush ^ brush);
 static void RemoveTargetBrush(winrt::hstring const& lightId, Brush const& brush);
public static void RemoveTargetBrush(string lightId, Brush brush);
function removeTargetBrush(lightId, brush)
Public Shared Sub RemoveTargetBrush (lightId As String, brush As Brush)

Parameters

lightId
String

Platform::String

winrt::hstring

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

brush
Brush

The Brush that the light should no longer target.

Applies to