Skip to content

FileRow

Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll

The file chooser of every dialog that uploads a file (firmware, ACAP packages, certificates, …): one button as wide as the row that shows “Choose file” (FileRow.ButtonText) until a file is chosen, then the file’s name, and opens the picker; below it the secondary details (size, what it is for) and an error line when the file was rejected (decision 2026-10-25: the button alone, no “No file chosen” line). FileRow.IsSingleButton false keeps the older row (icon, name, details, the button on the right) for plugins that ask for it.

public sealed class FileRow : Grid

Inherits Grid

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.
IsSingleButton bool One button as wide as the row: it shows the chosen file’s name (else FileRow.ButtonText) and opens the picker; the details and the error below the button. Default true; false: icon, name, details, the button on the right.