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

Defines the fluent interface for configuring the EditorImageBrowserOperation options.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class EditorImageBrowserOperationBuilder

Inheritance: objectEditorImageBrowserOperationBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the EditorImageBrowserOperationBuilder class.

C#
public EditorImageBrowserOperationBuilder(EditorImageBrowserOperation operation, ViewContext viewContext, IUrlGenerator urlGenerator)
Parameters:operationEditorImageBrowserOperation

The image browser operation

viewContextViewContext

The view context

urlGeneratorIUrlGenerator

An url generator instance

Methods

Sets the action, contoller and route values for the operation.

C#
public EditorImageBrowserOperationBuilder Action(string actionName, string controllerName, object routeValues)
Parameters:actionNamestring

Action name

controllerNamestring

Controller name

routeValuesobject

Route values

Returns:

EditorImageBrowserOperationBuilder

Sets the action, contoller and route values for the operation.

C#
public EditorImageBrowserOperationBuilder Action(string actionName, string controllerName, RouteValueDictionary routeValues)
Parameters:actionNamestring

Action name

controllerNamestring

Controller name

routeValuesRouteValueDictionary

Route values

Returns:

EditorImageBrowserOperationBuilder

Sets the action and contoller values for the operation.

C#
public EditorImageBrowserOperationBuilder Action(string actionName, string controllerName)
Parameters:actionNamestring

Action name

controllerNamestring

Controller name

Returns:

EditorImageBrowserOperationBuilder

Sets a JavaScript function which will return additional parameters to be sent to the server.

C#
public EditorImageBrowserOperationBuilder Data(string handler)
Parameters:handlerstring

JavaScript function name

Returns:

EditorImageBrowserOperationBuilder

Sets the route values for the operation.

C#
public EditorImageBrowserOperationBuilder Route(RouteValueDictionary routeValues)
Parameters:routeValuesRouteValueDictionary

Route values

Returns:

EditorImageBrowserOperationBuilder

Sets the route name and values for the operation.

C#
public EditorImageBrowserOperationBuilder Route(string routeName, object routeValues)
Parameters:routeNamestring

Route name

routeValuesobject

Route values

Returns:

EditorImageBrowserOperationBuilder

Sets the route name and values for the operation.

C#
public EditorImageBrowserOperationBuilder Route(string routeName, RouteValueDictionary routeValues)
Parameters:routeNamestring

Route name

routeValuesRouteValueDictionary

Route values

Returns:

EditorImageBrowserOperationBuilder

Sets the route name for the operation.

C#
public EditorImageBrowserOperationBuilder Route(string routeName)
Parameters:routeNamestringReturns:

EditorImageBrowserOperationBuilder

Specifies an absolute or relative URL for the operation.

C#
public EditorImageBrowserOperationBuilder Url(string url)
Parameters:urlstring

Absolute or relative URL for the operation

Returns:

EditorImageBrowserOperationBuilder

JavaScript function or the name of a function that returns the URL for the image.

C#
public EditorImageBrowserOperationBuilder UrlHandler(string handler)
Parameters:handlerstring

JavaScript function

Returns:

EditorImageBrowserOperationBuilder