Compartilhar via


CustomPropertyValueEditorAttribute Class

Associates the given editor type with the property to which the CustomPropertyValueEditor is applied.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Xaml.Interactivity.CustomPropertyValueEditorAttribute

Namespace:  Microsoft.Xaml.Interactivity
Assembly:  Microsoft.Xaml.Interactivity (in Microsoft.Xaml.Interactivity.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple := False,  _
    Inherited := True)> _
Public NotInheritable Class CustomPropertyValueEditorAttribute _
    Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false, 
    Inherited = true)]
public sealed class CustomPropertyValueEditorAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property, AllowMultiple = false, 
    Inherited = true)]
public ref class CustomPropertyValueEditorAttribute sealed : public Attribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false, 
    Inherited = true)>]
type CustomPropertyValueEditorAttribute =  
    class 
        inherit Attribute 
    end
public final class CustomPropertyValueEditorAttribute extends Attribute

The CustomPropertyValueEditorAttribute type exposes the following members.

Constructors

  Name Description
Public method CustomPropertyValueEditorAttribute Initializes a new instance of the CustomPropertyValueEditorAttribute class.

Top

Properties

  Name Description
Public property CustomPropertyValueEditor Gets the custom property value editor.

Top

Methods

  Name Description
Public method Equals Infrastructure. Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from Attribute.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

Use this attribute to get improved design-time editing for properties that denote element (by name), storyboards, or states (by name).

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Xaml.Interactivity Namespace