Class Toolbar
Implements
Inherited Members
Namespace: Syncfusion.JavaScript.Web
Assembly: Syncfusion.EJ.Web.dll
Syntax
public class Toolbar : CommonDataBoundControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService
Constructors
Toolbar()
Declaration
public Toolbar()
Properties
ClientSideOnClick
Occurs after Toolbar control is clicked.
Declaration
public string ClientSideOnClick { get; set; }
Property Value
Type | Description |
---|---|
System.String | The client side on click. |
ClientSideOnCreate
Occurs after Toolbar control is created.
Declaration
public string ClientSideOnCreate { get; set; }
Property Value
Type | Description |
---|---|
System.String | The client side on create. |
ClientSideOnDestroy
Occurs when the Toolbar is destroyed successfully.
Declaration
public string ClientSideOnDestroy { get; set; }
Property Value
Type | Description |
---|---|
System.String | The client side on destroy. |
ClientSideOnItemHover
Occurs after Toolbar control item is hovered.
Declaration
public string ClientSideOnItemHover { get; set; }
Property Value
Type | Description |
---|---|
System.String | The client side on item hover. |
ClientSideOnItemLeave
Occurs after mouse leave from Toolbar control item.
Declaration
public string ClientSideOnItemLeave { get; set; }
Property Value
Type | Description |
---|---|
System.String | The client side on item leave. |
ClientSideOnOverflowClose
Occurs when the Toolbar popup is closed.
Declaration
public string ClientSideOnOverflowClose { get; set; }
Property Value
Type | Description |
---|---|
System.String | The client side on overflowClose. |
ClientSideOnOverflowOpen
Occurs when the Toolbar popup is opened.
Declaration
public string ClientSideOnOverflowOpen { get; set; }
Property Value
Type | Description |
---|---|
System.String | The client side on overflowOpen. |
CssClass
Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client.
Declaration
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | The CSS class. |
DataGroupField
Gets or sets the data group field.
Declaration
public string DataGroupField { get; set; }
Property Value
Type | Description |
---|---|
System.String | The data group field. |
DataHtmlAttributeField
Gets or sets the data HTML attributes field.
Declaration
public string DataHtmlAttributeField { get; set; }
Property Value
Type | Description |
---|---|
System.String | The data HTML attributes field. |
DataIdField
Gets or sets the data identifier field.
Declaration
public string DataIdField { get; set; }
Property Value
Type | Description |
---|---|
System.String | The data identifier field. |
DataImageAttributeField
Gets or sets the data image attributes field.
Declaration
public string DataImageAttributeField { get; set; }
Property Value
Type | Description |
---|---|
System.String | The data image attributes field. |
DataImageUrlField
Gets or sets the data image URL field.
Declaration
public string DataImageUrlField { get; set; }
Property Value
Type | Description |
---|---|
System.String | The data image URL field. |
DataManager
Data Manager as Inner property, which help us to bind the data sources from data adaptors
Declaration
public DataSource DataManager { get; set; }
Property Value
Type | Description |
---|---|
DataSource |
DataSource
Gets or sets the data source.
Declaration
public object DataSource { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The datasource. |
DataSourceCachingMode
Gets or sets the data source caching mode.
Declaration
public DataSourceCachingMode DataSourceCachingMode { get; set; }
Property Value
Type | Description |
---|---|
DataSourceCachingMode | The data source caching mode. |
DataSpriteCssClassField
Gets or sets the data sprite CSS field.
Declaration
public string DataSpriteCssClassField { get; set; }
Property Value
Type | Description |
---|---|
System.String | The data sprite CSS field. |
DataTextField
Gets or sets the data text field.
Declaration
public string DataTextField { get; set; }
Property Value
Type | Description |
---|---|
System.String | The data text field. |
DataTooltipTextField
Gets or sets the data tooltip text field.
Declaration
public string DataTooltipTextField { get; set; }
Property Value
Type | Description |
---|---|
System.String | The data sprite CSS field. |
DisabledItemIndices
Gets or sets the given disable items
Declaration
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 EmptyDataText.
Declaration
public string EmptyDataText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The EmptyDataText. |
Enabled
Gets or sets a value indicating whether the control is enabled.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnabledItemIndices
Gets or sets enable item index.
Declaration
public List<int> EnabledItemIndices { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Int32> | The enabled item index. |
EnableRTL
Gets or sets a value indicating whether [enable RTL].
Declaration
public bool EnableRTL { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnableSeparator
Gets or sets a value indicating whether [EnableSeparator].
Declaration
public bool EnableSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Fields
Gets the toolbar fields.
Declaration
public ToolbarFields Fields { get; }
Property Value
Type | Description |
---|---|
ToolbarFields | The toolbar fields. |
Height
Gets or sets the height of the toolbar.
Declaration
public override Unit Height { get; set; }
Property Value
Type | Description |
---|---|
System.Web.UI.WebControls.Unit | The height. |
Hide
Gets or sets a value indicating whether [hide].
Declaration
public bool Hide { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsResponsive
Gets or sets a value indicating whether [IsResponsive].
Declaration
public bool IsResponsive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Items
Gets the items.
Declaration
public List<ToolbarItem> Items { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ToolbarItem> | The items. |
Model
Gets or sets the Toolbar properties to its Model
Declaration
public ToolbarProperties Model { get; set; }
Property Value
Type | Description |
---|---|
ToolbarProperties |
Orientation
Specifies the Toolbar orientation.
Declaration
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
Orientation | The orientation. |
Query
Gets or sets the query.
Declaration
public string Query { get; set; }
Property Value
Type | Description |
---|---|
System.String | The query. |
ResponsiveType
Specifies the Toolbar responsiveType.
Declaration
public ResponsiveType ResponsiveType { get; set; }
Property Value
Type | Description |
---|---|
ResponsiveType | The responsiveType. |
ShowRoundedCorner
Gets or sets a value indicating whether [show rounded corner].
Declaration
public bool ShowRoundedCorner { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
TooltipSettings
Gets or sets the tooltip settings for RTE.
Declaration
public TooltipProperties TooltipSettings { get; set; }
Property Value
Type | Description |
---|---|
TooltipProperties | The Tooltip settings. |
Width
Gets or sets the Width of the toolbar.
Declaration
public override Unit Width { get; set; }
Property Value
Type | Description |
---|---|
System.Web.UI.WebControls.Unit | The width. |
Methods
CreateChildControls()
Create the child controls
Declaration
protected override void CreateChildControls()
DependentScripts()
Represents the dependent scripts for Toolbar control.
Declaration
public List<string> DependentScripts()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | This method returns the list of dependent script files which is of type string |
FetchData(IEnumerable)
Fetching the data
Declaration
public override void FetchData(IEnumerable data)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | data |
Overrides
GetDependentFiles()
Get the dependent files for Toolbar control
Declaration
public override List<string> GetDependentFiles()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Overrides
LoadViewState(Object)
Restores view-state information from a previous page request.
Declaration
protected override void LoadViewState(object state)
Parameters
Type | Name | Description |
---|---|---|
System.Object | state |
Overrides
PostBackEventHandler(String, Dictionary<String, Object>)
Gets a value that indicates whether the page is being loaded in response to a postback.
Declaration
public override void PostBackEventHandler(string EventName, Dictionary<string, object> args)
Parameters
Type | Name | Description |
---|---|---|
System.String | EventName | |
System.Collections.Generic.Dictionary<System.String, System.Object> | args |
Overrides
Render()
Render this instance
Declaration
public string Render()
Returns
Type | Description |
---|---|
System.String |
Render(HtmlTextWriter)
Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.HtmlTextWriter | writer |
Overrides
SaveViewState()
Saves any server control view-state changes that have occurred since the time the page was posted back to the server.
Declaration
protected override object SaveViewState()
Returns
Type | Description |
---|---|
System.Object |
UpdateServerModel(Dictionary<String, Object>)
Maintaining viewstate model values on post back
Declaration
public override void UpdateServerModel(Dictionary<string, object> ClientModel)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> | ClientModel |
Overrides
Events
ItemClick
Occurs when [Item click].
Declaration
public event Toolbar.ToolbarEventHandler ItemClick
Event Type
Type | Description |
---|---|
Toolbar.ToolbarEventHandler |