Skip to content

ui::FileType

Header: winui/ui/Pickers.hpp.

One entry of a picker's type box: a name and the extensions it stands for (".txt"; "*" for everything).

Example:

const ui::FileType images{.name = "Images", .extensions = {".png", ".jpg", ".jpeg"}};

Field Type Default
name std::string The type box label, UTF-8.
extensions std::vector<std::string> Each "." plus letters, or ""; becomes ".png;*.jpg".