Constructor that sets the default values.

Namespace: DayPilot.Web.Mvc
Assembly: DayPilot.Web.Mvc (in DayPilot.Web.Mvc.dll) Version: 8.0.5796.0 (8.0.5796.0)

Syntax

C#
[ObsoleteAttribute("Use Resource(name, id) and DynamicChildren property instead.")]
public Resource(
	string name,
	string val,
	bool childrenLoaded
)
Visual Basic
<ObsoleteAttribute("Use Resource(name, id) and DynamicChildren property instead.")> _
Public Sub New ( _
	name As String, _
	val As String, _
	childrenLoaded As Boolean _
)
Visual C++
public:
[ObsoleteAttribute(L"Use Resource(name, id) and DynamicChildren property instead.")]
Resource(
	String^ name, 
	String^ val, 
	bool childrenLoaded
)

Parameters

name
Type: System..::..String
Row name (visible).
val
Type: System..::..String
Row value (id).
childrenLoaded
Type: System..::..Boolean
Set to false to enable dynamic loading.

See Also