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
- 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.
Remarks
When a property is consumed by a CategoryEditor, it does not show up as a separate row in that category.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.PropertyEditing Namespace