Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.DDProxy.Builder< TDDProxy, TBuilder > Class Template Reference

More...

Inheritance diagram for Ext.Net.DDProxy.Builder< TDDProxy, TBuilder >:
Ext.Net.DD.Builder< TDDProxy, TBuilder >

Public Member Functions

 Builder (TDDProxy component)
 
virtual TBuilder CenterFrame (bool centerFrame)
 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 TBuilder ResizeFrame (bool resizeFrame)
 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...
 
virtual TBuilder AfterDrag (Action< JFunction > action)
 Abstract method runs on drag end More...
 
 Builder ()
 
 Builder (DDProxy component)
 
 Builder (DDProxy.Config config)
 
- Public Member Functions inherited from Ext.Net.DD.Builder< TDDProxy, TBuilder >
 Builder (TDD component)
 
 Builder ()
 
 Builder (DD component)
 
 Builder (DD.Config config)
 
virtual TBuilder Scroll (bool scroll)
 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...
 

Static Public Member Functions

static implicit operator Builder (DDProxy component)
 
- Static Public Member Functions inherited from Ext.Net.DD.Builder< TDDProxy, TBuilder >
static implicit operator Builder (DD component)
 

Detailed Description

Type Constraints
TDDProxy :DDProxy 
TBuilder :Builder 
TBuilder :TDDProxy 
TBuilder :TBuilder 

Constructor & Destructor Documentation

◆ Builder() [1/4]

Ext.Net.DDProxy.Builder< TDDProxy, TBuilder >.Builder ( TDDProxy  component)
inline

◆ Builder() [2/4]

Ext.Net.DDProxy.Builder< TDDProxy, TBuilder >.Builder ( )
inline

◆ Builder() [3/4]

Ext.Net.DDProxy.Builder< TDDProxy, TBuilder >.Builder ( DDProxy  component)
inline

◆ Builder() [4/4]

Ext.Net.DDProxy.Builder< TDDProxy, TBuilder >.Builder ( DDProxy.Config  config)
inline

Member Function Documentation

◆ AfterDrag()

virtual TBuilder Ext.Net.DDProxy.Builder< TDDProxy, TBuilder >.AfterDrag ( Action< JFunction action)
inlinevirtual

Abstract method runs on drag end

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ CenterFrame()

virtual TBuilder Ext.Net.DDProxy.Builder< TDDProxy, TBuilder >.CenterFrame ( bool  centerFrame)
inlinevirtual

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

◆ operator Builder()

static implicit Ext.Net.DDProxy.Builder< TDDProxy, TBuilder >.operator Builder ( DDProxy  component)
inlinestatic

◆ ResizeFrame()

virtual TBuilder Ext.Net.DDProxy.Builder< TDDProxy, TBuilder >.ResizeFrame ( bool  resizeFrame)
inlinevirtual

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.


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