Share via


CALayer.PreferredFrameSize Method

Definition

The preferred size for this layer, in the coordinate of its SuperLayer.

[Foundation.Export("preferredFrameSize")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGSize PreferredFrameSize();
[<Foundation.Export("preferredFrameSize")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PreferredFrameSize : unit -> CoreGraphics.CGSize
override this.PreferredFrameSize : unit -> CoreGraphics.CGSize

Returns

Attributes

Applies to