Version

ResourceParseError Event

Fired when the user leaves the Resources field in the task grid with one or more invalid values.
Syntax
'Declaration
 
Public Event ResourceParseError As ResourceParseErrorHandler
public event ResourceParseErrorHandler ResourceParseError
Event Data

The event handler receives an argument of type ResourceParseErrorEventArgs containing data related to this event. The following ResourceParseErrorEventArgs properties provide information specific to this event.

PropertyDescription
AddNewOwners Returns or sets a boolean value which indicates whether new Owner instances will be added to the Owners collection, thus allowing the resource(s) to be assigned.
InvalidText Returns the string that caused the parse error.
NewOwners Returns a generic List(Of Owner) containing references to the Owner instances that will be added to the UltraCalendarInfo's Owners collection, and then to the task's Resources collection if the AddNewOwners property returns true.
PromptUser Returns or sets a boolean value which indicates whether the user is prompted for the action to be taken.
Task (Inherited from Infragistics.Win.UltraWinSchedule.TaskEventArgs) 
Remarks

By default, when the user enters a value in the Resources field that does not match the name or key of an existing member of the Owners collection, a new member is added to the collection. The ResourceParseError event can be used to customize or prevent this behavior.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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