Documentation > CMS Template API Library > WysiwygParams > AddSimpleStyleGroup(FeatureType)

AddSimpleStyleGroup

Adds bold, italic and underline buttons

public System.Void AddSimpleStyleGroup(FeatureType)

Parameters

NameDescriptionType
endSeparator Optional: defaults to Separator. Set to FeatureType.None if using at the end of the toolbar. CrownPeak.CMSAPI.FeatureType

Code Example

C#

Sample:

            
             WysiwygParams wParams = new WysiwygParams();
             wParams.AddColorGroup();
             wParams.AddCutPasteGroup();
             wParams.AddFontGroup();
             wParams.AddSimpleStyleGroup(FeatureType.None);
             Input.ShowWysiwyg("Page Body", "page_body", wParams);
            
            

Connect with Crownpeak