using System;
using System.Drawing;
namespace Core.Common.Controls
{
public class ViewInfo : ICloneable
{
///
/// Type of the data for this viewInfo
///
public Type DataType { get; set; }
///
/// Type of the data of the view
///
public Type ViewDataType { get; set; }
///
/// Type of the view
///
public Type ViewType { get; set; }
///
/// Type of the composite view to which this view belongs
///
public Type CompositeViewType { get; set; }
///
/// Description of the view (shown to the user when there is more then one view for an item)
///
public string Description { get; set; }
///
/// Name the view should have (if no name is specified
/// and the data is INameable then this name will be used)
///
/// The view to get a name for
/// The data of the view
/// out - the view name
///
///
public Func GetViewName { get; set; }
///
/// Icon of the view (shown top left)
///
public Image Image { get; set; }
///
/// Additional data checking for matching the ViewInfo
///
/// Data as provided by the ViewProvider
/// out - Check succeeded
///
///
public Func