GraffitiSuite Docs
Docs
Graffitiprocalendarrestriction
Loading document parsing libraries...
# GraffitiProCalendarRestriction Class ## Event Definitions | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Changed | (None) | (None) | Raised when the restriction properties change. | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Constructor | startDateTime As DateTime <br> endDateTime As DateTime <br> description As String = "" | (None) | Creates a date restriction for a date range. | | RestrictsDate | targetDate As DateTime | Boolean | Returns whether the restriction applies to a date. | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | Description | String | (None) | Optional text describing the restriction. | | EndDateTime | DateTime | (None) | Inclusive end date of the restriction. | | FillColor | Color | (None) | Fill color used to render the restriction. | | IsDisabled | Boolean | (None) | Determines whether the restriction blocks interaction. | | StartDateTime | DateTime | (None) | Inclusive start date of the restriction. |