Version

IsActivityEditingAllowed Method (ScheduleDataConnectorBase)

Indicates whether the specified property can be edited on the specified activity.
Syntax
'Declaration
 
Protected Friend Overridable Function IsActivityEditingAllowed( _
   ByVal activity As ActivityBase, _
   ByVal property As EditableActivityProperty _
) As Boolean
protected internal virtual bool IsActivityEditingAllowed( 
   ActivityBase activity,
   EditableActivityProperty property
)

Parameters

activity
Activity instance on which the property might be edited.
property
The property to check whether editing is allowed.

Return Value

True if the property can be edited. False otherwise.
Remarks

This method is used by the data manager to determine if the specified property can be edited for an activity of If the property cannot be edited, the appropriate part of the UI will be disabled to prevent the user from editing that property.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also