Share via


CALayer.BorderColor Property

Definition

The color of the border of the layer.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGColor? BorderColor { [Foundation.Export("borderColor")] get; [Foundation.Export("setBorderColor:")] set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("borderColor")>]
[<set: Foundation.Export("setBorderColor:")>]
member this.BorderColor : CoreGraphics.CGColor with get, set

Property Value

The default value is black.

Attributes

Applies to