Поделиться через


PropertyEntry Class

Represents a property.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.PropertyEditing.PropertyEntry

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustInherit Class PropertyEntry _
    Implements INotifyPropertyChanged, IPropertyFilterTarget
public abstract class PropertyEntry : INotifyPropertyChanged, 
    IPropertyFilterTarget
public ref class PropertyEntry abstract : INotifyPropertyChanged, 
    IPropertyFilterTarget
[<AbstractClass>]
type PropertyEntry =  
    class
        interface INotifyPropertyChanged
        interface IPropertyFilterTarget
    end
public abstract class PropertyEntry implements INotifyPropertyChanged, IPropertyFilterTarget

The PropertyEntry type exposes the following members.

Constructors

  Name Description
Protected method PropertyEntry() Initializes a new instance of the PropertyEntry class.
Protected method PropertyEntry(PropertyValue) Initializes a new instance of the PropertyEntry class that acts as a sub-property of the specified PropertyValue.

Top

Properties

  Name Description
Public property CategoryName When overridden in a derived class, gets the name of the category that this property resides in.
Public property Context When overridden in a derived class, gets the current EditingContext instance.
Public property Description When overridden in a derived class, gets the description of the encapsulated property.
Public property DisplayName Gets the display name for the property.
Protected property HasStandardValues Gets a value that indicates whether this property has any standard values.
Public property Identifier When overridden in a derived class, gets an identifier that uniquely identifies this property type and name on the current platform.
Public property IsAdvanced When overridden in a derived class, gets a value that indicates whether the encapsulated property is an advanced property.
Public property IsReadOnly When overridden in a derived class, gets a value that indicates whether the encapsulated property is read-only.
Public property MatchesFilter Gets or sets a value that indicates whether this PropertyEntry matches a filter.
Public property ModelProperties When overridden in a derived class, gets the collection of model properties for this PropertyEntry.
Public property ParentValue Gets the parent PropertyValue.
Public property PropertyName When overridden in a derived class, gets the name of the encapsulated property.
Public property PropertyType When overridden in a derived class, gets the type of the encapsulated property.
Public property PropertyValue Gets the PropertyValue (data model) for this PropertyEntry.
Public property PropertyValueEditor When overridden in a derived class, gets the PropertyValueEditor that is used to edit this PropertyEntry.
Public property StandardValues When overridden in a derived class, gets the standard values that the encapsulated property supports.

Top

Methods

  Name Description
Public method ApplyFilter Determines if the PropertyEntry matches a filter and stores the information.
Protected method CreatePropertyValueInstance When overridden in a derived class, used by the host infrastructure to create a new host-specific PropertyValue instance.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method MatchesPredicate Indicates whether a PropertyEntry matches a predicate.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnFilterApplied Raises the IPropertyFilterTarget.FilterApplied event.
Protected method OnPropertyChanged(PropertyChangedEventArgs) Raises the PropertyChanged event.
Protected method OnPropertyChanged(String) Raises the PropertyChanged event.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event FilterApplied Occurs when a PropertyFilter is changed through a call to the ApplyFilter method.
Public event PropertyChanged Occurs when a property value changes.

Top

Remarks

The PropertyEntry class provides additional property data that is mostly type-specific.

The PropertyEntry class is for host infrastructure derived classes.

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.Windows.Design.PropertyEditing Namespace

Other Resources

WPF Designer Extensibility

Property Editing Architecture