Udostępnij za pośrednictwem


ActionsPane.InvokeRequired Property

Definition

Gets a value indicating whether the caller must call an invoke method when making method calls to the actions pane control because the caller is on a different thread than the one the actions pane control was created on.

public:
 property bool InvokeRequired { bool get(); };
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public bool InvokeRequired { get; }
[<System.ComponentModel.Browsable(false)>]
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)>]
member this.InvokeRequired : bool
Public ReadOnly Property InvokeRequired As Boolean

Property Value

true if the actions pane control's Handle was created on a different thread than the calling thread (indicating that you must make calls to the control through an invoke method); otherwise, false.

Attributes

Remarks

This property provides the same functionality as the Control.InvokeRequired property. For more information about using this property, see Control.InvokeRequired.

Applies to