Example #1
0
 static CursorWindow()
 {
     TopmostProperty.OverrideMetadata(typeof(CursorWindow), new FrameworkPropertyMetadata(true));
     WindowStyleProperty.OverrideMetadata(typeof(CursorWindow), new FrameworkPropertyMetadata(WindowStyle.None));
     ResizeModeProperty.OverrideMetadata(typeof(CursorWindow), new FrameworkPropertyMetadata(ResizeMode.NoResize));
     AllowsTransparencyProperty.OverrideMetadata(typeof(CursorWindow), new FrameworkPropertyMetadata(true));
     ShowInTaskbarProperty.OverrideMetadata(typeof(CursorWindow), new FrameworkPropertyMetadata(false));
 }
Example #2
0
 static PrecisePopupWindow()
 {
     DefaultStyleKeyProperty.OverrideMetadata(typeof(PrecisePopupWindow), new FrameworkPropertyMetadata(typeof(PrecisePopupWindow)));
     TopmostProperty.OverrideMetadata(typeof(PrecisePopupWindow), new FrameworkPropertyMetadata(true));
     WindowStyleProperty.OverrideMetadata(typeof(PrecisePopupWindow), new FrameworkPropertyMetadata(WindowStyle.None));
     ResizeModeProperty.OverrideMetadata(typeof(PrecisePopupWindow), new FrameworkPropertyMetadata(ResizeMode.NoResize));
     ShowInTaskbarProperty.OverrideMetadata(typeof(PrecisePopupWindow), new FrameworkPropertyMetadata(false));
     AllowsTransparencyProperty.OverrideMetadata(typeof(PrecisePopupWindow), new FrameworkPropertyMetadata(true));
 }
Example #3
0
 static NotificationWindow()
 {
     DefaultStyleKeyProperty.OverrideMetadata(typeof(NotificationWindow), new FrameworkPropertyMetadata(typeof(NotificationWindow)));
     WindowStyleProperty.OverrideMetadata(typeof(NotificationWindow), new FrameworkPropertyMetadata(WindowStyle.None));
     AllowsTransparencyProperty.OverrideMetadata(typeof(NotificationWindow), new FrameworkPropertyMetadata(true));
     BackgroundProperty.OverrideMetadata(typeof(NotificationWindow), new FrameworkPropertyMetadata(Brushes.CadetBlue));
     TopmostProperty.OverrideMetadata(typeof(NotificationWindow), new FrameworkPropertyMetadata(true));
     ShowInTaskbarProperty.OverrideMetadata(typeof(NotificationWindow), new FrameworkPropertyMetadata(false));
     ShowActivatedProperty.OverrideMetadata(typeof(NotificationWindow), new FrameworkPropertyMetadata(false));
     SizeToContentProperty.OverrideMetadata(typeof(NotificationWindow), new FrameworkPropertyMetadata(SizeToContent.Manual));
 }
Example #4
0
 set => SetValue(TopmostProperty, value);
Example #5
0
 static MiniModeWindow()
 {
     TopmostProperty.OverrideMetadata(typeof(MiniModeWindow), new FrameworkPropertyMetadata((d, e) => ((MiniModeWindow)d)._OnTopmostChanged()));
 }
Example #6
0
 static ColorDialog()
 {
     TopmostProperty.OverrideMetadata(
         typeof(ColorDialog),
         new FrameworkPropertyMetadata(true));
 }
 static OverlayWindow()
 {
     TopmostProperty.OverrideMetadata(typeof(OverlayWindow), new FrameworkPropertyMetadata(BooleanBoxes.True));
 }