Format
Normal
Formatted
Address
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Numbered List
Bulleted List
Directory List
Menu List
Definition Term
Definition
Format
Font
Arial
Arial Black
Comic Sans MS
Courier
Courier New
Fixedsys
Georgia
Impact
Lucida Console
Lucida Sans Unicode
MS Sans Serif
MS Serif
Marlett
Modern
Palatino Linotype
Roman
Script
Small Fonts
Symbol
System
Tahoma
Terminal
Times New Roman
Trebuchet MS
Verdana
Webdings
Wingdings
Font
Size
1 (8 pt)
2 (10 pt)
3 (12 pt)
4 (14 pt)
5 (18 pt)
6 (24 pt)
7 (36 pt)
Size
Description
You can initialize toolbar items either
programmatically
, or
manually
by updating the editor source XML file.
You can set the
Selected
property of buttons such as
Bold
to a boolean like "True",
SelectedValue
property of
special buttons such as
ForeColor
to a color like "Blue", or
SelectedValue
property of dropdown items such as
FontSize
to a value like "4".
In this sample,
Bold
,
FontSize
and
ForeColor
are selected programmatically in the code behind file, while
Italic
,
FontName
and
BackColor
are selected statically in the InitializeToolbarItems.xml file.