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

QRCodeBuilder

Defines the fluent API for configuring the Kendo UI QRCode

Properties

WriteAction - Func

Methods

Border(System.String,System.Int32)

The border of the QR code.

Parameters

color - System.String
width - System.Int32

Background(System.String)

The background color of the QR code. Accepts a valid CSS color string, including hex and rgb.

Parameters

value - System.String

The value for Background

Border(System.Action)

The border of the QR code.

Parameters

configurator - System.Action<QRCodeBorderSettingsBuilder>

The configurator for the border setting.

Color(System.String)

The color of the QR code. Accepts a valid CSS color string, including hex and rgb.

Parameters

value - System.String

The value for Color

Overlay(System.Action)

The overlay configuration which alows you to choose from predefined layouts or insert a custom image.

Parameters

configurator - System.Action<QRCodeOverlaySettingsBuilder>

The configurator for the overlay setting.

Padding(System.Double)

Sets the minimum distance in pixels that should be left between the border and the QR modules.

Parameters

value - System.Double

The value for Padding

RenderAs(Kendo.Mvc.UI.RenderingMode)

Sets the preferred rendering engine. If it is not supported by the browser, the QRCode will switch to the first available mode.The supported values are: "canvas" - renders the widget as a Canvas element, if available. or "svg" - renders the widget as inline SVG document, if available.

Parameters

value - RenderingMode

The value for RenderAs

Size(System.Double)

Specifies the size of a QR code in pixels (i.e. "200px"). Numeric values are treated as pixels. If no size is specified, it will be determined from the element width and height. In case the element has width or height of zero, a default value of 200 pixels will be used.

Parameters

value - System.Double

The value for Size

Value(System.String)

The value of the QRCode.

Parameters

value - System.String

The value for Value

Encoding(Kendo.Mvc.UI.QREncoding)

Specifies a QR code encoding mode.

Parameters

value - QREncoding

The value for Encoding

ErrorCorrection(Kendo.Mvc.UI.QRErrorCorrectionLevel)

Specifies a QR code error correction level.

Parameters

value - QRErrorCorrectionLevel

The value for ErrorCorrection

ToComponent()

Returns the internal view component.

Expression(System.String)

Sets the name of the component.

Parameters

modelExpression - System.String

Explorer(Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer)

Sets the name of the component.

Parameters

modelExplorer - Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer

Name(System.String)

Sets the name of the component.

Parameters

componentName - System.String

The name.

Deferred(System.Boolean)

Suppress initialization script rendering. Note that this options should be used in conjunction with

Parameters

deferred - System.Boolean

HtmlAttributes(System.Object)

Sets the HTML attributes.

Parameters

attributes - System.Object

The HTML attributes.

HtmlAttributes(System.Collections.Generic.IDictionary)

Sets the HTML attributes.

Parameters

attributes - System.Collections.Generic.IDictionary<String,Object>

The HTML attributes.

Render()

Renders the component in place.

ToHtmlString()

WriteTo(System.IO.TextWriter,System.Text.Encodings.Web.HtmlEncoder)

Parameters

writer - System.IO.TextWriter
encoder - System.Text.Encodings.Web.HtmlEncoder

ToClientTemplate()

In this article
Not finding the help you need?