Click or drag to resize

CustomPropertyCollection Class

The collection of custom properties on a Visual.
Inheritance Hierarchy
SystemObject
  System.DynamicDynamicObject
    NotifyPropertyChangedBase
      SimpleCustomTypeDescriptor
        CustomPropertyCollectionBase
          Demo3D.UtilitiesCustomPropertyCollection

Namespace: Demo3D.Utilities
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public sealed class CustomPropertyCollection : CustomPropertyCollectionBase, 
	IEnumerable, ICloneable, IOwnedByVisual

The CustomPropertyCollection type exposes the following members.

Constructors
 NameDescription
Public methodCustomPropertyCollectionInitializes a new instance of the CustomPropertyCollection class
Top
Properties
 NameDescription
Public propertyCount 
Public propertyVisual The visual owner of the custom property collection.
Top
Methods
 NameDescription
Public methodAdd Define a new custom property, or modify an existing one.

Equivalent to Define(String, Type, Object, String)

Public methodClear Remove all custom properties from the collection.
Public methodDefine Define a new custom property, or modify an existing one.

Equivalent to Add(String, Type, Object, String)

Public methodDefined Is a custom property name defined.
Public methodGet Find an existing custom property by name.
Public methodGetAttributes 
Public methodGetClassName 
Public methodGetComponentName 
Public methodGetConverter 
Public methodGetDefaultEvent 
Public methodGetDefaultProperty 
Public methodGetEditor 
Public methodGetEnumerator The collection of custom properties.
Public methodGetEvents 
Public methodGetEvents(Attribute) 
Public methodGetPropertyOwner
(Overrides SimpleCustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor))
Public methodImport 
Public methodRemove Remove a custom property by name.
Public methodToString A string version of all the custom property names.
(Overrides SimpleCustomTypeDescriptor.ToString)
Top
Events
 NameDescription
Public eventCollectionChanged 
Top
See Also