Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.DragZone.Config Class Reference

More...

Inheritance diagram for Ext.Net.DragZone.Config:
Ext.Net.DragSource.Config Ext.Net.DDProxy.Config Ext.Net.DD.Config Ext.Net.DragDrop.Config Ext.Net.Observable.Config Ext.Net.BaseControl.Config Ext.Net.IApply Ext.Net.TreeDragZone.Config

Static Public Member Functions

static implicit operator DragZone.Builder (DragZone.Config config)
 
- Static Public Member Functions inherited from Ext.Net.DragSource.Config
static implicit operator DragSource.Builder (DragSource.Config config)
 
- Static Public Member Functions inherited from Ext.Net.DDProxy.Config
static implicit operator DDProxy.Builder (DDProxy.Config config)
 
- Static Public Member Functions inherited from Ext.Net.DD.Config
static implicit operator DD.Builder (DD.Config config)
 
- Static Public Member Functions inherited from Ext.Net.BaseControl.Config
static Config ToConfig (string config)
 
static TConfig ToConfig< TConfig > (string config)
 

Properties

virtual bool ContainerScroll [get, set]
 True to register this container with the Scrollmanager for auto scrolling during drag operations. More...
 
JFunction AfterRepair [get]
 Called after a repair of an invalid drop. By default, highlights this.dragData.ddel More...
 
JFunction GetRepairXY [get]
 Called before a repair of an invalid drop to get the XY to animate to. By default returns the XY of this.dragData.ddel More...
 
JFunction OnInitDrag [get]
 Called once drag threshold has been reached to initialize the proxy element. By default, it clones the this.dragData.ddel More...
 
- Properties inherited from Ext.Net.DragSource.Config
override string Group [get, set]
 A named drag drop group to which this object belongs. If a group is specified, then this object will only interact with other drag drop objects in the same group (defaults to undefined). More...
 
virtual object DragData [get, set]
 
virtual bool AnimRepair [get, set]
 If true, animates the proxy element back to the position of the handle element used to trigger the drag. Defaults to: true More...
 
virtual string DropAllowed [get, set]
 The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok"). More...
 
virtual string DropNotAllowed [get, set]
 The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop"). More...
 
virtual string RepairHighlightColor [get, set]
 The color to use when visually highlighting the drag source in the afterRepair method after a failed drop (defaults to light blue). The color must be a 6 digit hex value, without a preceding '#'. Defaults to: "c3daf9" More...
 
JFunction AfterDragDrop [get]
 An empty function by default, but provided so that you can perform a custom action after a valid drag drop has occurred by providing an implementation. More...
 
JFunction AfterDragEnter [get]
 An empty function by default, but provided so that you can perform a custom action when the dragged item enters the drop target by providing an implementation. More...
 
JFunction AfterDragOut [get]
 An empty function by default, but provided so that you can perform a custom action after the dragged item is dragged out of the target without dropping. More...
 
JFunction AfterDragOver [get]
 An empty function by default, but provided so that you can perform a custom action while the dragged item is over the drop target by providing an implementation. More...
 
JFunction AfterInvalidDrop [get]
 An empty function by default, but provided so that you can perform a custom action after an invalid drop has occurred by providing an implementation. More...
 
JFunction AfterValidDrop [get]
 An empty function by default, but provided so that you can perform a custom action after an invalid drop has occurred by providing an implementation. More...
 
JFunction BeforeDragDrop [get]
 An empty function by default, but provided so that you can perform a custom action before the dragged item is dropped onto the target and optionally cancel the onDragDrop. More...
 
JFunction BeforeDragEnter [get]
 An empty function by default, but provided so that you can perform a custom action before the dragged item enters the drop target and optionally cancel the onDragEnter. More...
 
JFunction BeforeDragOut [get]
 An empty function by default, but provided so that you can perform a custom action before the dragged item is dragged out of the target without dropping, and optionally cancel the onDragOut. More...
 
JFunction BeforeDragOver [get]
 An empty function by default, but provided so that you can perform a custom action while the dragged item is over the drop target and optionally cancel the onDragOver. More...
 
JFunction BeforeInvalidDrop [get]
 An empty function by default, but provided so that you can perform a custom action after an invalid drop has occurred. More...
 
JFunction OnBeforeDrag [get]
 An empty function by default, but provided so that you can perform a custom action before the initial drag event begins and optionally cancel it. More...
 
JFunction OnStartDrag [get]
 An empty function by default, but provided so that you can perform a custom action once the initial drag event has begun. The drag cannot be canceled from this function. More...
 
JFunction GetDragData [get]
 Returns the data object associated with this drag source. More...
 
- Properties inherited from Ext.Net.DDProxy.Config
virtual bool CenterFrame [get, set]
 By default the frame is positioned exactly where the drag element is, so we use the cursor offset provided by Ext.dd.DD. Another option that works only if you do not have constraints on the obj is to have the drag frame centered around the cursor. Set centerFrame to true for this effect. Defaults to: false More...
 
virtual bool ResizeFrame [get, set]
 By default we resize the drag frame to be the same size as the element we want to drag (this is to get the frame effect). We can turn it off if we want a different behavior. More...
 
JFunction AfterDrag [get]
 Abstract method runs on drag end More...
 
- Properties inherited from Ext.Net.DD.Config
virtual bool Scroll [get, set]
 When set to true, the utility automatically tries to scroll the browser window when a drag and drop element is dragged near the viewport boundary. Defaults to true. More...
 
- Properties inherited from Ext.Net.DragDrop.Config
Paddings DefaultPadding [get]
 Provides default constraint padding to "constrainTo" elements (defaults to {left: 0, right:0, top:0, bottom:0}). More...
 
DragDropGroups Groups [get]
 The group defines a logical collection of DragDrop objects that are related. Instances only get events when interacting with other DragDrop object in the same group. This lets us define multiple groups using a single DragDrop subclass if we want. More...
 
virtual bool HasOuterHandles [get, set]
 By default, drags can only be initiated if the mousedown occurs in the region the linked element is. This is done in part to work around a bug in some browsers that mis-report the mousedown if the previous mouseup happened outside of the window. This property is set to true if outer handles are defined. More...
 
virtual string Target [get, set]
 The id of the element associated with this object. This is what we refer to as the "linked element" because the size and position of this element is used to determine when the drag and drop objects have interacted. More...
 
virtual string Group [get, set]
 The group of related DragDrop objects More...
 
virtual bool IgnoreSelf [get, set]
 Set to false to enable a DragDrop object to fire drag events while dragging over its own Element. Defaults to true - DragDrop objects do not by default fire drag events to themselves. More...
 
virtual string[] InvalidHandleClasses [get, set]
 An Array of CSS class names for elements to be considered in valid as drag handles. More...
 
virtual string[] InvalidHandleTypes [get, set]
 An array who's items identify HTML tags to be considered invalid as drag handles. More...
 
virtual string[] InvalidHandleIds [get, set]
 An array who's items identify the IDs of elements to be considered invalid as drag handles More...
 
virtual bool IsTarget [get, set]
 By default, all instances can be a drop target. This can be disabled by setting isTarget to false. More...
 
virtual bool MaintainOffset [get, set]
 Maintain offsets when we resetconstraints. Set to true when you want the position of the element relative to its parent to stay the same when the page changes More...
 
virtual bool MoveOnly [get, set]
 When set to true, other DD objects in cooperating DDGroups do not receive notification events when this DD object is dragged over them. Defaults to false. More...
 
virtual int[] Padding [get, set]
 The padding configured for this drag and drop object for calculating the drop zone intersection with this object. An array containing the 4 padding values: [top, right, bottom, left] More...
 
virtual bool PrimaryButtonOnly [get, set]
 By default the drag and drop instance will only respond to the primary button click (left button for a right-handed mouse). Set to true to allow drag and drop to start with any mouse click that is propogated by the browser More...
 
virtual int[] XTicks [get, set]
 Array of pixel locations the element will snap to if we specified a horizontal graduation/interval. This array is generated automatically when you define a tick interval. More...
 
virtual int[] YTicks [get, set]
 Array of pixel locations the element will snap to if we specified a vertical graduation/interval. This array is generated automatically when you define a tick interval. More...
 
JFunction GetDragEl [get]
 Returns a reference to the actual element to drag. By default this is the same as the html element, but it can be assigned to another element. An example of this can be found in Ext.dd.DDProxy More...
 
JFunction EndDrag [get]
 Fired when we are done dragging the object More...
 
JFunction OnAvailable [get]
 Override the onAvailable method to do what is needed after the initial position was determined. More...
 
JFunction OnDrag [get]
 Abstract method called during the onMouseMove event while dragging an object. More...
 
JFunction OnDragDrop [get]
 Abstract method called when this item is dropped on another DragDrop obj More...
 
JFunction OnDragEnter [get]
 Abstract method called when this element fist begins hovering over another DragDrop obj More...
 
JFunction OnDragOut [get]
 Abstract method called when we are no longer hovering over an element More...
 
JFunction OnDragOver [get]
 Abstract method called when this element is hovering over another DragDrop obj More...
 
JFunction OnInvalidDrop [get]
 Abstract method called when this item is dropped on an area with no drop target More...
 
JFunction OnMouseDown [get]
 Event handler that fires when a drag/drop obj gets a mousedown More...
 
JFunction OnMouseUp [get]
 Event handler that fires when a drag/drop obj gets a mouseup More...
 
JFunction StartDrag [get]
 Event handler that fires when a drag/drop obj gets a mouseup More...
 
JFunction B4Drag [get]
 Code that executes immediately before the onDrag event More...
 
JFunction B4DragDrop [get]
 Code that executes immediately before the onDragDrop event More...
 
JFunction B4DragOut [get]
 Code that executes immediately before the onDragOut event More...
 
JFunction B4DragOver [get]
 Code that executes immediately before the onDragOver event More...
 
JFunction B4EndDrag [get]
 Code that executes immediately before the endDrag event More...
 
JFunction B4MouseDown [get]
 Code executed immediately before the onMouseDown event More...
 
JFunction B4StartDrag [get]
 Code that executes immediately before the startDrag event More...
 
- Properties inherited from Ext.Net.Observable.Config
ConfigItemCollection CustomConfig [get]
 Collection of custom js config More...
 
MessageBusListeners MessageBusListeners [get]
 
MessageBusDirectEvents MessageBusDirectEvents [get]
 
- Properties inherited from Ext.Net.BaseControl.Config
virtual string ItemID [get, set]
 An itemId can be used as an alternative way to get a reference to a component when no object reference is available. More...
 
virtual bool Disabled [get, set]
 
virtual short TabIndex [get, set]
 
virtual bool IsInForm [get, set]
 
virtual Unit Height [get, set]
 
virtual Unit Width [get, set]
 
virtual string ToolTip [get, set]
 
virtual bool RegisterAllResources [get, set]
 
virtual bool AutoDataBind [get, set]
 
virtual IDMode IDMode [get, set]
 
virtual LazyMode LazyMode [get, set]
 
virtual string Namespace [get, set]
 
List< ClientResourceItemResourceItems [get]
 

Additional Inherited Members

- Public Member Functions inherited from Ext.Net.BaseControl.Config
override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
new Type GetType ()
 
object ApplyIf (object obj)
 
Apply< T > (object obj)
 
object Apply (object obj)
 
virtual string ToScript ()
 

Detailed Description

Member Function Documentation

◆ operator DragZone.Builder()

static implicit Ext.Net.DragZone.Config.operator DragZone.Builder ( DragZone.Config  config)
inlinestatic

Property Documentation

◆ AfterRepair

JFunction Ext.Net.DragZone.Config.AfterRepair
get

Called after a repair of an invalid drop. By default, highlights this.dragData.ddel

◆ ContainerScroll

virtual bool Ext.Net.DragZone.Config.ContainerScroll
getset

True to register this container with the Scrollmanager for auto scrolling during drag operations.

◆ GetRepairXY

JFunction Ext.Net.DragZone.Config.GetRepairXY
get

Called before a repair of an invalid drop to get the XY to animate to. By default returns the XY of this.dragData.ddel

◆ OnInitDrag

JFunction Ext.Net.DragZone.Config.OnInitDrag
get

Called once drag threshold has been reached to initialize the proxy element. By default, it clones the this.dragData.ddel


The documentation for this class was generated from the following file: