title | description | author | ms.author | ms.topic | ms.date | ms.reviewer | audience | ms.search.region |
---|---|---|---|---|---|---|---|---|
Image type |
Learn about the Image type, an image control interface for representing images in the mobile app that includes various properties and methods. |
jasongre |
jasongre |
article |
05/24/2022 |
josaw |
Developer |
Global |
[!include banner] [!include mobile app deprecated]
Image control interface for representing images in the mobile app. Images can be of any of the following types: DataUri, Base64, URL, AOTResource, or Symbol.
Control
└─ Image
container: boolean (optional)
True if the control is a container.
generic: boolean (optional)
getDataSource: function(): any
Inherited from Control.getDataSource
hidden
hidden: boolean
True if the control is hidden.
imageSource: string
Defines the imageSource.
imageView: string
Dictates the style of the image.
placeholderClass: string
symbol: string
Defines the symbol if the image is of type symbol.
applyDesign(design: ImageDesign): void
Applies given design to the design on the control. If a design already exists, the prototype chain of the design will be preserved.
Overrides Control.applyDesign
Name | Type | Description |
---|---|---|
design | ImageDesign | object containing design properties as keys |
dataContext(): any
Inherited from Control.dataContext
getDesign(): Design
Returns the design object of this control.
Returns Design
isEditable(): boolean
Boolean indicating if the control is editable. Returns false when either the control or its parent is not editable. Returns true when both the control and its parent are editable. Returns true when either the control or its parent is editable and the other is undefined. Returns undefined if both the control's edit-ability and its parent's edit-ability is undefined.
Inherited from Control.isEditable
metadata(): ImageMetadata
Returns the metadata object of this control.
Returns ImageMetadata
Returns the parent (control or page) of this control.
root(): Page
Returns the root form instance (page) of this control.
Returns Page
[!INCLUDEfooter-include]