The definition of the toolbars.
| C# |
public string Toolbars { get; set; }
This string defines the elements displayed in each toolbar,
in which toolstrip, in what order, etc.
The internally supported element names are:
The following delimiters are used in the definition:
- Each toolbar element has a type and name
- Buttons are the default type, so only their name is required
- Multiple toolbars can be defined
- Related toolbar elements may be grouped into toolstrips
- Separator bars can be added to group related elements within a toolstrip
- To have no toolbars, set the property to an empty string
The internally supported element names are:
| Standard Buttons | Save, New, Print, Bold, Italic, Underline, Left, Center, Right, Justify, OrderedList, BulletedList, Rule, Indent, Outdent, Subscript, Superscript, StrikeThrough, Emotions, Link, Unlink, Image, Symbol, ForeColor, BackColor, Table, RemoveFormat |
| Optional Buttons | Design, Html, View |
| Select Lists | Format, Font, Size |
The following delimiters are used in the definition:
| ; | Semi-colon ends a toolbar (not required for last toolbar) |
| : | Colon ends a toolstrip (not required for last toolstrip in a toolbar) |
| , | Comma separates toolbar elements |
| | | Vertical bar defines a separator |
| # | Pound sign separates an element type from its name |
Set the property declaratively in the HtmlEditor tag:
CopyC#
Toolbars = "Bold,Italic,Underline:Link,Unlink;Save,New,Print:OrderedList,BulletedList"