Inheritance: System.Windows.Controls.Control
Exemplo n.º 1
0
        private static void OnRenderCheckedChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            ButtonChrome buttonChrome = o as ButtonChrome;

            if (buttonChrome != null)
            {
                buttonChrome.OnRenderCheckedChanged((bool)e.OldValue, (bool)e.NewValue);
            }
        }
Exemplo n.º 2
0
        private static void OnInnerCornerRadiusChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            ButtonChrome buttonChrome = o as ButtonChrome;

            if (buttonChrome != null)
            {
                buttonChrome.OnInnerCornerRadiusChanged((CornerRadius)e.OldValue, (CornerRadius)e.NewValue);
            }
        }