Share via


CategoryEntry Class

Represents a category of properties.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.PropertyEditing.CategoryEntry

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

Syntax

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

The CategoryEntry type exposes the following members.

Constructors

  Name Description
Protected method CategoryEntry Initializes a new instance of the CategoryEntry class.

Top

Properties

  Name Description
Public property CategoryName Gets the name of the category.
Public property Item When overridden in a derived class, gets the specified property.
Public property MatchesFilter Gets or sets a value indicating whether this CategoryEntry matches a filter.
Public property Properties When overridden in a derived class, gets all the properties in the category.

Top

Methods

  Name Description
Public method ApplyFilter Determines if the CategoryEntry matches a filter and stores the information.
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 When overridden in a derived class, indicates whether a CategoryEntry matches a predicate.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnFilterApplied Raises the FilterApplied event.
Protected method OnPropertyChanged 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 Represents the method that handles the FilterApplied event of the CategoryEntry.
Public event PropertyChanged Represents the method that handles the PropertyChanged event of the CategoryEntry.

Top

Remarks

The CategoryEntry class is part of the property editing object model.

The DataContext of the DataTemplate for the CategoryEditor is set to a CategoryEntry.

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