Skip to main content

TcxSchedulerWebServiceStorageResourceItem.CanModify Method

Identifies if the web service storage resource’s content is editable.

Declaration

function CanModify: Boolean; override;

Returns

Type
Boolean

Remarks

This function returns True if all of the following conditions are met:

  • The resource has a valid event data provider (that is, the Provider property is not nil);

  • The event data provider connects the resource to an online calendar (the Provider.Connected property is set to True);

  • The ReadOnly property is set to False.

Otherwise, the CanModify function returns False.

Note

The Scheduler control calls the CanModify function internally to identify whether the resource is editable.

See Also