Skip to content

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

License

Notifications You must be signed in to change notification settings

fernandostockler/CustomWindow-WPF

Repository files navigation

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";
        }
    }
}

About

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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages