# Selection Mini Tool Bar

**SelectionMiniToolBar** is a floating toolbar that appears next to the current position after making a selection with the mouse in the document. It contains some useful commands for formatting text.

![WPF RadRichTextBox Selection Mini Tool Bar](https://www.telerik.com/products/wpf/documentation/assets/e02b6c2b4e1d9c620aad065a934ffcea/radrichtextbox_features_selectionminitoolbar_01_wpf.png)

As **RadRichTextBox** loads the default **SelectionMiniToolBar** using [MEF](http://mef.codeplex.com/), it can be completely replaced with a custom one. This can be done as easy as with the other **RadRichTextBox** dialogs by implementing the interface **ISelectionMiniToolBar** and marking the class that implements it with the **CustomSelectionMiniToolBarAttribute**  attribute.  The technique was also described in greater details in [this blog post](http://blogs.telerik.com/xamlteam/posts/10-09-28/some-tricks-with-mef-up-the-sleeve-of-radrichtextbox-for-silverlight.aspx).

And of course, for those of you who don't need additional UI pop-ups, these can be disabled by setting the **IsSelectionMiniToolBarEnabled** property of **RadRichTextBox** to **False**.

By default, the **SelectionMiniToolBar** has a transparency effect. This effect can be disabled with the **IsTransparencyEnabled** property.

**Example 1:  Disable the transparensy effect of the SelectionMiniToolBar**

```C#

var miniToolbar = radRichTextBox.SelectionMiniToolBar as SelectionMiniToolBar;
miniToolbar.IsTransparencyEnabled = false;

```
