~ubuntu-branches/ubuntu/karmic/moon/karmic

« back to all changes in this revision

Viewing changes to class/Microsoft.SilverlightControls/Controls/Src/ButtonBase/ClickMode.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2009-02-14 12:01:08 UTC
  • Revision ID: james.westby@ubuntu.com-20090214120108-06539vb25vhbd8bn
Tags: upstream-1.0
Import upstream version 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright © Microsoft Corporation. 
 
2
// This source is subject to the Microsoft Source License for Silverlight Controls (March 2008 Release).
 
3
// Please see http://go.microsoft.com/fwlink/?LinkID=111693 for details.
 
4
// All other rights reserved. 
 
5
 
 
6
using System;
 
7
 
 
8
namespace System.Windows.Controls
 
9
{
 
10
    /// <summary> 
 
11
    /// Specifies when the ButtonBase.Click event should fire.
 
12
    /// </summary>
 
13
    public enum ClickMode 
 
14
    {
 
15
        /// <summary>
 
16
        /// Specifies that the Click event will occur when a button is pressed 
 
17
        /// and released. 
 
18
        /// </summary>
 
19
        Release = 0, 
 
20
 
 
21
        /// <summary>
 
22
        /// Specifies that the Click event will occur as soon as a button is 
 
23
        /// pressed.
 
24
        /// </summary>
 
25
        Press = 1, 
 
26
 
 
27
        /// <summary>
 
28
        /// Specifies that the Click event should fire when the mouse hovers 
 
29
        /// over a control.
 
30
        /// </summary>
 
31
        Hover = 2 
 
32
    }
 
33
}