ImageView¶
Displays an image on the user interface.
Declaration¶
namespace bdn::ui {
class ImageView : public View
}
Example¶
#include <bdn/ui/ImageView.h>
// ...
auto imageView = std::make_shared<ImageView>();
imageView->url = 'https://via.placeholder.com/350x150';
Properties¶
-
Property<std::string> url
The URL of the image to be displayed. ( see Using resources )
Relationships¶
Inherits from View
.