This topic has not yet been rated - Rate this topic

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)
public abstract bool ConsumesProperty(
	PropertyEntry propertyEntry
)

Parameters

propertyEntry
Type: Microsoft.Windows.Design.PropertyEditing.PropertyEntry
The PropertyEntry to check to see if it is edited by this CategoryEditor.

Return Value

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

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

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ