NSPopUpButton.IndexOfItem Method

Definition

Overloads

IndexOfItem(NSMenuItem)
IndexOfItem(NSObject)
IndexOfItem(nint)
IndexOfItem(String)
IndexOfItem(NSObject, Selector)

IndexOfItem(NSMenuItem)

[Foundation.Export("indexOfItem:")]
public virtual nint IndexOfItem (AppKit.NSMenuItem item);
abstract member IndexOfItem : AppKit.NSMenuItem -> nint
override this.IndexOfItem : AppKit.NSMenuItem -> nint

Parameters

item
NSMenuItem

Returns

Attributes

IndexOfItem(NSObject)

[Foundation.Export("indexOfItemWithRepresentedObject:")]
public virtual nint IndexOfItem (Foundation.NSObject obj);
abstract member IndexOfItem : Foundation.NSObject -> nint
override this.IndexOfItem : Foundation.NSObject -> nint

Parameters

obj
NSObject

Returns

Attributes

IndexOfItem(nint)

[Foundation.Export("indexOfItemWithTag:")]
public virtual nint IndexOfItem (nint tag);
abstract member IndexOfItem : nint -> nint
override this.IndexOfItem : nint -> nint

Parameters

tag
nint

Returns

Attributes

IndexOfItem(String)

[Foundation.Export("indexOfItemWithTitle:")]
public virtual nint IndexOfItem (string title);
abstract member IndexOfItem : string -> nint
override this.IndexOfItem : string -> nint

Parameters

title
String

Returns

Attributes

IndexOfItem(NSObject, Selector)

[Foundation.Export("indexOfItemWithTarget:andAction:")]
public virtual nint IndexOfItem (Foundation.NSObject target, ObjCRuntime.Selector actionSelector);
abstract member IndexOfItem : Foundation.NSObject * ObjCRuntime.Selector -> nint
override this.IndexOfItem : Foundation.NSObject * ObjCRuntime.Selector -> nint

Parameters

target
NSObject
actionSelector
Selector

Returns

Attributes

Applies to