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