Share via


UITableView.SeparatorColor 属性

定义

表视图中行之间的分隔符颜色。

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIColor SeparatorColor { [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("separatorColor", ObjCRuntime.ArgumentSemantic.Strong)] get; [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setSeparatorColor:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.SeparatorColor : UIKit.UIColor with get, set

属性值

默认颜色为灰色。

此值可为 null

属性

注解

此成员参与 UIAppearance 样式设置系统。 Appearance请参阅 属性和 AppearanceWhenContainedIn(Type[]) 方法。

适用于