Partager via


UIStackView.SetCustomSpacing(nfloat, UIView) Méthode

Définition

Définit l’espacement à utiliser après le spécifié 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

Paramètres

spacing
nfloat

Espacement à définir.

arrangedSubview
UIView

Sous-vue organisée pour laquelle définir l’espacement personnalisé.

Attributs

S’applique à