Table of Contents

Class FileCell

Namespace
TimeCockpit.Data.DataModel.View
Assembly
TimeCockpit.Data.dll

Represents a file field in a List or a Form.

public class FileCell : BinaryCell, IDynamicMetaObjectProvider, INotifyPropertyChanged, IWeakEventListener
Inheritance
Object
FileCell
Implements
IDynamicMetaObjectProvider
INotifyPropertyChanged
IWeakEventListener
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

FileCell()

public FileCell()

Properties

AllowedExtensions

Gets or sets the list of allowed extensions

public IEnumerable<string> AllowedExtensions { get; set; }

Property Value

IEnumerable<String>

AllowedMimeTypes

Gets or sets the allowed mime types of the property.

public IEnumerable<string> AllowedMimeTypes { get; set; }

Property Value

IEnumerable<String>

FileMimeType

Gets or sets the mime type of the file.

public string FileMimeType { get; set; }

Property Value

String

FileName

Gets or sets the file name.

public string FileName { get; set; }

Property Value

String

FileSize

Gets or sets the size of the file.

public string FileSize { get; set; }

Property Value

String

MaxFileSizeInKB

Gets or sets the maximum file size of the uploaded file

public long MaxFileSizeInKB { get; set; }

Property Value

Int64

ShowFileName

Gets or sets the expression / value whether to show the file name on the cell or not.

public string ShowFileName { get; set; }

Property Value

String

ShowFileSize

Gets or sets the expression / value wheter to show the file size on the cell or not.

public string ShowFileSize { get; set; }

Property Value

String

ShowIcon

Gets or sets the expression / value whether to show the icon on the cell or not (currently WPF only).

public string ShowIcon { get; set; }

Property Value

String