Table of Contents

Class ZoomPanOptionsBase

Namespace
LightningChartLib.WinForms.Charting.Views
Assembly
LightningChart.WinForms.Charting.NET4.dll

Zoom, pan and auto-fitting options base for ViewXY.

[TypeConverter(typeof(ExpandableObjectConverter))]
public class ZoomPanOptionsBase : ChartNode, IChartNode, IDisposable
Inheritance
ZoomPanOptionsBase
Implements
Derived
Inherited Members

Constructors

ZoomPanOptionsBase()

Simple constructor for Form designer's list editor.

public ZoomPanOptionsBase()

ZoomPanOptionsBase(ViewBase)

Constructor.

public ZoomPanOptionsBase(ViewBase owner)

Parameters

owner ViewBase

Parent.

Properties

DevicePrimaryButtonAction

User interactive device primary button action.

public UserInteractiveDeviceButtonAction DevicePrimaryButtonAction { get; set; }

Property Value

UserInteractiveDeviceButtonAction

DeviceSecondaryButtonAction

User interactive device secondary button action.

public UserInteractiveDeviceButtonAction DeviceSecondaryButtonAction { get; set; }

Property Value

UserInteractiveDeviceButtonAction

DeviceTertiaryButtonAction

User interactive device tertiary button action.

public UserInteractiveDeviceButtonAction DeviceTertiaryButtonAction { get; set; }

Property Value

UserInteractiveDeviceButtonAction

PanThreshold

User interactive device panning threshold in pixels. Pan occurs only when device button is pressed down and the device movement equals the given pixel value or is more.

public int PanThreshold { get; set; }

Property Value

int

RectangleZoomingThreshold

Gets or sets rectangle zooming threshold.

public PointIntXY RectangleZoomingThreshold { get; set; }

Property Value

PointIntXY

ZoomFactor

Zoom factor. It's used when zooming in with a user interactive device button click combined with Shift and/or Ctrl key. Shift key makes zooming in X dimension, Ctrl in Y dimension. Device primary button zooms in, secondary buttom zooms out.

public double ZoomFactor { get; set; }

Property Value

double

ZoomOutRectFill

Zoom out rectangle fill.

public Fill ZoomOutRectFill { get; set; }

Property Value

Fill

ZoomOutRectLine

Gets or sets zoom out rectangle line style.

public LineStyle ZoomOutRectLine { get; set; }

Property Value

LineStyle

ZoomRectFill

Zoom rectangle fill.

public Fill ZoomRectFill { get; set; }

Property Value

Fill

ZoomRectLine

Zoom rectangle line style

public LineStyle ZoomRectLine { get; set; }

Property Value

LineStyle

Methods

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if managed resources should be disposed, otherwise false.

ToString()

Convert class description to string.

public override string ToString()

Returns

string

Class description as a string.