Hello
I've tried to make some customization to SelectionMiniToolbar based on information found on this forum but have some troubles.
To create similar custom toolbar I've used original code however I cannot use it directly because of some properties that are not accessible
The values on mini toolbar are ones I want however Font and FontSize combos are too big. They are using the same font size as I set for RichTextBox instead of default toolbar ones, which is causing that values are not fit and look ugly (too big).
I've tried to make some customization to SelectionMiniToolbar based on information found on this forum but have some troubles.
To create similar custom toolbar I've used original code however I cannot use it directly because of some properties that are not accessible
- this.radRichTextBox.CurrentSpanStyle
- this.radRichTextBox.CurrentParagraphStyle
- currentSpanStyle.GetPropertyValueSource
- ((ToggleCommandBase)this.radRichTextBox.Commands.ToggleNumberedCommand).GetToggleState()
Could you advice me how to implement the same (as example) SelectionMiniToolbar as CustomSelectionMiniToolbar?
There is other issue I have that causing me trouble when using default SelectionMiniToolbar. When I put following code for RichTextBox:
this.editor.FontFamily = new FontFamily("Arial");
this.editor.FontSize = Unit.PointToDip(12);
this.editor.DocumentInheritsDefaultStyleSettings = true;