Xamarin.iOS Documentation | ComponentOne
C1.iOS.Calendar Assembly / C1.iOS.Calendar Namespace / C1Calendar Class / BackgroundColor Property


In This Topic
    BackgroundColor Property (C1Calendar)
    In This Topic
    Sets the background color of the UIKit.UIView.
    Syntax
    'Declaration
     
    
    Public Overrides Property BackgroundColor As UIKit.UIColor
    'Usage
     
    
    Dim instance As C1Calendar
    Dim value As UIKit.UIColor
     
    instance.BackgroundColor = value
     
    value = instance.BackgroundColor
    public override UIKit.UIColor BackgroundColor {get; set;}

    Property Value

    The default value is a null reference (Nothing in Visual Basic).

    This value can be a null reference (Nothing in Visual Basic).

    Remarks

    The UIKit.UIView.BackgroundColor is the rear-most visible element of a UIKit.UIView, but developers should be aware that certain UIKit.UIView subclasses such as UIKit.UITableViewCell and UIKit.UICollectionViewCell have a UIKit.UITableViewCell.BackgroundView that may obscure their UIKit.UIView.BackgroundColor.

    This member participates in the UIKit.UIAppearance styling system. See the UIKit.UIView.Appearance property and the UIKit.UIView.AppearanceWhenContainedIn method.

    See Also