NSSearchField.GetRectForSearchText(Boolean) 方法

定义

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

参数

isCentered
Boolean

返回

属性

适用于