Version

FileTypeMustMatchFilter Property

Gets or sets a value which indicates if file types not matching the current Filter are accepted.
Syntax
'Declaration
 
Public Property FileTypeMustMatchFilter As Boolean
public bool FileTypeMustMatchFilter {get; set;}

Property Value

true if only file types matching the current filter are accepted; false if any file types are accepted. The default value is true.
Remarks

The HtmlBoxUpload.Filter property specifies the types of files displayed in the "file browser" of the upload. If this property is true, all uploaded files will be compared to the WebHtmlEditor.Filter property. If the file type does not match, the file is not uploaded and an error message is displayed.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also