Inheritance: Windows.UI.Xaml.Controls.Control
Esempio n. 1
0
        private static void StretchChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CircleImage obj   = (CircleImage)d;
            Stretch     value = (Stretch)e.NewValue;

            if (obj._imageBrush != null)
            {
                obj._imageBrush.Stretch = value;
            }
        }
Esempio n. 2
0
        private static void SourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CircleImage obj   = (CircleImage)d;
            ImageSource value = (ImageSource)e.NewValue;

            if (obj._imageBrush != null)
            {
                obj._imageBrush.ImageSource = value;
            }
        }