Esempio n. 1
0
        static ThemedTipText()
        {
            FocusableProperty.OverrideMetadata(typeof(ThemedTipText), new FrameworkPropertyMetadata(true));
            TextEditorWrapper.RegisterCommandHandlers(typeof(ThemedTipText), true, true, true);

            // remove the focus rectangle around the control
            FocusVisualStyleProperty.OverrideMetadata(typeof(ThemedTipText), new FrameworkPropertyMetadata((object)null));
        }
Esempio n. 2
0
 static ThemedTipText()
 {
     TextEditorWrapper.RegisterCommandHandlers(typeof(TextBlock), true, true, true);
 }