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

More...

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

Properties

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 ()
 
- Static Public Member Functions inherited from Ext.Net.BaseControl.Config
static Config ToConfig (string config)
 
static TConfig ToConfig< TConfig > (string config)
 

Detailed Description

Property Documentation

◆ B4Drag

JFunction Ext.Net.DragDrop.Config.B4Drag
get

Code that executes immediately before the onDrag event

◆ B4DragDrop

JFunction Ext.Net.DragDrop.Config.B4DragDrop
get

Code that executes immediately before the onDragDrop event

◆ B4DragOut

JFunction Ext.Net.DragDrop.Config.B4DragOut
get

Code that executes immediately before the onDragOut event

◆ B4DragOver

JFunction Ext.Net.DragDrop.Config.B4DragOver
get

Code that executes immediately before the onDragOver event

◆ B4EndDrag

JFunction Ext.Net.DragDrop.Config.B4EndDrag
get

Code that executes immediately before the endDrag event

◆ B4MouseDown

JFunction Ext.Net.DragDrop.Config.B4MouseDown
get

Code executed immediately before the onMouseDown event

◆ B4StartDrag

JFunction Ext.Net.DragDrop.Config.B4StartDrag
get

Code that executes immediately before the startDrag event

◆ DefaultPadding

Paddings Ext.Net.DragDrop.Config.DefaultPadding
get

Provides default constraint padding to "constrainTo" elements (defaults to {left: 0, right:0, top:0, bottom:0}).

◆ EndDrag

JFunction Ext.Net.DragDrop.Config.EndDrag
get

Fired when we are done dragging the object

◆ GetDragEl

JFunction Ext.Net.DragDrop.Config.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

◆ Group

virtual string Ext.Net.DragDrop.Config.Group
getset

The group of related DragDrop objects

◆ Groups

DragDropGroups Ext.Net.DragDrop.Config.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.

◆ HasOuterHandles

virtual bool Ext.Net.DragDrop.Config.HasOuterHandles
getset

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.

◆ IgnoreSelf

virtual bool Ext.Net.DragDrop.Config.IgnoreSelf
getset

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.

◆ InvalidHandleClasses

virtual string [] Ext.Net.DragDrop.Config.InvalidHandleClasses
getset

An Array of CSS class names for elements to be considered in valid as drag handles.

◆ InvalidHandleIds

virtual string [] Ext.Net.DragDrop.Config.InvalidHandleIds
getset

An array who's items identify the IDs of elements to be considered invalid as drag handles

◆ InvalidHandleTypes

virtual string [] Ext.Net.DragDrop.Config.InvalidHandleTypes
getset

An array who's items identify HTML tags to be considered invalid as drag handles.

◆ IsTarget

virtual bool Ext.Net.DragDrop.Config.IsTarget
getset

By default, all instances can be a drop target. This can be disabled by setting isTarget to false.

◆ MaintainOffset

virtual bool Ext.Net.DragDrop.Config.MaintainOffset
getset

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

◆ MoveOnly

virtual bool Ext.Net.DragDrop.Config.MoveOnly
getset

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.

◆ OnAvailable

JFunction Ext.Net.DragDrop.Config.OnAvailable
get

Override the onAvailable method to do what is needed after the initial position was determined.

◆ OnDrag

JFunction Ext.Net.DragDrop.Config.OnDrag
get

Abstract method called during the onMouseMove event while dragging an object.

◆ OnDragDrop

JFunction Ext.Net.DragDrop.Config.OnDragDrop
get

Abstract method called when this item is dropped on another DragDrop obj

◆ OnDragEnter

JFunction Ext.Net.DragDrop.Config.OnDragEnter
get

Abstract method called when this element fist begins hovering over another DragDrop obj

◆ OnDragOut

JFunction Ext.Net.DragDrop.Config.OnDragOut
get

Abstract method called when we are no longer hovering over an element

◆ OnDragOver

JFunction Ext.Net.DragDrop.Config.OnDragOver
get

Abstract method called when this element is hovering over another DragDrop obj

◆ OnInvalidDrop

JFunction Ext.Net.DragDrop.Config.OnInvalidDrop
get

Abstract method called when this item is dropped on an area with no drop target

◆ OnMouseDown

JFunction Ext.Net.DragDrop.Config.OnMouseDown
get

Event handler that fires when a drag/drop obj gets a mousedown

◆ OnMouseUp

JFunction Ext.Net.DragDrop.Config.OnMouseUp
get

Event handler that fires when a drag/drop obj gets a mouseup

◆ Padding

virtual int [] Ext.Net.DragDrop.Config.Padding
getset

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]

◆ PrimaryButtonOnly

virtual bool Ext.Net.DragDrop.Config.PrimaryButtonOnly
getset

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

◆ StartDrag

JFunction Ext.Net.DragDrop.Config.StartDrag
get

Event handler that fires when a drag/drop obj gets a mouseup

◆ Target

virtual string Ext.Net.DragDrop.Config.Target
getset

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.

◆ XTicks

virtual int [] Ext.Net.DragDrop.Config.XTicks
getset

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.

◆ YTicks

virtual int [] Ext.Net.DragDrop.Config.YTicks
getset

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.


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