Bearbeiten

Freigeben über


UISegmentedControl.ControlStyle Property

Definition

Developers should not use this deprecated property. The 'SegmentedControlStyle' property no longer has any effect.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, "The 'SegmentedControlStyle' property no longer has any effect.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UISegmentedControlStyle ControlStyle { [Foundation.Export("segmentedControlStyle")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, "The 'SegmentedControlStyle' property no longer has any effect.")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setSegmentedControlStyle:")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, "The 'SegmentedControlStyle' property no longer has any effect.")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.ControlStyle : UIKit.UISegmentedControlStyle with get, set

Property Value

Attributes

Remarks

Allows changing the style of a segmented control to a value from the UISegmentedControlStyle enumeration.

Applies to