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

Defines the fluent API for configuring QRCodeBorderSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class QRCodeBorderSettingsBuilder

Inheritance: objectQRCodeBorderSettingsBuilder

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

Constructors

QRCodeBorderSettingsBuilder method.

C#
public QRCodeBorderSettingsBuilder(QRCodeBorderSettings container)
Parameters:containerQRCodeBorderSettings

Properties

Gets the settings being configured.

C#
protected QRCodeBorderSettings Container { get; }

Methods

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

C#
public QRCodeBorderSettingsBuilder Color(string value)
Parameters:valuestring

The value for Color

Returns:

QRCodeBorderSettingsBuilder

Returns the current QRCodeBorderSettingsBuilder instance.

The width of the border in pixels. By default the border width is set to zero which means that the border will not appear.

C#
public QRCodeBorderSettingsBuilder Width(double value)
Parameters:valuedouble

The value for Width

Returns:

QRCodeBorderSettingsBuilder

Returns the current QRCodeBorderSettingsBuilder instance.