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

Returns the child of a given item at a given index. (required)

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

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate Id RuleEditorChildForCriterionWithRowTypeEventHandler(
	NSRuleEditor editor,
	NSInteger index,
	Id criterion,
	NSRuleEditorRowType rowType
)
Public Delegate Function RuleEditorChildForCriterionWithRowTypeEventHandler ( _
	editor As NSRuleEditor, _
	index As NSInteger, _
	criterion As Id, _
	rowType As NSRuleEditorRowType _
) As Id
public delegate Id^ RuleEditorChildForCriterionWithRowTypeEventHandler(
	NSRuleEditor^ editor, 
	NSInteger index, 
	Id^ criterion, 
	NSRuleEditorRowType rowType
)
Parameters
editor (NSRuleEditor)
The rule editor that sent the message.
index (NSInteger)
The index of the requested child criterion. This value must be in the range from 0 up to (but not including) the number of children, as reported by the delegate in ruleEditor:numberOfChildrenForCriterion:withRowType:.
criterion (Id)
The parent of the requested child, or nil if the rule editor is requesting a root criterion.
rowType (NSRuleEditorRowType)
The type of the row.
Return Value
An object representing the requested child (or root) criterion. This object is used by the delegate to represent that position in the tree, and is passed as a parameter in subsequent calls to the delegate.
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)