共用方式為


XamlLight.RemoveTargetBrush(String, Brush) 方法

定義

停止 Brush 成為 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)

參數

lightId
String

Platform::String

winrt::hstring

不應再以Brush為目標之XamlLight的識別碼。

brush
Brush

光線不應再鎖定的 筆刷

適用於