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

« back to all changes in this revision

Viewing changes to external/monomac/docs/en/MonoMac.Foundation/ActionAttribute.xml

  • 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:
20
20
      <para>
21
21
        You can apply this attribute to a method, turning it into an action that can be invoked by the Objective-C world. 
22
22
      </para>
23
 
      <para>
24
 
        <example>
25
 
          <code lang="C#">
 
23
      <example>
 
24
        <code lang="C#">
26
25
            [Action ("clicked:")]
27
26
            void Submit (NSObject sender)
28
27
            {
29
28
                    // User has clicked on the Submit button, respond to this action
30
29
            }
31
30
          </code>
32
 
        </example>
33
 
      </para>
 
31
      </example>
34
32
    </remarks>
35
33
  </Docs>
36
34
  <Members>