KTML 4 API Documentation for ASP .NET

Ktml.Toolbars Property

The collection of toolbars to be rendered by the editor when ToolbarPresets property is set to ToolbarPresets.Custom.

public System.Collections.ArrayList Toolbars {get;}

Example

    // C#:
    MyKtmlEditor.ToolbarPresets = ToolbarPresets.Custom;
    MyKtmlEditor.Toolbars.Add (new Toolbar("Standard", 1, 
            new KtmlButton[] {  
                KtmlButton.Cut, 
                KtmlButton.Copy, 
                KtmlButton.Paste 
                }
            )
        );
    ' VB.NET:
    MyKtmlEditor.ToolbarPresets = ToolbarPresets.Custom
    MyKtmlEditor.Toolbars.Add (new Toolbar("Standard", 1, 
            New [KtmlButton]() {
                    KtmlButton.Cut,
                    KtmlButton.Copy, 
                    KtmlButton.Paste
                    }
            )
        )

See Also

Ktml Class | InterAKT.WebControls Namespace