Class ContactInfoAddressController
Inheritance
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Views.Controllers
Assembly: LemonEdge.ClientEntities.dll
Syntax
public class ContactInfoAddressController : BaseDefaultSingleViewExtenderController<IContactInfo, IObjectEntityBase>, IModelViewController
Constructors
ContactInfoAddressController(IBaseDefaultSingleView<IContactInfo>)
Declaration
public ContactInfoAddressController(IBaseDefaultSingleView<IContactInfo> view)
Parameters
Type | Name | Description |
---|---|---|
IBaseDefaultSingleView<IContactInfo> | view |
Properties
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
ExtendRelationshipSourceDisplayTypeColumn
The property on the IContactInfo type that has a IsTypeExtender relationship linking to the IObjectEntityBase type
Declaration
protected override string ExtendRelationshipSourceDisplayTypeColumn { 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 |