A control that shows an image from, for example, a local file or a data source.

Description

If you add one or more Image controls to your app, you can show individual images that aren't part of a data set, or you can incorporate images from records in data sources.

Key properties

Image – The name of the image that appears in an image, audio, or microphone control.

Additional properties

AutoDisableOnSelect – Automatically disables the control while the OnSelect behavior is executing.

BorderColor – The color of a control's border.

BorderStyle – Whether a control's border is Solid, Dashed, Dotted, or None.

BorderThickness – The thickness of a control's border.

FocusedBorderThickness – The thickness of the control's border when it has keyboard focus.

CalculateOriginalDimensions – Enables the OriginalHeight and OriginalWidth properties.

Disabled – Whether the user can interact with the control.

DisabledBorderColor – The color of a control's border if the control's Disabled property is set to true.

DisabledFill – The background color of a control if its Disabled property is set to true.

Fill – The background color of a control.

Height – The distance between a control's top and bottom edges.

HoverBorderColor – The color of a control's border when the user keeps the mouse pointer on that control.

HoverFill – The background color of a control when the user keeps the mouse pointer on it.

ImagePosition – The position (Fill, Fit, Stretch, Tile, or Center) of an image in a screen or a control if it isn't the same size as the image.

OnSelect – How the app responds when the user taps or clicks a control.

OriginalHeight – Original height of an image, enabled with the CalculateOriginalDimensions property.

OriginalWidth – Original width of an image, enabled with the CalculateOriginalDimensions property.

PaddingBottom – The distance between text in a control and the bottom edge of that control.

PaddingLeft – The distance between text in a control and the left edge of that control.

PaddingRight – The distance between text in a control and the right edge of that control.

PaddingTop – The distance between text in a control and the top edge of that control.

PressedBorderColor – The color of a control's border when the user taps or clicks that control.

PressedFill – The background color of a control when the user taps or clicks that control.

RadiusBottomLeft – The degree to which the bottom-left corner of a control is rounded.

RadiusBottomRight – The degree to which the bottom-right corner of a control is rounded.

RadiusTopLeft – The degree to which the top-left corner of a control is rounded.

RadiusTopRight – The degree to which the top-right corner of a control is rounded.

Tooltip – Explanatory text that appears when the user hovers over a control.

Transparency – The degree to which controls behind an image remain visible.

Visible – Whether a control appears or is hidden.

Width – The distance between a control's left and right edges.

X – The distance between the left edge of a control and the left edge of its parent container (screen if no parent container).

Y – The distance between the top edge of a control and the top edge of the parent container (screen if no parent container).

Related functions

Remove( DataSource, ThisItem )

Examples

Show an image from a local file

  1. On the Content tab, click or tap Media, and then click or tap Browse.

  2. Click or tap the image file that you want to add, click or tap Open, and then press Esc to return to the default workspace.

  3. Add an Image control, and set its Items property to the name of the file that you added.

    Don't know how to add and configure a control?

    The Image control shows the image that you specified.

Show a set of images from a data source

  1. Download this Excel file, and save it on your local device.

  2. In PowerApps, create or open an app, and then click or tap a screen in the left navigation bar.

  3. In the right-hand pane, click or tap the Data Sources tab, and then click or tap Add data source.

  4. Click or tap Add static data to your app, click or tap the Excel file that you downloaded, and then click or tap Open.

  5. Select the Flooring Estimates check box, and then click or tap Connect.

  6. Add an Image gallery control, and set its Items property to FlooringEstimates.

    Don't know how to add and configure a control?

    The Image gallery control shows images of carpet, hardwood, and tile products based on links in the Excel file that you downloaded.