Share via


XamlLight.AddTargetBrush(String, Brush) Method

Definition

Sets a Brush as a target of a XamlLight.

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

Parameters

lightId
String

Platform::String

winrt::hstring

The identifier for the XamlLight that should target the Brush.

brush
Brush

The Brush that the light should target.

Applies to