QRCode
Class
The server side wrapper for the Kendo UI QRCode.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class QRCode : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent
Inheritance: objectWidgetBaseQRCode
Implements:
Inherited Members
Constructors
C#
public QRCode(ViewContext viewContext, IJavaScriptInitializer initializer)
Properties
Gets or sets the QRCode background.
C#
public string Background { get; set; }
The QRCode background.
Gets or sets the QRCode color.
C#
public string Color { get; set; }
The QRCode color.
Gets or sets the QRCode encoding.
C#
public QREncoding Encoding { get; set; }
The QRCode encoding.
Gets or sets the QRCode error correction level.
C#
public QRErrorCorrectionLevel ErrorCorrection { get; set; }
The QRCode error correction level.
C#
protected virtual Dictionary<string, object> Options { get; set; }
The overlay configuration which alows you to choose from predefined layouts or insert a custom image.
C#
public QRCodeOverlay Overlay { get; set; }
Gets or sets the QRCode padding.
C#
public int? Padding { get; set; }
The QRCode padding.
Gets or sets the render type.
C#
public RenderingMode? RenderAs { get; set; }
The render type.
Gets or sets the QRCode size.
C#
public int? Size { get; set; }
The QRCode size.
Methods
C#
public override IDictionary<string, object> Serialize()
Overrides:
Writes the HTML.
C#
protected override void WriteHtml(HtmlTextWriter writer)
Overrides:
Writes the initialization script.
C#
public override void WriteInitializationScript(TextWriter writer)
The writer.
Overrides: