Suoranta.WebApp.Types Namespace
Suoranta.WebApp - Developer API

WidgetExtensions..::..AddAttributes<(Of <(<'TViewComponent, TBuilder>)>)> Method (TBuilder, IDictionary<(Of <(<'String, Object>)>)>)

Sets HTML attributes without clearing the existing.

Namespace:  Suoranta.WebApp.Kendo.RazorHelpers
Assembly:  Suoranta.WebApp (in Suoranta.WebApp.dll)

Syntax


public static TBuilder AddAttributes<TViewComponent, TBuilder>(
	this TBuilder builder,
	IDictionary<string, Object> values
)
where TViewComponent : WidgetBase, WidgetBase
where TBuilder : WidgetBuilderBase<TViewComponent, TBuilder>, WidgetBuilderBase<TViewComponent, TBuilder>

Type Parameters

TViewComponent
The type of the view component.
TBuilder
The type of the builder.

Parameters

builder
Type: TBuilder
The builder.
values
Type: IDictionary<(Of <(<'String, Object>)>)>

Return Value