1234567891011121314151617 |
- using System;
- using InABox.Core;
- using Xamarin.Forms;
- namespace comal.timesheets
- {
- public abstract class LookupShell<TParent,TEntity> : Shell<TParent,TEntity>, ILookupShell
- where TParent : IModel, ILookupModel
- where TEntity : Entity
- {
- public abstract Guid ID { get; }
- public abstract string Code { get; }
- public abstract string Description { get; }
- public bool Selected { get; set; }
- public Color Colour => Selected ? Parent.Selected : Parent.Background;
- }
- }
|