MonobjcMonobjc Documented Class Library
NSRuleEditor..::..RuleEditorNumberOfChildrenForCriterionWithRowTypeEventHandler Delegate
NamespacesMonobjc.AppKitNSRuleEditorNSRuleEditor..::..RuleEditorNumberOfChildrenForCriterionWithRowTypeEventHandler

Returns the number of child items of a given criterion or row type. (required)

Original signature is '- (NSInteger)ruleEditor:(NSRuleEditor *)editor numberOfChildrenForCriterion:(id)criterion withRowType:(NSRuleEditorRowType)rowType'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate NSInteger RuleEditorNumberOfChildrenForCriterionWithRowTypeEventHandler(
	NSRuleEditor editor,
	Id criterion,
	NSRuleEditorRowType rowType
)
Public Delegate Function RuleEditorNumberOfChildrenForCriterionWithRowTypeEventHandler ( _
	editor As NSRuleEditor, _
	criterion As Id, _
	rowType As NSRuleEditorRowType _
) As NSInteger
public delegate NSInteger RuleEditorNumberOfChildrenForCriterionWithRowTypeEventHandler(
	NSRuleEditor^ editor, 
	Id^ criterion, 
	NSRuleEditorRowType rowType
)
Parameters
editor (NSRuleEditor)
The rule editor that sent the message.
criterion (Id)
The criterion for which the number of children is required.
rowType (NSRuleEditorRowType)
The type of row of criterion.
Return Value
The number of child items of criterion. If criterion is nil, return the number of root criteria for the row type rowType.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)