Intersoft ClientUI Documentation
SetAllowDrop Method
See Also  Send Feedback
Intersoft.Client.UI.Controls.Interactivity Namespace > ISDragDrop Class : SetAllowDrop Method






element
Target element.
value
Allow drop.
Sets allow drop value to target element.

Syntax

Visual Basic (Declaration) 
Public Shared Sub SetAllowDrop( _
   ByVal element As UIElement, _
   ByVal value As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim element As UIElement
Dim value As Boolean
 
ISDragDrop.SetAllowDrop(element, value)
C# 
public static void SetAllowDrop( 
   UIElement element,
   bool value
)
Delphi 
public procedure SetAllowDrop( 
    element: UIElement;
    value: Boolean
); static; 
JScript 
public static function SetAllowDrop( 
   element : UIElement,
   value : boolean
);
Managed Extensions for C++ 
public: static void SetAllowDrop( 
   UIElement* element,
   bool value
) 
C++/CLI 
public:
static void SetAllowDrop( 
   UIElement^ element,
   bool value
) 

Parameters

element
Target element.
value
Allow drop.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.