共用方式為


NSSegmentedControl.SetMenu(NSMenu, nint) 方法

定義

[Foundation.Export("setMenu:forSegment:")]
public virtual void SetMenu (AppKit.NSMenu menu, nint segment);
abstract member SetMenu : AppKit.NSMenu * nint -> unit
override this.SetMenu : AppKit.NSMenu * nint -> unit

參數

menu
NSMenu
segment
System.System.IntPtr System.nativeint
屬性

適用於