편집

다음을 통해 공유


NSMeasurementFormatter.UnitStyle Property

Definition

Gets or sets a value that controls whether the unit will be styled short, medium, or long. The default is medium.

public virtual Foundation.NSFormattingUnitStyle UnitStyle { [Foundation.Export("unitStyle", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] get; [Foundation.Export("setUnitStyle:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] set; }
member this.UnitStyle : Foundation.NSFormattingUnitStyle with get, set

Property Value

Attributes

Applies to