Class TagCloudProperties
Represents the TagCloud UI element.
Inherited Members
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class TagCloudProperties : EJTagHelper
Constructors
TagCloudProperties()
Declaration
public TagCloudProperties()
Properties
Click
Occurs when the TagCloud items are clicked.
Declaration
[JsonProperty("click")]
public string Click { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The click. |
Create
Occurs when the TagCloud are created.
Declaration
[JsonProperty("create")]
public string Create { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The create. |
CssClass
Gets or sets the CSS class to button to achieve custom theme.
Declaration
[JsonProperty("cssClass")]
public string CssClass { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The css class. |
DataSource
Gets or sets the dataSource.
Declaration
[JsonProperty("dataSource")]
[HtmlAttributeName("datasource")]
[JsonConverter(typeof(DataManagerConverter))]
public object DataSource { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object | The datasource. |
Destroy
Occurs when the TagCloud are destroyed.
Declaration
[JsonProperty("destroy")]
public string Destroy { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The destroy. |
EmptyDataText
Specifies the error message for Tagcloud.
Declaration
public string EmptyDataText { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The empty data text. |
EnableRTL
Gets or sets the TagCloud and tag items direction as right to left alignment.
Declaration
[JsonProperty("enableRTL")]
public bool EnableRTL { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Format
Defines the format for the TagCloud to display the tag items.
Declaration
[JsonProperty("format")]
[JsonConverter(typeof(StringEnumConverter))]
public Formats Format { get; set; }
Property Value
| Type | Description |
|---|---|
| Formats | The format. |
HtmlAttributes
Gets or sets the html attributes.
Declaration
[JsonProperty("htmlAttributes")]
public IDictionary<string, object> HtmlAttributes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IDictionary<System.String, System.Object> | The HTML attributes. |
MaxFontSize
Gets or sets the maximum font size value for the tag items. The font size for the tag items will be generated in between the minimum and maximum font size values.
Declaration
[JsonProperty("maxFontSize")]
public string MaxFontSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The max font size. |
MinFontSize
Gets or sets the minimum font size value for the tag items. The font size for the tag items will be generated in between the minimum and maximum font size values.
Declaration
[JsonProperty("minFontSize")]
public string MinFontSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The min font size. |
MouseOut
Occurs when the cursor leaves out from a tag item.
Declaration
[JsonProperty("mouseout")]
public string MouseOut { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The mouse out. |
MouseOver
Occurs when the cursor hovers on a tag item.
Declaration
[JsonProperty("mouseover")]
public string MouseOver { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The mouse over. |
Query
Gets or sets the query to retrieve the data from online server. The query is used only when the online dataSource is used.
Declaration
[JsonConverter(typeof(QueryConverter))]
[JsonProperty("query")]
public string Query { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The query. |
ShowTitle
Gets or sets TagCloud showtitle.
Declaration
[JsonProperty("showTitle")]
public bool ShowTitle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
TagCloudFields
Gets or sets the mapping fields for the data items of the TagCloud.
Declaration
[JsonProperty("fields")]
public TagCloudFields TagCloudFields { get; set; }
Property Value
| Type | Description |
|---|---|
| TagCloudFields | The fields. |
Title
Gets or sets the title text for the TagCloud. To show the title text, the showTitle property should be enabled.
Declaration
[JsonProperty("titleText")]
public string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The title. |
TitleImage
Gets or sets the title image for the TagCloud. To show the title image, the showTitle property should be enabled.
Declaration
[JsonProperty("titleImage")]
public string TitleImage { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The title image. |
Methods
GetControlDetails()
Get the control details
Declaration
protected override object GetControlDetails()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
ShouldSerializeDataSource()
ShouldSerialize method for DataSource.
Declaration
public bool ShouldSerializeDataSource()
Returns
| Type | Description |
|---|---|
| System.Boolean |
ShouldSerializeTagCloudFields()
ShouldSerialize method for TagCloudFields.
Declaration
public bool ShouldSerializeTagCloudFields()
Returns
| Type | Description |
|---|---|
| System.Boolean |