Example #1
0
        /// <inheritdoc/>
        public override void SetModel(TextToolbar model)
        {
            base.SetModel(model);

            CommonButtons = new CommonButtons(model);
            ButtonActions = new RichTextButtonActions(this);
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="RichTextFormatter"/> class.
 /// </summary>
 /// <param name="model">The <see cref="TextToolbar"/></param>
 public RichTextFormatter(TextToolbar model)
     : base(model)
 {
     CommonButtons = new CommonButtons(model);
     ButtonActions = new RichTextButtonActions(this);
 }