Class BaseControl
System.Object
  Westwind.Web.Mvc.BaseControl
public class BaseControl : object

Class Members

MemberDescription

Constructor

ApplyAttributes

renders standard attributes. Override for any custom attributes you want to add to the control. When overriding the base class method call the base method to include the stock rendering.

public virtual void ApplyAttributes()

MergeAttributes

Merges attributes from an object map

public void MergeAttributes(object htmlAttributes)

Render

Returns rendered HTML output

public virtual string Render()

Attributes

Any Html Attributes for the main element of this control specified as key value strings

CssClass

The CSS class rendered

HtmlHelper

Id

The ID rendered into the page

Name

Page

Page level helper routines and state features for use internally in the control's code

Style

A style string you want to apply. Augmented by the Styles dictionary property

Styles

A set of styles specified as key value strings

Text

Text for the control if applicable. This property may not apply to all types of controls

UrlHelper

Value

A value for the control for rendering. May not apply for all controls

Requirements

Namespace: Westwind.Web.Mvc
Assembly: westwind.web.mvc.dll

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic