Example #1
0
 public FZConfigProperties()
 {
     FancyzonesShiftDrag                    = new BoolProperty(ConfigDefaults.DefaultFancyzonesShiftDrag);
     FancyzonesOverrideSnapHotkeys          = new BoolProperty();
     FancyzonesMouseSwitch                  = new BoolProperty();
     FancyzonesMoveWindowsAcrossMonitors    = new BoolProperty();
     FancyzonesMoveWindowsBasedOnPosition   = new BoolProperty();
     FancyzonesOverlappingZonesAlgorithm    = new IntProperty();
     FancyzonesDisplayChangeMoveWindows     = new BoolProperty();
     FancyzonesZoneSetChangeMoveWindows     = new BoolProperty();
     FancyzonesAppLastZoneMoveWindows       = new BoolProperty();
     FancyzonesOpenWindowOnActiveMonitor    = new BoolProperty();
     FancyzonesRestoreSize                  = new BoolProperty();
     FancyzonesQuickLayoutSwitch            = new BoolProperty(ConfigDefaults.DefaultFancyzonesQuickLayoutSwitch);
     FancyzonesFlashZonesOnQuickSwitch      = new BoolProperty(ConfigDefaults.DefaultFancyzonesFlashZonesOnQuickSwitch);
     UseCursorposEditorStartupscreen        = new BoolProperty(ConfigDefaults.DefaultUseCursorposEditorStartupscreen);
     FancyzonesShowOnAllMonitors            = new BoolProperty();
     FancyzonesSpanZonesAcrossMonitors      = new BoolProperty();
     FancyzonesZoneHighlightColor           = new StringProperty(ConfigDefaults.DefaultFancyZonesZoneHighlightColor);
     FancyzonesHighlightOpacity             = new IntProperty(50);
     FancyzonesEditorHotkey                 = new KeyboardKeysProperty(DefaultEditorHotkeyValue);
     FancyzonesWindowSwitching              = new BoolProperty(true);
     FancyzonesNextTabHotkey                = new KeyboardKeysProperty(DefaultNextTabHotkeyValue);
     FancyzonesPrevTabHotkey                = new KeyboardKeysProperty(DefaultPrevTabHotkeyValue);
     FancyzonesMakeDraggedWindowTransparent = new BoolProperty();
     FancyzonesExcludedApps                 = new StringProperty();
     FancyzonesInActiveColor                = new StringProperty(ConfigDefaults.DefaultFancyZonesInActiveColor);
     FancyzonesBorderColor                  = new StringProperty(ConfigDefaults.DefaultFancyzonesBorderColor);
     FancyzonesSystemTheme                  = new BoolProperty(true);
 }
 public ShortcutGuideProperties()
 {
     OverlayOpacity = new IntProperty(90);
     UseLegacyPressWinKeyBehavior = new BoolProperty(false);
     PressTime         = new IntProperty(900);
     Theme             = new StringProperty("system");
     DisabledApps      = new StringProperty();
     OpenShortcutGuide = new HotkeySettings(true, false, false, true, 0xBF);
 }
Example #3
0
 public PowerRenameProperties()
 {
     PersistState            = new BoolProperty();
     MRUEnabled              = new BoolProperty();
     MaxMRUSize              = new IntProperty();
     ShowIcon                = new BoolProperty();
     ExtendedContextMenuOnly = new BoolProperty();
     Enabled = new BoolProperty();
 }
Example #4
0
 public FindMyMouseProperties()
 {
     DoNotActivateOnGameMode = new BoolProperty(true);
     BackgroundColor         = new StringProperty("#000000");
     SpotlightColor          = new StringProperty("#FFFFFF");
     OverlayOpacity          = new IntProperty(50);
     SpotlightRadius         = new IntProperty(100);
     AnimationDurationMs     = new IntProperty(500);
     SpotlightInitialZoom    = new IntProperty(9);
 }
 public AlwaysOnTopProperties()
 {
     Hotkey                  = new KeyboardKeysProperty(DefaultHotkeyValue);
     FrameEnabled            = new BoolProperty(DefaultFrameEnabled);
     FrameThickness          = new IntProperty(DefaultFrameThickness);
     FrameColor              = new StringProperty(DefaultFrameColor);
     SoundEnabled            = new BoolProperty(DefaultSoundEnabled);
     DoNotActivateOnGameMode = new BoolProperty(DefaultDoNotActivateOnGameMode);
     ExcludedApps            = new StringProperty();
 }
 public FindMyMouseProperties()
 {
     ActivationMethod        = new IntProperty(0);
     DoNotActivateOnGameMode = new BoolProperty(true);
     BackgroundColor         = new StringProperty("#000000");
     SpotlightColor          = new StringProperty("#FFFFFF");
     OverlayOpacity          = new IntProperty(50);
     SpotlightRadius         = new IntProperty(100);
     AnimationDurationMs     = new IntProperty(500);
     SpotlightInitialZoom    = new IntProperty(9);
     ExcludedApps            = new StringProperty();
     ShakingMinimumDistance  = new IntProperty(1000);
 }
 public ImageResizerProperties()
 {
     ImageresizerSelectedSizeIndex  = new IntProperty(0);
     ImageresizerShrinkOnly         = new BoolProperty(false);
     ImageresizerReplace            = new BoolProperty(false);
     ImageresizerIgnoreOrientation  = new BoolProperty(true);
     ImageresizerJpegQualityLevel   = new IntProperty(90);
     ImageresizerPngInterlaceOption = new IntProperty();
     ImageresizerTiffCompressOption = new IntProperty();
     ImageresizerFileName           = new StringProperty("%1 (%2)");
     ImageresizerSizes            = new ImageResizerSizes();
     ImageresizerKeepDateModified = new BoolProperty();
     ImageresizerFallbackEncoder  = new StringProperty(new System.Guid("19e4a5aa-5662-4fc5-a0c0-1758028e1057").ToString());
     ImageresizerCustomSize       = new ImageResizerCustomSizeProperty(new ImageSize(4, "custom", ResizeFit.Fit, 1024, 640, ResizeUnit.Pixel));
 }
Example #8
0
        public ImageResizerProperties()
        {
            ImageresizerSelectedSizeIndex  = new IntProperty(0);
            ImageresizerShrinkOnly         = new BoolProperty(false);
            ImageresizerReplace            = new BoolProperty(false);
            ImageresizerIgnoreOrientation  = new BoolProperty(true);
            ImageresizerJpegQualityLevel   = new IntProperty(90);
            ImageresizerPngInterlaceOption = new IntProperty();
            ImageresizerTiffCompressOption = new IntProperty();
            ImageresizerFileName           = new StringProperty("%1 (%2)");

            ImageresizerSizes = new ImageResizerSizes(new ObservableCollection <ImageSize>()
            {
                new ImageSize(0, "Small", ResizeFit.Fit, 854, 480, ResizeUnit.Pixel),
                new ImageSize(1, "Medium", ResizeFit.Fit, 1366, 768, ResizeUnit.Pixel),
                new ImageSize(2, "Large", ResizeFit.Fit, 1920, 1080, ResizeUnit.Pixel),
                new ImageSize(3, "Phone", ResizeFit.Fit, 320, 568, ResizeUnit.Pixel),
            });

            ImageresizerKeepDateModified = new BoolProperty();
            ImageresizerFallbackEncoder  = new StringProperty(new System.Guid("19e4a5aa-5662-4fc5-a0c0-1758028e1057").ToString());
            ImageresizerCustomSize       = new ImageResizerCustomSizeProperty(new ImageSize(4, "custom", ResizeFit.Fit, 1024, 640, ResizeUnit.Pixel));
        }
        public override void Write(Utf8JsonWriter writer, bool value, JsonSerializerOptions options)
        {
            var boolProperty = new BoolProperty(value);

            JsonSerializer.Serialize(writer, boolProperty, options);
        }
Example #10
0
 public FindMyMouseProperties()
 {
     DoNotActivateOnGameMode = new BoolProperty(true);
 }