Exemplo n.º 1
0
        private static void OnIconChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ImageSource icon   = (ImageSource)e.NewValue;
            ExTabItem   parent = (ExTabItem)d;

            parent.Icon = icon;
        }
Exemplo n.º 2
0
        private static void OnTitleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            string    value  = (string)e.NewValue;
            ExTabItem parent = (ExTabItem)d;

            parent.Title = value;
        }