LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
InvokeRequired Property
See Also 
Leadtools.Medical3D Namespace > Medical3DControl Class : InvokeRequired Property



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

Syntax

Visual Basic (Declaration) 
<SRDescriptionAttribute("Determines if Invoke or BeginInvoke should be used to access this control cross-thread.")>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<BrowsableAttribute(False)>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public ReadOnly Property InvokeRequired As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Medical3DControl
Dim value As Boolean
 
value = instance.InvokeRequired
C# 
[SRDescriptionAttribute("Determines if Invoke or BeginInvoke should be used to access this control cross-thread.")]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public bool InvokeRequired {get;}
C++/CLI 
[SRDescriptionAttribute("Determines if Invoke or BeginInvoke should be used to access this control cross-thread.")]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public:
property bool InvokeRequired {
   bool get();
}

Property Value

true if the control's System.Windows.Forms.Control.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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features