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
ownerViewBaseParent.
Properties
DevicePrimaryButtonAction
User interactive device primary button action.
public UserInteractiveDeviceButtonAction DevicePrimaryButtonAction { get; set; }
Property Value
DeviceSecondaryButtonAction
User interactive device secondary button action.
public UserInteractiveDeviceButtonAction DeviceSecondaryButtonAction { get; set; }
Property Value
DeviceTertiaryButtonAction
User interactive device tertiary button action.
public UserInteractiveDeviceButtonAction DeviceTertiaryButtonAction { get; set; }
Property Value
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
RectangleZoomingThreshold
Gets or sets rectangle zooming threshold.
public PointIntXY RectangleZoomingThreshold { get; set; }
Property Value
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
ZoomOutRectFill
Zoom out rectangle fill.
public Fill ZoomOutRectFill { get; set; }
Property Value
ZoomOutRectLine
Gets or sets zoom out rectangle line style.
public LineStyle ZoomOutRectLine { get; set; }
Property Value
ZoomRectFill
Zoom rectangle fill.
public Fill ZoomRectFill { get; set; }
Property Value
ZoomRectLine
Zoom rectangle line style
public LineStyle ZoomRectLine { get; set; }
Property Value
Methods
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue 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.