~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/monomac/src/AppKit/NSToolbarItem.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// NSToolbarItem.cs: Support for the NSToolbarItem class
 
3
//
 
4
// Author:
 
5
//   Johan Hammar
 
6
//
 
7
using System;
 
8
using MonoMac.ObjCRuntime;
 
9
using MonoMac.Foundation;
 
10
 
 
11
namespace MonoMac.AppKit {
 
12
 
 
13
        public partial class NSToolbarItem {
 
14
                
 
15
                public event EventHandler Activated {
 
16
                        add {
 
17
                                Target = ActionDispatcher.SetupAction (Target, value);
 
18
                                Action = ActionDispatcher.Action;
 
19
                        }
 
20
 
 
21
                        remove {
 
22
                                ActionDispatcher.RemoveAction (Target, value);
 
23
                        }
 
24
                }
 
25
 
 
26
        }
 
27
}