コード例 #1
0
ファイル: CommandLink.cs プロジェクト: nitz/luminous
        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
ファイル: CommandLink.cs プロジェクト: nitz/luminous
        private static void _IconChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            CommandLink cl = (CommandLink)d;

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