UIStackView.SetCustomSpacing(nfloat, UIView) Method

Definition

Sets the spacing to use after the specified arrangedSubview.

[Foundation.Export("setCustomSpacing:afterView:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetCustomSpacing (nfloat spacing, UIKit.UIView arrangedSubview);
abstract member SetCustomSpacing : nfloat * UIKit.UIView -> unit
override this.SetCustomSpacing : 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