Exemplo 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));
        }
Exemplo n.º 2
0
 static ThemedTipText()
 {
     TextEditorWrapper.RegisterCommandHandlers(typeof(TextBlock), true, true, true);
 }