Class ItemTaskNotesController
Inheritance
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Controllers
Assembly: LemonEdge.ClientEntities.dll
Syntax
public class ItemTaskNotesController : BaseDefaultSingleViewController<IItemTask>, IModelViewController
Constructors
ItemTaskNotesController(IBaseDefaultSingleView<IItemTask>)
Declaration
public ItemTaskNotesController(IBaseDefaultSingleView<IItemTask> view)
Parameters
Type | Name | Description |
---|---|---|
IBaseDefaultSingleView<IItemTask> | view |
Properties
CheckIsLockedForCanWrite
Indicates the controller should check if the item is locked before allowing CanWrite to be true. Defaults to true.
Declaration
protected override bool CheckIsLockedForCanWrite { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
ContextHelpURL
An optional associated url of a help file for the view this controller works with
Declaration
public override string ContextHelpURL { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ViewDisplayType
Indicates how the controls should be laid out in the client application ui for the view (in compatible UIs)
The default is HorizontalWrapPanel
Declaration
public override CustomViewDisplayType ViewDisplayType { get; }
Property Value
Type | Description |
---|---|
CustomViewDisplayType |
Overrides
Methods
ControlNames()
A list of all the controls to be dynamically created in the SingleView
This is used by the system to create the actual ControlDisplayInfo classes required from the Controls() property
You can override this to provide a simple definition of each control (combined with AlterControlInfo(ControlDisplayInfo) for more detail), or you can just override Controls() and ignore thisDeclaration
protected override IEnumerable<ControlDisplayInfoLight> ControlNames()
Returns
Type | Description |
---|---|
IEnumerable<ControlDisplayInfoLight> | A list of all the controls to be dynamically created in the SingleView |
Overrides
Controls()
A list of all the controls to be dynamically created in the SingleView
Can be overridden by the inheriting class to indicate the controls required. Typically you can override ControlNames() for a lighter approach and AlterControlInfo(ControlDisplayInfo) for any specific detail
Declaration
protected override IEnumerable<ControlDisplayInfo> Controls()
Returns
Type | Description |
---|---|
IEnumerable<ControlDisplayInfo> | A list of all the controls to be dynamically created in the SingleView |