aboutsummaryrefslogtreecommitdiffstats
path: root/Software/ColorData/CAT
ModeNameSize
-rw-r--r--CyanToLinear.cat80logstatsplain
-rw-r--r--MagentaToLinear.cat80logstatsplain
-rw-r--r--YellowToLinear.cat80logstatsplain
using FontAwesome.WPF;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Tango.Touch.Controls
{
    public class TouchToggleImageButton: ToggleButton
    {
        static TouchToggleImageButton()
        {
            DefaultStyleKeyProperty.OverrideMetadata(typeof(TouchToggleImageButton), new FrameworkPropertyMetadata(typeof(TouchToggleImageButton)));
        }

        public BitmapSource UncheckedImage
        {
            get { return (BitmapSource)GetValue(UncheckedImageProperty); }
            set { SetValue(UncheckedImageProperty, value); }
        }
        public static readonly DependencyProperty UncheckedImageProperty =
            DependencyProperty.Register("UncheckedImage", typeof(BitmapSource), typeof(TouchToggleImageButton), new PropertyMetadata(null));

        public BitmapSource CheckedImage
        {
            get { return (BitmapSource)GetValue(CheckedImageProperty); }
            set { SetValue(CheckedImageProperty, value); }
        }
        public static readonly DependencyProperty CheckedImageProperty =
            DependencyProperty.Register("CheckedImage", typeof(BitmapSource), typeof(TouchToggleImageButton), new PropertyMetadata(null));

        public Brush CheckedForeground
        {
            get { return (Brush)GetValue(CheckedForegroundProperty); }
            set { SetValue(CheckedForegroundProperty, value); }
        }
        public static readonly DependencyProperty CheckedForegroundProperty =
            DependencyProperty.Register("CheckedForeground", typeof(Brush), typeof(TouchToggleImageButton), new PropertyMetadata(null));

        public CornerRadius CornerRadius
        {
            get { return (CornerRadius)GetValue(CornerRadiusProperty); }
            set { SetValue(CornerRadiusProperty, value); }
        }
        public static readonly DependencyProperty CornerRadiusProperty =
            DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(TouchToggleImageButton), new PropertyMetadata(default(CornerRadius)));


    }
}