ImageGear21.Windows.Controls Assembly > ImageGear.Windows.Controls Namespace > PageView Class : DragDropOpen Property |
'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
[CategoryAttribute("File Open Options")] public bool DragDropOpen {get; set;}
[CategoryAttribute("File Open Options")] public: __property bool get_DragDropOpen(); public: __property void set_DragDropOpen( bool value );
[CategoryAttribute("File Open Options")] public: property bool DragDropOpen { bool get(); void set ( bool value); }
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.