共用方式為


NSWindow.AddTitlebarAccessoryViewController 方法

定義

[Foundation.Export("addTitlebarAccessoryViewController:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddTitlebarAccessoryViewController (AppKit.NSTitlebarAccessoryViewController childViewController);
abstract member AddTitlebarAccessoryViewController : AppKit.NSTitlebarAccessoryViewController -> unit
override this.AddTitlebarAccessoryViewController : AppKit.NSTitlebarAccessoryViewController -> unit

參數

childViewController
NSTitlebarAccessoryViewController
屬性

適用於