Struct DownloadMarkView
- Namespace
- Archiver.App.Core
- Assembly
- Archiver.App.Core.dll
What the download-mark checkbox shows (T-F360).
public readonly record struct DownloadMarkView : IEquatable<DownloadMarkView>
- Implements
- Inherited Members
Constructors
DownloadMarkView(bool, bool, bool, DownloadMarkNote)
What the download-mark checkbox shows (T-F360).
public DownloadMarkView(bool Visible, bool CanChange, bool Checked, DownloadMarkNote Note)
Parameters
VisibleboolShown at all.
CanChangeboolThe user may click it.
CheckedboolIts tick.
NoteDownloadMarkNoteThe text under it.
Properties
ApplyMark
What ApplyDownloadMark gets: a hidden checkbox is checked, so it keeps the mark. Core applies the policy itself, so a locked one needs nothing more.
public bool ApplyMark { get; }
Property Value
CanChange
The user may click it.
public bool CanChange { get; init; }
Property Value
Checked
Its tick.
public bool Checked { get; init; }
Property Value
Note
The text under it.
public DownloadMarkNote Note { get; init; }
Property Value
Visible
Shown at all.
public bool Visible { get; init; }