Jump to: navigation, search

Changes


File Upload Size Restriction

135 bytes removed, Thursday at 09:01
* The actual file size (MB, rounded to 2 decimals)
 
* The configured upload limit (MB)
<br>
 
''If no size-restriction applies or the file does not exceed the configured limit, this property returns null as its default value.''
<br>
 
Example usage:
<source lang="xml">Text="{Binding DocumentViewModel.FileNotUploadedReason}"</source>
 
<br>
[[Category:Client|File Upload Size Restriction]]
[[Category:Mobile|File Upload Size Restriction]]
[[Category:Version 5.1|File Upload Size Restriction]]
[[Category:WinX|File Upload Size Restriction]]
==== 2. MaxUploadSizeMB ====
A double representing the maximum allowed file size in megabytes.<br>
This allows UI elements to display helpful contextual information directly.
<br>
<br>
''If no size restriction is configured for the content, this property returns null as its default value.''
<br>
Example usage:
<source lang="xml">Text="{Binding DocumentViewModel.MaxUploadSizeMB}"</source>
 
<br>
 
How and where these values are displayed is entirely up to the UI customizer.
[[Category:Client|File Upload Size Restriction]]
[[Category:Mobile|File Upload Size Restriction]]
[[Category:Version 5.1|File Upload Size Restriction]]
[[Category:WinX|File Upload Size Restriction]]
= Availability =
133
edits