Visual Basic (Declaration) | |
---|---|
Public Property SynchronizingObject As Control |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ComponentBase Dim value As Control instance.SynchronizingObject = value value = instance.SynchronizingObject |
C# | |
---|---|
public Control SynchronizingObject {get; set;} |
This property determines the thread on which the component's event handlers are called. This is usually the same thread the component was created on.
This property is automatically set to the containing control when used in the Windows Forms designer. This is typically the form or user control in which the component is used.
Target Platforms: Microsoft .NET Framework 2.0