Class PictureBoxZoomProperties
A class that defines the properties that are related to the zoom operations in RadPictureBoxElement.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class PictureBoxZoomProperties : INotifyPropertyChanged
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.
Declaration
public virtual bool AllowZoom { get; set; }
Property Value
System.Boolean
|
MaxZoomFactor
Gets or sets the maximal zoom factor.
Declaration
public virtual double MaxZoomFactor { get; set; }
Property Value
System.Double
|
MinZoomFactor
Gets or sets the minimal zoom factor.
Declaration
public virtual double MinZoomFactor { get; set; }
Property Value
System.Double
|
TouchZoomStep
Gets or sets the step that increments or decrements the element during a zoom operation with touch gesture.
Declaration
public double TouchZoomStep { get; set; }
Property Value
System.Double
|
ZoomFactor
Gets or sets the current zoom factor.
Declaration
public virtual double ZoomFactor { get; set; }
Property Value
System.Double
|
ZoomStep
Gets or sets the step that increments or decrements the element during a zoom operation with the mouse.
Declaration
public double ZoomStep { get; set; }
Property Value
System.Double
|
Methods
OnPropertyChanged(String)
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
System.String
propertyName
|
ResetZoom()
Resets the zoom to the default value.
Declaration
public virtual void ResetZoom()
Zoom(Int32)
Performs a zoom operation by given steps count.
Declaration
public virtual void Zoom(int step)
Parameters
System.Int32
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(Int32)
Performs a zoom-in operation with several steps, according to the ZoomStep value.
Declaration
public void ZoomIn(int steps)
Parameters
System.Int32
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(Int32)
Performs a zoom-out operation with several steps, according to the ZoomStep value.
Declaration
public void ZoomOut(int steps)
Parameters
System.Int32
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 Type
System.ComponentModel.PropertyChangedEventHandler
|