ImageGear .NET v24.12 - Updated
DragDropOpen Property




ImageGear24.Windows.Controls Assembly > ImageGear.Windows.Controls Namespace > PageView Class : DragDropOpen Property
Gets or sets a value indicating whether hand drag and drop file opening is enabled or not.
Syntax
'Declaration
 
<CategoryAttribute("File Open Options")>
Public Property DragDropOpen As Boolean
'Usage
 
Dim instance As PageView
Dim value As Boolean
 
instance.DragDropOpen = value
 
value = instance.DragDropOpen
[Category("File Open Options")]
public bool DragDropOpen {get; set;}
[Category("File Open Options")]
public: __property bool get_DragDropOpen();
public: __property void set_DragDropOpen( 
   bool value
);
[Category("File Open Options")]
public:
property bool DragDropOpen {
   bool get();
   void set (    bool value);
}

Property Value

System.Boolean structure object.
Remarks

Default value is false.

When true, dragging a file onto the PageView will trigger opening of the file and associating it with the PageView.

The OpenImages, OpenAnnotations, DefaultPageNumber, CreateNewPageDisplayForImage, and OpenDocument properties can be used to control default loading behavior. In addition the FileOpening event can be used to control loading and FileOpened event can be used to get the results of loading.

See Also

Reference

PageView Class
PageView Members