ClassPictureBoxZoomProperties
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
PictureBoxZoomProperties()
Initializes a new instance of the PictureBoxZoomProperties class.
Declaration
public PictureBoxZoomProperties()
Properties
AllowZoom
Gets or sets a value indicating whether the zoom operations are allowed.
MaxZoomFactor
Gets or sets the maximal zoom factor.
Declaration
public virtual double MaxZoomFactor { get; set; }
Property Value
MinZoomFactor
Gets or sets the minimal zoom factor.
Declaration
public virtual double MinZoomFactor { get; set; }
Property Value
TouchZoomStep
Gets or sets the step that increments or decrements the element during a zoom operation with touch gesture.
ZoomFactor
Gets or sets the current zoom factor.
Methods
OnPropertyChanged(string)
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyName
ResetZoom()
Resets the zoom to the default value.
Declaration
public virtual void ResetZoom()
Zoom(int)
Performs a zoom operation by given steps count.
Declaration
public virtual void Zoom(int step)
Parameters
step
Number of steps to zoom. Positive value will zoom-in, while a negative value will zoom-out.
ZoomIn()
Performs a zoom-in operation with one step, according to the ZoomStep value.
Declaration
public void ZoomIn()
ZoomIn(int)
Performs a zoom-in operation with several steps, according to the ZoomStep value.
Declaration
public void ZoomIn(int steps)
Parameters
steps
The count of steps to zoom in.
ZoomOut()
Performs a zoom-out operation with one step, according to the ZoomStep value.
Declaration
public void ZoomOut()
ZoomOut(int)
Performs a zoom-out operation with several steps, according to the ZoomStep value.
Declaration
public void ZoomOut(int steps)
Parameters
steps
The count of steps to zoom-out.
Events
PropertyChanged
An event that is raised when a property is changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements