﻿using System.ComponentModel;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;

namespace DesktopWidgets.Classes
{
    [ExpandableObject]
    public class ForegroundMatchData
    {
        [DisplayName("Title")]
        public string Title { get; set; }

        [DisplayName("Title Match Mode")]
        public StringMatchMode TitleMatchMode { get; set; } = StringMatchMode.Any;

        [DisplayName("Fullscreen")]
        public YesNoAny Fullscreen { get; set; } = YesNoAny.Any;
    }
}
﻿using System.ComponentModel;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;

namespace DesktopWidgets.Classes
{
    [ExpandableObject]
    public class ForegroundMatchData
    {
        [DisplayName("Title")]
        public string Title { get; set; }

        [DisplayName("Title Match Mode")]
        public StringMatchMode TitleMatchMode { get; set; } = StringMatchMode.Equals;

        [DisplayName("Fullscreen")]
        public YesNoAny Fullscreen { get; set; } = YesNoAny.Any;
    }
}
Change Foreground Match Data "Title Match Mode" default value
Change Foreground Match Data "Title Match Mode" default value
