2
0

DependencyPropertyDescriptor.cs 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. // Permission is hereby granted, free of charge, to any person obtaining
  2. // a copy of this software and associated documentation files (the
  3. // "Software"), to deal in the Software without restriction, including
  4. // without limitation the rights to use, copy, modify, merge, publish,
  5. // distribute, sublicense, and/or sell copies of the Software, and to
  6. // permit persons to whom the Software is furnished to do so, subject to
  7. // the following conditions:
  8. //
  9. // The above copyright notice and this permission notice shall be
  10. // included in all copies or substantial portions of the Software.
  11. //
  12. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  13. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  14. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  15. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  16. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  17. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  18. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  19. //
  20. // Copyright (c) 2008 Novell, Inc. (http://www.novell.com)
  21. //
  22. // Authors:
  23. // Chris Toshok ([email protected])
  24. //
  25. using System;
  26. using System.Windows;
  27. namespace System.ComponentModel {
  28. public sealed class DependencyPropertyDescriptor : PropertyDescriptor {
  29. internal DependencyPropertyDescriptor () : base (null)
  30. {
  31. }
  32. public override AttributeCollection Attributes
  33. {
  34. get { throw new NotImplementedException (); }
  35. }
  36. public override string Category
  37. {
  38. get { throw new NotImplementedException (); }
  39. }
  40. public override Type ComponentType
  41. {
  42. get { throw new NotImplementedException (); }
  43. }
  44. public override TypeConverter Converter
  45. {
  46. get { throw new NotImplementedException (); }
  47. }
  48. public DependencyProperty DependencyProperty
  49. {
  50. get { throw new NotImplementedException (); }
  51. }
  52. public override string Description
  53. {
  54. get { throw new NotImplementedException (); }
  55. }
  56. public override bool DesignTimeOnly
  57. {
  58. get { throw new NotImplementedException (); }
  59. }
  60. public override string DisplayName
  61. {
  62. get { throw new NotImplementedException (); }
  63. }
  64. public bool IsAttached
  65. {
  66. get { throw new NotImplementedException (); }
  67. }
  68. public override bool IsBrowsable
  69. {
  70. get { throw new NotImplementedException (); }
  71. }
  72. public override bool IsLocalizable
  73. {
  74. get { throw new NotImplementedException (); }
  75. }
  76. public override bool IsReadOnly
  77. {
  78. get { throw new NotImplementedException (); }
  79. }
  80. public PropertyMetadata Metadata
  81. {
  82. get { throw new NotImplementedException (); }
  83. }
  84. public override Type PropertyType
  85. {
  86. get { throw new NotImplementedException (); }
  87. }
  88. public override bool SupportsChangeEvents
  89. {
  90. get { throw new NotImplementedException (); }
  91. }
  92. public override void AddValueChanged (object component, EventHandler handler)
  93. {
  94. throw new NotImplementedException ();
  95. }
  96. public override bool CanResetValue (object component)
  97. {
  98. throw new NotImplementedException ();
  99. }
  100. public override bool Equals (object obj)
  101. {
  102. throw new NotImplementedException ();
  103. }
  104. public override PropertyDescriptorCollection GetChildProperties (object instance, Attribute[] filter)
  105. {
  106. throw new NotImplementedException ();
  107. }
  108. public override object GetEditor (Type editorBaseType)
  109. {
  110. throw new NotImplementedException ();
  111. }
  112. public override int GetHashCode ()
  113. {
  114. throw new NotImplementedException ();
  115. }
  116. public override object GetValue (object component)
  117. {
  118. throw new NotImplementedException ();
  119. }
  120. public override void RemoveValueChanged (object component, EventHandler handler)
  121. {
  122. throw new NotImplementedException ();
  123. }
  124. public override void ResetValue (object component)
  125. {
  126. throw new NotImplementedException ();
  127. }
  128. public override void SetValue (object component, object value)
  129. {
  130. throw new NotImplementedException ();
  131. }
  132. public override bool ShouldSerializeValue (object component)
  133. {
  134. throw new NotImplementedException ();
  135. }
  136. public override string ToString ()
  137. {
  138. throw new NotImplementedException ();
  139. }
  140. public static DependencyPropertyDescriptor FromName (string name, Type ownerType, Type targetType)
  141. {
  142. throw new NotImplementedException ();
  143. }
  144. public static DependencyPropertyDescriptor FromProperty (PropertyDescriptor Property)
  145. {
  146. throw new NotImplementedException ();
  147. }
  148. public static DependencyPropertyDescriptor FromProperty (DependencyProperty dependencyProperty, Type targetType)
  149. {
  150. throw new NotImplementedException ();
  151. }
  152. public CoerceValueCallback DesignerCoerceValueCallback {
  153. get { throw new NotImplementedException (); }
  154. set { throw new NotImplementedException (); }
  155. }
  156. }
  157. }