UITextField.GetSelectionRects(UITextRange) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
的 UITextSelectionRect数组,该数组对 进行 range
框架。
[Foundation.Export("selectionRectsForRange:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UITextSelectionRect[] GetSelectionRects(UIKit.UITextRange range);
abstract member GetSelectionRects : UIKit.UITextRange -> UIKit.UITextSelectionRect[]
override this.GetSelectionRects : UIKit.UITextRange -> UIKit.UITextSelectionRect[]
参数
- range
- UITextRange
UITextRange需要选择矩形的 。
返回
数组 (中 可能为空的) UITextSelectionRectrange
。
实现
- 属性