Class Toolbar
Inheritance
System.Object
Toolbar
Assembly: Syncfusion.EJ2.dll
public class Toolbar : EJTagHelper
Constructors
Declaration
Properties
When this property is set to true, it allows the keyboard interaction in toolbar.
Declaration
public bool AllowKeyboard { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
The event will be fired before the control is rendered on a page.
Declaration
public string BeforeCreate { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
protected override string ClassName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
The event will be fired on clicking the Toolbar elements.
Declaration
public string Clicked { get; set; }
Property Value
Type |
Description |
System.String |
|
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
The event will be fired when the control is rendered.
Declaration
public string Created { get; set; }
Property Value
Type |
Description |
System.String |
|
Sets the CSS classes to root element of the Tab that helps to customize component styles.
Declaration
public string CssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
The event will be fired when the control gets destroyed.
Declaration
public string Destroyed { get; set; }
Property Value
Type |
Description |
System.String |
|
Enable or disable the popup collision.
Declaration
public bool EnableCollision { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Defines whether to allow the cross-scripting site or not.
Declaration
public bool EnableHtmlSanitizer { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Enable or disable persisting component's state between page reloads.
Declaration
public bool EnablePersistence { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Enable or disable rendering component in right to left direction.
Declaration
public bool EnableRtl { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Specifies the height of the Toolbar in pixels/number/percentage. Number value is considered as pixels.
Declaration
public string Height { get; set; }
Property Value
Type |
Description |
System.String |
|
Allows additional HTML attributes such as title, name, etc., and
accepts n number of attributes in a key-value pair format.
Declaration
public object HtmlAttributes { get; set; }
Property Value
Type |
Description |
System.Object |
|
Declaration
protected override bool IsFor { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
An array of items that is used to configure Toolbar commands.
Declaration
public List<ToolbarItem> Items { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<ToolbarItem> |
|
Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
Declaration
public string Locale { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
protected override string NameSpace { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Specifies the Toolbar display mode when Toolbar content exceeds the viewing area.
Possible modes are:
- Scrollable: All the elements are displayed in a single line with horizontal scrolling enabled.
- Popup: Prioritized elements are displayed on the Toolbar and the rest of elements are moved to the popup.
- MultiRow: Displays the overflow toolbar items as an in-line of a toolbar.
- Extended: Hide the overflowing toolbar items in the next row. Show the overflowing toolbar items when you click the expand icons.
If the popup content overflows the height of the page, the rest of the elements will be hidden.
Declaration
public OverflowMode OverflowMode { get; set; }
Property Value
Specifies the scrolling distance in scroller.
Declaration
public double ScrollStep { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
protected override string TagName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Specifies the width of the Toolbar in pixels/numbers/percentage. Number value is considered as pixels.
Declaration
public string Width { get; set; }
Property Value
Type |
Description |
System.String |
|