Dela via


CalendarViewDayItem.IsBlackout Property

Definition

Gets or sets a value that indicates whether the date is unavailable.

public:
 property bool IsBlackout { bool get(); void set(bool value); };
bool IsBlackout();

void IsBlackout(bool value);
public bool IsBlackout { get; set; }
var boolean = calendarViewDayItem.isBlackout;
calendarViewDayItem.isBlackout = boolean;
Public Property IsBlackout As Boolean
<CalendarViewDayItem IsBlackout="bool" .../>
    

Property Value

Boolean

bool

true if the date unavailable; otherwise, false. The default is false.

Remarks

To mark a date as not selectable, set this property to true. For more information, see Updating calendar day items.

Applies to

See also