Edit

Share via


NSSearchField.GetRectForSearchText(Boolean) Method

Definition

[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

Parameters

isCentered
Boolean

Returns

Attributes

Applies to