Class ContextMenuLoader
Overwrites ContextMenu-Style for some UIElements (like RichTextBox) that don't take the default ContextMenu-Style by default.
The code inside this CodeBehind-Class forces this ContextMenu-Style on these UIElements through Reflection (because it is only accessible through Reflection it is also only possible through CodeBehind and not XAML)
public class ContextMenuLoader : ResourceDictionary, IDictionary, ICollection, IEnumerable, ISupportInitialize, IUriContext, INameScope, IComponentConnector
- Inheritance
-
ContextMenuLoader
- Implements
- Inherited Members
Constructors
ContextMenuLoader()
Initializes a new instance of the ContextMenuLoader class and registers editing styles defined in "ContextMenu.xaml" with the Dispatcher.
public ContextMenuLoader()
Methods
InitializeComponent()
InitializeComponent
public void InitializeComponent()