Επεξεργασία

Κοινή χρήση μέσω


CalendarButton.IsInactive Property

Definition

Gets a value that indicates whether this button represents a year that is not in the currently displayed decade.

public:
 property bool IsInactive { bool get(); };
public bool IsInactive { get; }
member this.IsInactive : bool
Public ReadOnly Property IsInactive As Boolean

Property Value

true if this button represents a day that is not in the currently displayed month, or a year that is not in the currently displayed decade; otherwise, false.

Remarks

When the DisplayMode of a calendar is Decade, it displays the year before and after the current decade. For example, a calendar that shows the decade for 2000 through 2009 also displays buttons for the years 1999 and 2010. However, the IsInactive property is set to true for the buttons that represent those years.

Applies to