FileRow
Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll
A chosen local file: file icon, file name, secondary details (size, what it is for), an error line when the file was rejected, and the “Choose file” button on the right. Used by every dialog that uploads a file (firmware, ACAP packages, …).
public sealed class FileRow : GridInherits Grid
XAML properties
Section titled “XAML properties”Set them in XAML (<ui:FileRow Name="..." />) or bind them.
| Name | Type | Description |
|---|---|---|
ButtonText |
string? |
The text of the button (“Choose file”). |
Command |
ICommand? |
Opens the file picker. |
Details |
string? |
Secondary line, e.g. “87.0 MB · for P3265-V, AXIS OS 12.11.77”. |
Error |
string? |
Why the file cannot be used; shown in the error color. |
FileName |
string? |
The chosen file; empty shows that none is chosen. |