TagBuilder Members

 

Represents a class that is used by HTML helpers to build HTML elements.

The TagBuilder type exposes the following members.

  Name Description
Public method TagBuilder Initializes a new instance of the TagBuilder class.
Top
  Name Description
Public method AddCssClass Adds the specified CSS class to the tag-builder attributes.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GenerateId Generates the ID by using the specified name.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MergeAttribute Overloaded. Merges the CSS class attribute.
Public method MergeAttributes<(Of <(TKey, TValue>)>) Overloaded.
Public method SetInnerText Sets the inner text.
Public method ToString Overloaded. Returns a string that represents the current object.
Top
  Name Description
Public property Attributes Gets or sets the CSS class attributes.
Public property IdAttributeDotReplacement Gets or sets the character that is used to replace the dot in the ID.
Public property InnerHtml Gets or sets the inner HTML.
Public property TagName Gets or sets the name of the tag.
Top

posted on 2009-05-15 21:50  imbob  阅读(170)  评论(1编辑  收藏  举报

导航