Edit

Share via


IStyleConnector.Connect(Int32, Object) Method

Definition

Attaches events on event setters and templates in compiled content.

public:
 void Connect(int connectionId, System::Object ^ target);
public void Connect (int connectionId, object target);
abstract member Connect : int * obj -> unit
Public Sub Connect (connectionId As Integer, target As Object)

Parameters

connectionId
Int32

The unique connection ID for event wiring purposes.

target
Object

The target for event wiring.

Remarks

The IStyleConnector class is not intended for use by anything other than the WPF XAML markup compiler.

Applies to