Partager via


CustomProperty<TProperty> Class

The CustomProperty<TProperty> provides custom value storage and is not built from a PropertyDescriptor definition.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Public Class CustomProperty(Of TProperty) _
    Inherits Property
public class CustomProperty<TProperty> : Property
generic<typename TProperty>
public ref class CustomProperty : public Property
JScript does not support generic types or methods.

Type Parameters

  • TProperty
    The type for the underlying property value.

Remarks

The CustomProperty<TProperty> is used to provide additional properties for a ElementViewModel that are not backed by a property on a ConfigurationElement.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.ViewModel
    Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.Property
      Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.CustomProperty<TProperty>
        Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.ProtectionProviderProperty
        Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.RequirePermissionProperty

See Also

CustomProperty<TProperty> Members

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace