共用方式為


NSSegmentedControl.SetAlignment(NSTextAlignment, nint) 方法

定義

[Foundation.Export("setAlignment:forSegment:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetAlignment (AppKit.NSTextAlignment alignment, nint segment);
abstract member SetAlignment : AppKit.NSTextAlignment * nint -> unit
override this.SetAlignment : AppKit.NSTextAlignment * nint -> unit

參數

alignment
NSTextAlignment
segment
System.System.IntPtr System.nativeint
屬性

適用於