QRCodeBuilder
Defines the fluent interface for configuring the QRCode component.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class QRCodeBuilder : WidgetBuilderBase<QRCode, QRCodeBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<QRCode, QRCodeBuilder>QRCodeBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the QRCodeBuilder class.
Methods
Sets the background color of the QR code.
public QRCodeBuilder Background(string color)
The QR code background color.
Returns:Sets the border configuration of the QRCode.
public QRCodeBuilder Border(Action<QRBorderBuilder> configurator)
The lambda which configures the border.
Returns:Sets the color of the QR code.
Sets the encoding of the QR code.
public QRCodeBuilder Encoding(QREncoding encoding)
The QR code encoding.
Returns:Sets the error correction level of the QR code.
public QRCodeBuilder ErrorCorrection(QRErrorCorrectionLevel errorCorrection)
The QR code error correction level.
Returns:The overlay configuration which alows you to choose from predefined layouts or insert a custom image.
public QRCodeBuilder Overlay(Action<QRCodeOverlayBuilder> configurator)
The configurator for the overlay setting.
Returns:Sets the padding of the QR code.
Sets the size of the QR code.
Sets the value of the QR code.