示例#1
0
        private static void _NoteChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CommandLink cl = (CommandLink)d;

            cl.SetValue(HasNotePropertyKey, e.NewValue != null);
            cl.OnNoteChanged(e.OldValue, e.NewValue);
        }
示例#2
0
        private static void _IconChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CommandLink cl = (CommandLink)d;

            cl.OnIconChanged((CommandLinkIcon)e.OldValue, (CommandLinkIcon)e.NewValue);
        }