Share via


CategoryEditor.ConsumesProperty Method

When overridden in a derived class, called once for each property in the category to determine which properties are edited by this CategoryEditor.

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

Syntax

'Declaration
Public MustOverride Function ConsumesProperty ( _
    propertyEntry As PropertyEntry _
) As Boolean
public abstract bool ConsumesProperty(
    PropertyEntry propertyEntry
)
public:
virtual bool ConsumesProperty(
    PropertyEntry^ propertyEntry
) abstract
abstract ConsumesProperty : 
        propertyEntry:PropertyEntry -> bool 
public abstract function ConsumesProperty(
    propertyEntry : PropertyEntry
) : boolean

Parameters

Return Value

Type: System.Boolean
true if this editor edits that property; otherwise, false.

Remarks

When a property is consumed by a CategoryEditor, it does not show up as a separate row in that category.

.NET Framework Security

See Also

Reference

CategoryEditor Class

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

Property Editing Architecture

WPF Designer Extensibility