Share via


UIStackView.SetCustomSpacing(NFloat, UIView) Method

Definition

Sets the spacing to use after the specified arrangedSubview.

[Foundation.Export("setCustomSpacing:afterView:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetCustomSpacing(System.Runtime.InteropServices.NFloat spacing, UIKit.UIView arrangedSubview);
[<Foundation.Export("setCustomSpacing:afterView:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetCustomSpacing : System.Runtime.InteropServices.NFloat * UIKit.UIView -> unit
override this.SetCustomSpacing : System.Runtime.InteropServices.NFloat * UIKit.UIView -> unit

Parameters

spacing
NFloat

The spacing to set.

arrangedSubview
UIView

The arranged subview for which to set the custom spacing.

Attributes

Applies to