Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
926
ToolbarsManager and formatting toolbar
posted

Hello,

I want to get the formatting toolbar (Justify, iltalic,Center, Bold) in the toolbar.

How can I do this ?

Thanks

Parents
No Data
Reply
  • 44743
    Verified Answer
    posted

    To get the Bold and Italic tools, you would use StateButtonTools on your toolbar. These tools have a Checked property and will have a pushed display when it is set to True.

    For the Justify, Center, and other alignment tools, you would also want to use StateButtonTools. However, these tools are different in that only one can be checked at a time. To enforce this, you can add a new OptionSet to the UltraToolbarsManager's OptionSets collection. Then set that OptionSet instance on the OptionSet property of each alignment StateButtonTool.

Children