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

The PanZoom interaction allows the user to navigate the data for one or more chart axes by panning and/or zooming. Navigation can be limited to particular axes. Zooming is performed by pinching on the chart or axis area; panning is performed by single-touch dragging. For devices which do not support multiple-touch events, zooming can not be done via pinch gestures; in this case the interaction will allow the user to perform both zooming and panning using the same single-touch drag gesture. modeToggleButton provides a button to indicate and toggle between two modes. More...

Inheritance diagram for Ext.Net.PanZoomInteraction:
Ext.Net.AbstractInteraction Ext.Net.BaseItem Ext.Net.IAlias Ext.Net.IXObject Ext.Net.IBase

Classes

class  Builder
 
class  Config
 

Public Member Functions

 PanZoomInteraction ()
 
virtual void SetDoubleTapReset (bool doubleTapReset)
 Sets the value of doubleTapReset. More...
 
PanZoomInteraction.Builder ToBuilder ()
 
override IControlBuilder ToNativeBuilder ()
 
 PanZoomInteraction (Config config)
 
- Public Member Functions inherited from Ext.Net.AbstractInteraction
override void Call (string name, params object[] args)
 
void SetEnabled (bool value)
 Sets tne value of Enabled More...
 
- Public Member Functions inherited from Ext.Net.BaseItem
virtual bool HasExplicitValue (string name)
 
void EnsureDataBind ()
 
virtual void Call (string name)
 
virtual void AddScript (string script)
 
virtual void AddScript (string script, params object[] args)
 
virtual bool IsEmptyObject ()
 
Apply< T > (IApply config)
 
BaseItem Apply (object config)
 
virtual void LoadViewState (object state)
 
virtual object SaveViewState ()
 
virtual void TrackViewState ()
 
void SetDirty ()
 
virtual void DataBind ()
 

Static Public Member Functions

static implicit operator PanZoomInteraction (PanZoomInteraction.Config config)
 

Properties

override string InstanceOf [get]
 The JavaScript class name More...
 
override string Type [get]
 The alias More...
 
ZoomAxes Axes [get, set]
 Specifies which axes should be made navigable. More...
 
virtual ? bool? DoubleTapReset [get, set]
 If 'true', the double tap on a chart will reset the current pan/zoom to show the whole chart. More...
 
virtual bool ShowOverflowArrows [get, set]
 If true, arrows will be conditionally shown at either end of each axis to indicate that the axis is overflowing and can therefore be panned in that direction. Set this to false to prevent the arrows from being displayed. More...
 
virtual bool ZoomOnPan [get, set]
 If true, the pan gesture will zoom the chart. More...
 
virtual bool HideLabelInGesture [get, set]
 
virtual SegmentedButton ModeToggleButton [get, set]
 
override Control Owner [get, set]
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.AbstractInteraction
override string InstanceOf [get]
 The JavaScript class name More...
 
virtual string Type [get]
 The alias More...
 
virtual string InteractionID [get, set]
 
virtual bool Enabled [get, set]
 True if the interaction is enabled. More...
 
virtual int ThrottleGap [get, set]
 Android device is emerging too many events so if we re-render every frame it will take forever to finish a frame. This throttle technique will limit the timespan between two frames. More...
 
string PropertyName [get]
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.BaseItem
virtual string InstanceOf [get]
 
ItemState State [get]
 
virtual DefaultValueMode DefaultValueMode [get, set]
 
virtual bool DesignMode [get]
 
bool AutoDataBind [get, set]
 
ResourceManager ResourceManager [get]
 
virtual Control Owner [get, set]
 The Owner Control for this Listener. More...
 
virtual bool IsDefault [get]
 Does this object currently represent it's default state. More...
 
bool IsTrackingViewState [get]
 
EventHandlerList Events [get]
 
EventHandler DataBinding
 
Control?? BindingContainer [get]
 
virtual ConfigItemCollection?? CustomConfig [get]
 Collection of custom js config More...
 
virtual ConfigOptionsCollection ConfigOptions [get]
 
virtual ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
System.Web.Mvc.HtmlHelper?? HtmlHelper [get, set]
 
- Properties inherited from Ext.Net.IXObject
ConfigOptionsCollection ConfigOptions [get]
 
ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
DefaultValueMode DefaultValueMode [get, set]
 
- Properties inherited from Ext.Net.IAlias
string PropertyName [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Ext.Net.AbstractInteraction
virtual void CallTemplate (string name, params object[] args)
 
- Protected Member Functions inherited from Ext.Net.BaseItem
 BaseItem (Control owner)
 
 BaseItem ()
 
virtual void OwnerUpdate (Control owner)
 
virtual void OnDataBinding (EventArgs e)
 

Detailed Description

The PanZoom interaction allows the user to navigate the data for one or more chart axes by panning and/or zooming. Navigation can be limited to particular axes. Zooming is performed by pinching on the chart or axis area; panning is performed by single-touch dragging. For devices which do not support multiple-touch events, zooming can not be done via pinch gestures; in this case the interaction will allow the user to perform both zooming and panning using the same single-touch drag gesture. modeToggleButton provides a button to indicate and toggle between two modes.

Constructor & Destructor Documentation

◆ PanZoomInteraction() [1/2]

Ext.Net.PanZoomInteraction.PanZoomInteraction ( )
inline

◆ PanZoomInteraction() [2/2]

Ext.Net.PanZoomInteraction.PanZoomInteraction ( Config  config)
inline

Member Function Documentation

◆ operator PanZoomInteraction()

static implicit Ext.Net.PanZoomInteraction.operator PanZoomInteraction ( PanZoomInteraction.Config  config)
inlinestatic

◆ SetDoubleTapReset()

virtual void Ext.Net.PanZoomInteraction.SetDoubleTapReset ( bool  doubleTapReset)
inlinevirtual

Sets the value of doubleTapReset.

Parameters
doubleTapResetThe new value.

◆ ToBuilder()

PanZoomInteraction.Builder Ext.Net.PanZoomInteraction.ToBuilder ( )
inline

◆ ToNativeBuilder()

override IControlBuilder Ext.Net.PanZoomInteraction.ToNativeBuilder ( )
inlinevirtual

Reimplemented from Ext.Net.BaseItem.

Property Documentation

◆ Axes

ZoomAxes Ext.Net.PanZoomInteraction.Axes
getset

Specifies which axes should be made navigable.

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.PanZoomInteraction.ConfigOptions
get

◆ DoubleTapReset

virtual ? bool? Ext.Net.PanZoomInteraction.DoubleTapReset
getset

If 'true', the double tap on a chart will reset the current pan/zoom to show the whole chart.

◆ HideLabelInGesture

virtual bool Ext.Net.PanZoomInteraction.HideLabelInGesture
getset

◆ InstanceOf

override string Ext.Net.PanZoomInteraction.InstanceOf
get

The JavaScript class name

◆ ModeToggleButton

virtual SegmentedButton Ext.Net.PanZoomInteraction.ModeToggleButton
getset

◆ Owner

override Control Ext.Net.PanZoomInteraction.Owner
getset

◆ ShowOverflowArrows

virtual bool Ext.Net.PanZoomInteraction.ShowOverflowArrows
getset

If true, arrows will be conditionally shown at either end of each axis to indicate that the axis is overflowing and can therefore be panned in that direction. Set this to false to prevent the arrows from being displayed.

◆ Type

override string Ext.Net.PanZoomInteraction.Type
get

The alias

◆ ZoomOnPan

virtual bool Ext.Net.PanZoomInteraction.ZoomOnPan
getset

If true, the pan gesture will zoom the chart.


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