BarcodeBorderBuilder
Methods
Color(System.String)
The color of the Barcode border. The option accepts a valid CSS color string, including HEX and RGB.
Parameters
color - System.String
The value that configures the color option.
Example
@(Html.Kendo().Barcode()
.Name("barcode")
.Value("1234567")
.Border(border => border.Color("#10c4b2").Width(1))
)
Width(System.Int32)
The width of the Barcode border.
Parameters
width - System.Int32
The value that configures the width.
Example
@(Html.Kendo().Barcode()
.Name("barcode")
.Value("1234567")
.Border(border => border.Width(1))
)
DashType(Kendo.Mvc.UI.ChartDashType)
Specifies the dash type of the Barcode border.
Parameters
dashType - ChartDashType
The value that configures the dash type.
Example
@(Html.Kendo().Barcode()
.Name("barcode")
.Value("1234567")
.Border(border => border.Width(1).DashType(ChartDashType.Dot))
)