A class that defines the properties that are related to the zoom operations in RadPictureBoxElement.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class PictureBoxZoomProperties : INotifyPropertyChanged
Inheritance: objectPictureBoxZoomProperties
Implements:
Constructors
Initializes a new instance of the PictureBoxZoomProperties class.
public PictureBoxZoomProperties()
Properties
Gets or sets a value indicating whether the zoom operations are allowed.
public virtual bool AllowZoom { get; set; }
Gets or sets the maximal zoom factor.
public virtual double MaxZoomFactor { get; set; }
Gets or sets the minimal zoom factor.
public virtual double MinZoomFactor { get; set; }
Gets or sets the step that increments or decrements the element during a zoom operation with touch gesture.
public double TouchZoomStep { get; set; }
Gets or sets the current zoom factor.
public virtual double ZoomFactor { get; set; }
Methods
Resets the zoom to the default value.
public virtual void ResetZoom()
Performs a zoom operation by given steps count.
public virtual void Zoom(int step)
Number of steps to zoom. Positive value will zoom-in, while a negative value will zoom-out.
Performs a zoom-in operation with one step, according to the ZoomStep value.
public void ZoomIn()
Performs a zoom-in operation with several steps, according to the ZoomStep value.
Performs a zoom-out operation with one step, according to the ZoomStep value.
public void ZoomOut()
Performs a zoom-out operation with several steps, according to the ZoomStep value.
Events
An event that is raised when a property is changed.
public event PropertyChangedEventHandler PropertyChanged
Implements: