Class ToolbarProperties
Inherited Members
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class ToolbarProperties : EJTagHelper
Constructors
ToolbarProperties()
Initializes a new instance of the
Declaration
public ToolbarProperties()
Properties
Adder
Gets or sets the Toolbar items adder.
Declaration
[JsonIgnore]
public List<ToolbarBaseItemAdder> Adder { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ToolbarBaseItemAdder> |
Click
Occurs after Toolbar control is clicked.
Declaration
[JsonProperty("click")]
public string Click { get; set; }
Property Value
Type | Description |
---|---|
System.String | The click. |
Create
Occurs after Toolbar control is created.
Declaration
[JsonProperty("create")]
public string Create { get; set; }
Property Value
Type | Description |
---|---|
System.String | The create. |
CssClass
Gets or sets the root CSS class for Toolbar control to acheive the 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
[HtmlAttributeName("datasource")]
[JsonProperty("dataSource")]
[JsonConverter(typeof(DataManagerConverter))]
public object DataSource { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The datasource. |
Destroy
Occurs when the Toolbar is destroyed successfully.
Declaration
[JsonProperty("destroy")]
public string Destroy { get; set; }
Property Value
Type | Description |
---|---|
System.String | The destroy. |
DisabledItemIndices
Gets or sets the given disable items.
Declaration
[JsonProperty("disabledItemIndices")]
public List<int> DisabledItemIndices { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Int32> | The disabled item index. |
EmptyDataText
Gets or sets the empty data text.
Declaration
public string EmptyDataText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The empty data text. |
Enabled
Gets or sets a value indicating whether the control is enabled.
Declaration
[JsonProperty("enabled")]
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnabledItemIndices
Declaration
[JsonProperty("enabledItemIndices")]
public List<int> EnabledItemIndices { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Int32> |
EnableRTL
Gets or sets the enableRTL property to align the Toolbar control from right to left direction.
Declaration
[JsonProperty("enableRTL")]
public bool EnableRTL { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The enable rtl. |
EnableSeparator
Gets or sets a value indicating whether [EnableSeparator].
Declaration
[JsonProperty("enableSeparator")]
public bool EnableSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Height
Gets or sets the height of the Toolbar.
Declaration
[JsonProperty("height")]
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String | The height. |
Hide
Gets or sets a value indicating whether [hide].
Declaration
[JsonProperty("hide")]
public bool Hide { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
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. |
IsResponsive
Gets or sets the responsive support for Toolbar items during the window resizing time.
Declaration
[JsonProperty("isResponsive")]
public bool IsResponsive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ItemHover
Occurs after Toolbar control item is hovered.
Declaration
[JsonProperty("itemHover")]
public string ItemHover { get; set; }
Property Value
Type | Description |
---|---|
System.String | The item hover. |
ItemLeave
Occurs after mouse leave from Toolbar control item.
Declaration
[JsonProperty("itemLeave")]
public string ItemLeave { get; set; }
Property Value
Type | Description |
---|---|
System.String | The item leave. |
Items
Gets or sets the Toolbar items.
Declaration
[JsonIgnore]
public List<ToolbarBaseItem> Items { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ToolbarBaseItem> |
Orientation
Specifies the Toolbar orientation.
Declaration
[JsonProperty("orientation")]
[JsonConverter(typeof(StringEnumConverter))]
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
Orientation | The orientation |
OverflowClose
Occurs when the Toolbar overflow popup is closed.
Declaration
[JsonProperty("overflowClose")]
public string OverflowClose { get; set; }
Property Value
Type | Description |
---|---|
System.String | The overflowClose. |
OverflowOpen
Occurs when the Toolbar overflow popup is opened.
Declaration
[JsonProperty("overflowOpen")]
public string OverflowOpen { get; set; }
Property Value
Type | Description |
---|---|
System.String | The overflowOpen. |
Query
Gets or sets the query to retrieve the data from the online server. The query is used only when the online dataSource is used.
Declaration
[JsonProperty("query")]
[JsonConverter(typeof(QueryConverter))]
public string Query { get; set; }
Property Value
Type | Description |
---|---|
System.String | The query. |
ResponsiveType
Specifies the Toolbar responsiveType.
Declaration
[JsonProperty("responsiveType")]
[JsonConverter(typeof(StringEnumConverter))]
public ResponsiveType ResponsiveType { get; set; }
Property Value
Type | Description |
---|---|
ResponsiveType | The responsiveType |
ShowRoundedCorner
Gets or sets the Toolbar with rounded corners.
Declaration
[JsonProperty("showRoundedCorner")]
public bool ShowRoundedCorner { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The show rounded corner. |
ToolbarFields
Gets or sets the field property used to mapping fields for the data items of the Toolbar.
Declaration
[JsonProperty("fields")]
public ToolbarFields ToolbarFields { get; set; }
Property Value
Type | Description |
---|---|
ToolbarFields | The fields. |
TooltipSettings
Sets the tooltip settings property
Declaration
[JsonProperty("tooltipSettings")]
public TooltipProperties TooltipSettings { get; set; }
Property Value
Type | Description |
---|---|
TooltipProperties |
Width
Gets or sets the width of the Toolbar.
Declaration
[JsonProperty("width")]
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The width. |
Methods
GetControlDetails()
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 |
ShouldSerializeToolbarBaseItem()
ShouldSerialize method for ToolbarBaseItem.
Declaration
public bool ShouldSerializeToolbarBaseItem()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeToolbarFields()
ShouldSerialize method for ToolbarFields.
Declaration
public bool ShouldSerializeToolbarFields()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeTooltipSettings()
ShouldSerialize Method for TooltipSettings
Declaration
public bool ShouldSerializeTooltipSettings()
Returns
Type | Description |
---|---|
System.Boolean |