Class TagBuilder
Inheritance
System.Object
TagBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ.dll
Syntax
Constructors
TagBuilder(String)
Declaration
public TagBuilder(string tagName)
Parameters
Type |
Name |
Description |
System.String |
tagName |
|
Properties
Attributes
Declaration
public IDictionary<string, string> Attributes { get; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.String> |
|
IdAttributeDotReplacement
Declaration
public string IdAttributeDotReplacement { get; set; }
Property Value
Type |
Description |
System.String |
|
InnerHtml
Declaration
public string InnerHtml { get; set; }
Property Value
Type |
Description |
System.String |
|
TagName
Declaration
public string TagName { get; }
Property Value
Type |
Description |
System.String |
|
Methods
AddCssClass(String)
Declaration
public void AddCssClass(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
CreateSanitizedId(String)
Declaration
public static string CreateSanitizedId(string originalId)
Parameters
Type |
Name |
Description |
System.String |
originalId |
|
Returns
Type |
Description |
System.String |
|
CreateSanitizedId(String, String)
Declaration
public static string CreateSanitizedId(string originalId, string invalidCharReplacement)
Parameters
Type |
Name |
Description |
System.String |
originalId |
|
System.String |
invalidCharReplacement |
|
Returns
Type |
Description |
System.String |
|
GenerateId(String)
Declaration
public void GenerateId(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
MergeAttribute(String, String)
Declaration
public void MergeAttribute(string key, string value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String |
value |
|
MergeAttribute(String, String, Boolean)
Declaration
public void MergeAttribute(string key, string value, bool replaceExisting)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String |
value |
|
System.Boolean |
replaceExisting |
|
MergeAttributes<TKey, TValue>(IDictionary<TKey, TValue>)
Declaration
public void MergeAttributes<TKey, TValue>(IDictionary<TKey, TValue> attributes)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IDictionary<TKey, TValue> |
attributes |
|
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
MergeAttributes<TKey, TValue>(IDictionary<TKey, TValue>, Boolean)
Declaration
public void MergeAttributes<TKey, TValue>(IDictionary<TKey, TValue> attributes, bool replaceExisting)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IDictionary<TKey, TValue> |
attributes |
|
System.Boolean |
replaceExisting |
|
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
SetInnerText(String)
Declaration
public void SetInnerText(string innerText)
Parameters
Type |
Name |
Description |
System.String |
innerText |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
ToString(TagRenderMode)
Declaration
public string ToString(TagRenderMode renderMode)
Parameters
Returns
Type |
Description |
System.String |
|