New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

The serializer for the ResizeOperation

Definition

Constructors

C#
public ResizeOperationSerializer()

Properties

Name of the current serializer.

C#
public override string Name { get; }

Overrides: ImageOperationSerializerBase.Name

Implements: IImageOperationSerializer.Name

Methods

Constructs an image operation from the provided data.

C#
public override IImageOperation FromData(Dictionary<string, object> data)
Parameters:dataDictionary<string, object>

The input key/value collection of the operation

Returns:

IImageOperation

A newly constructed operation based on the input data

Overrides: ImageOperationSerializerBase.FromData(Dictionary<string, object>)

Implements: IImageOperationSerializer.FromData(Dictionary<string, object>)

Constructs a key/value pair collection from the image operation.

C#
public override Dictionary<string, object> ToData(IImageOperation operation)
Parameters:operationIImageOperation

The image operation, from which the data is contructed

Returns:

Dictionary<string, object>

The constructed data from the image operation

Overrides: ImageOperationSerializerBase.ToData(IImageOperation)