Поделиться через


UIStackView.SetCustomSpacing(nfloat, UIView) Метод

Определение

Задает интервал, используемый после указанного 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

Параметры

spacing
nfloat

Задается интервал.

arrangedSubview
UIView

Упорядоченное вложенное представление, для которого необходимо задать пользовательский интервал.

Атрибуты

Применяется к