Table of Contents

Class FileField

Namespace
The.WPF.Fields
Assembly
Instagile.WPF.dll
public sealed class FileField : ValueField<FileDocument?>, IField<FileDocument?>, IField, IModel, INotifyPropertyChanged, IDataErrorInfo, IBoundField, IFileDropTarget
Inheritance
FileField
Implements
Inherited Members
Extension Methods

Constructors

FileField(ISurface, string, IValue<FileDocument?>)

public FileField(ISurface surface, string label, IValue<FileDocument?> lens)

Parameters

surface ISurface
label string
lens IValue<FileDocument>

Properties

Access

public DocumentAccessRule Access { get; set; }

Property Value

DocumentAccessRule

ConfigureOpenFileDialog

public Action<OpenFileDialog>? ConfigureOpenFileDialog { get; set; }

Property Value

Action<OpenFileDialog>

DoDeleteFile

public ICommand DoDeleteFile { get; }

Property Value

ICommand

DoUpload

public ICommand DoUpload { get; }

Property Value

ICommand

IsDropInProgress

public bool IsDropInProgress { get; set; }

Property Value

bool

IsUploaded

public bool IsUploaded { get; }

Property Value

bool

Text

Text summary of the field's value (for on screen summaries)

public override string Text { get; }

Property Value

string

Methods

SetViewFromModelAndNotifyInternal()

protected override void SetViewFromModelAndNotifyInternal()