Click or drag to resize
KaxEditorFontSizes Property
Gets the collection containing the custom font sizes to put in the [Size] dropdown.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public EditorFontSizeCollection FontSizes { get; }

Property Value

Type: EditorFontSizeCollection
A string collection containing the custom font sizes to put in the Size dropdown. Default is an empty StringCollection.
Remarks

The contents of this collection will override the default font sizes available in the [Size] dropdown. In order to extend the default set you should add the default font sizes and the new font sizes. The default font sizes are: 1, 2, 3, 4, 5, 6 and 7.

Note: the minimum font size is 1, the maximum is 7.

Examples
This example demonstrates how to remove the font size 1 from the Size dropdown.
private void Page_Load(object sender, EventArgs e)
{
    KaxEditor1.FontSizes.Add(2);
    KaxEditor1.FontSizes.Add(3);
    KaxEditor1.FontSizes.Add(4);
    KaxEditor1.FontSizes.Add(5);
    KaxEditor1.FontSizes.Add(6);
    KaxEditor1.FontSizes.Add(7);
}
See Also