NSSearchField.GetRectForCancelButton(Boolean) 方法

定义

[Foundation.Export("rectForCancelButtonWhenCentered:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGRect GetRectForCancelButton (bool isCentered);
abstract member GetRectForCancelButton : bool -> CoreGraphics.CGRect
override this.GetRectForCancelButton : bool -> CoreGraphics.CGRect

参数

isCentered
Boolean

返回

属性

适用于