/CustomWindow-WPF

It is a window that allows customization of the non-client area, has a kiosk mode and has a mechanism for displaying modal content

Primary LanguageC#MIT LicenseMIT

CustomWindow-WPF

It is a window that allows customization of the non-client area, has a kiosk mode and has a mechanism for displaying modal content

Markup code in CustomWindowSample.xaml Custom Window V2 Markup Code

Code behind

public partial class CustomWindowSample : CustomWindow
{
    public CustomWindowSample()
    {
        InitializeComponent();
    }

    private void LikeButton_Click(object sender, RoutedEventArgs e)
    {
        if (sender is Button button)
        {
            button.Content = button.Content.ToString() == "\uE00B"
                ? "\uE006"
                : "\uE00B";
        }
    }
}