Class TelerikQRCode
Telerik UI QRCode component.
Inheritance
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikQRCode : DataVizComponent, IDisposable
Constructors
TelerikQRCode()
Declaration
public TelerikQRCode()
Properties
Background
The background color of the QR code. Accepts a valid CSS color string, including hex and rgb.
Declaration
public string Background { get; set; }
Property Value
System.String
|
Color
The color of the QR code. Accepts a valid CSS color string, including hex and rgb.
Declaration
public string Color { get; set; }
Property Value
System.String
|
Encoding
The encoding mode used to encode the value.The possible values are: "ISO_8859_1" - supports all characters from the ISO/IEC 8859-1 character set. or "UTF_8" - supports all Unicode characters..
Declaration
public Nullable<QRCodeEncoding> Encoding { get; set; }
Property Value
System.Nullable<QRCodeEncoding>
|
ErrorCorrection
The error correction level used to encode the value.The possible values are: "L" - approximately 7% of the codewords can be restored.; "M" - approximately 15% of the codewords can be restored.; "Q" - approximately 25% of the codewords can be restored. or "H" - approximately 30% of the codewords can be restored..
Declaration
public Nullable<QRCodeErrorCorrectionLevel> ErrorCorrection { get; set; }
Property Value
System.Nullable<QRCodeErrorCorrectionLevel>
|
Padding
Sets the minimum distance in pixels that should be left between the border and the QR modules.
Declaration
public Nullable<double> Padding { get; set; }
Property Value
System.Nullable<System.Double>
|
RenderAs
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.
Declaration
public Nullable<RenderingMode> RenderAs { get; set; }
Property Value
System.Nullable<RenderingMode>
|
Size
Specifies the size of a QR code in pixels (i.e. "200px").
Declaration
public string Size { get; set; }
Property Value
System.String
|
Value
The value of the QRCode.
Declaration
public string Value { get; set; }
Property Value
System.String
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
OnAfterRender(Boolean)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
System.Boolean
firstRender
|
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()