Class
PictureBoxZoomProperties

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:

cs-api-definition
public class PictureBoxZoomProperties : INotifyPropertyChanged

Inheritance: objectPictureBoxZoomProperties

Implements: INotifyPropertyChanged

Constructors

PictureBoxZoomProperties()

Initializes a new instance of the PictureBoxZoomProperties class.

Declaration

cs-api-definition
public PictureBoxZoomProperties()

Properties

AllowZoom

Gets or sets a value indicating whether the zoom operations are allowed.

Declaration

cs-api-definition
public virtual bool AllowZoom { get; set; }

Property Value

bool

MaxZoomFactor

Gets or sets the maximal zoom factor.

Declaration

cs-api-definition
public virtual double MaxZoomFactor { get; set; }

Property Value

double

MinZoomFactor

Gets or sets the minimal zoom factor.

Declaration

cs-api-definition
public virtual double MinZoomFactor { get; set; }

Property Value

double

TouchZoomStep

Gets or sets the step that increments or decrements the element during a zoom operation with touch gesture.

Declaration

cs-api-definition
public double TouchZoomStep { get; set; }

Property Value

double

ZoomFactor

Gets or sets the current zoom factor.

Declaration

cs-api-definition
public virtual double ZoomFactor { get; set; }

Property Value

double

ZoomStep

Gets or sets the step that increments or decrements the element during a zoom operation with the mouse.

Declaration

cs-api-definition
public double ZoomStep { get; set; }

Property Value

double

Methods

OnPropertyChanged(string)

Declaration

cs-api-definition
protected virtual void OnPropertyChanged(string propertyName)

Parameters

propertyName

string

ResetZoom()

Resets the zoom to the default value.

Declaration

cs-api-definition
public virtual void ResetZoom()

Zoom(int)

Performs a zoom operation by given steps count.

Declaration

cs-api-definition
public virtual void Zoom(int step)

Parameters

step

int

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

cs-api-definition
public void ZoomIn()

ZoomIn(int)

Performs a zoom-in operation with several steps, according to the ZoomStep value.

Declaration

cs-api-definition
public void ZoomIn(int steps)

Parameters

steps

int

The count of steps to zoom in.

ZoomOut()

Performs a zoom-out operation with one step, according to the ZoomStep value.

Declaration

cs-api-definition
public void ZoomOut()

ZoomOut(int)

Performs a zoom-out operation with several steps, according to the ZoomStep value.

Declaration

cs-api-definition
public void ZoomOut(int steps)

Parameters

steps

int

The count of steps to zoom-out.

Events

PropertyChanged

An event that is raised when a property is changed.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged