Last change
on this file since 16462 was
4068,
checked in by swagner, 14 years ago
|
Sorted usings and removed unused usings in entire solution (#1094)
|
File size:
1.7 KB
|
Line | |
---|
1 | using System;
|
---|
2 | namespace Netron.Diagramming.Core {
|
---|
3 | /// <summary>
|
---|
4 | /// Provides data for the GetValue and SetValue events of the custom descriptors.
|
---|
5 | /// </summary>
|
---|
6 | public class PropertyEventArgs : EventArgs {
|
---|
7 | #region Fields
|
---|
8 | /// <summary>
|
---|
9 | /// the mComponent of which the properties are examined
|
---|
10 | /// </summary>
|
---|
11 | private object mComponent;
|
---|
12 | /// <summary>
|
---|
13 | /// the value of the property
|
---|
14 | /// </summary>
|
---|
15 | private object mValue;
|
---|
16 | /// <summary>
|
---|
17 | /// the name of the property
|
---|
18 | /// </summary>
|
---|
19 | private string mName;
|
---|
20 | #endregion
|
---|
21 |
|
---|
22 | #region Properties
|
---|
23 | /// <summary>
|
---|
24 | /// Gets or sets the mName of the property.
|
---|
25 | /// </summary>
|
---|
26 | /// <value>The mName.</value>
|
---|
27 | public string Name {
|
---|
28 | get {
|
---|
29 | return mName;
|
---|
30 | }
|
---|
31 | set {
|
---|
32 | mName = value;
|
---|
33 | }
|
---|
34 | }
|
---|
35 | /// <summary>
|
---|
36 | /// Gets or sets the current value of the property.
|
---|
37 | /// </summary>
|
---|
38 | public object Value {
|
---|
39 | get { return mValue; }
|
---|
40 | set { mValue = value; }
|
---|
41 | }
|
---|
42 | /// <summary>
|
---|
43 | /// Gets the component whose properties is examined
|
---|
44 | /// </summary>
|
---|
45 | public object Component {
|
---|
46 | get {
|
---|
47 | return mComponent;
|
---|
48 | }
|
---|
49 | }
|
---|
50 | #endregion
|
---|
51 |
|
---|
52 | #region Constructors
|
---|
53 | /// <summary>
|
---|
54 | /// Initializes a new instance of the PropertyEventArgs class.
|
---|
55 | /// </summary>
|
---|
56 | /// <param name="mComponent">The m component.</param>
|
---|
57 | /// <param name="mName">The name of the property.</param>
|
---|
58 | /// <param name="mValue">The value.</param>
|
---|
59 | public PropertyEventArgs(object mComponent, string mName, object mValue) {
|
---|
60 | this.mComponent = mComponent;
|
---|
61 | this.mValue = mValue;
|
---|
62 | this.mName = mName;
|
---|
63 | }
|
---|
64 |
|
---|
65 |
|
---|
66 | #endregion
|
---|
67 | }
|
---|
68 |
|
---|
69 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.