Displays the model as an image. The string specified as image value must have been created/saved using the Image (Edit) component or can be an absolute URL.
Model Type: string
This component supports all image types implemented using the Image Http Handler. This is an extensible class that supports file and data based images.
The model can also specify an absolute URL in which case that URL is used to render the image (without Image Http Handler).
Name | Type | Default | Description |
---|---|---|---|
ImageType | string | null | The image type implementing this image. Specify null if the model defines an absolute URL. |
Width | int | 0 | The width of the preview image. The aspect ratio of the original image is preserved. Specify 0 if the model defines an absolute URL. |
Height | int | 0 | The height of the preview image. The aspect ratio of the original image is preserved. Specify 0 if the model defines an absolute URL. |
ShowMissing | bool | true | Defines whether an image that is not defined displays a "No Image" placeholder (ShowMissing=true, default) or whether no image is displayed (ShowMissing=false). Ignored if the model defines an absolute URL. |
LinkToImage | bool | false | Defines whether clicking on the image preview will display the image on a new page in its original size (LinkToImage=true). Otherwise, clinking on the image has no effect (LinkToImage=false, default). Ignored if the model defines an absolute URL. |
[UIHint("Image"), ReadOnly, AdditionalMetadata("ImageType", VendorImageSupport.ImageType), AdditionalMetadata("Width", Vendor.LogoWidth), AdditionalMetadata("Height", Vendor.LogoHeight)] public string VendorLogo { get; set; }
Allows selection and uploading of an image.
Model Type: string
This component supports all image types implemented using the Image Http Handler. This is an extensible class that supports file and data based images.
Name | Type | Default | Description |
---|---|---|---|
ImageType | string | null | The image type implementing this image. Specify null if the model defines an absolute URL. |
Width | int | 0 | The width of the preview image. The aspect ratio of the original image is preserved. Specify 0 if the model defines an absolute URL. |
Height | int | 0 | The height of the preview image. The aspect ratio of the original image is preserved. Specify 0 if the model defines an absolute URL. |
ShowMissing | bool | true | Defines whether an image that is not defined displays a "No Image" placeholder (ShowMissing=true, default) or whether no image is displayed (ShowMissing=false). Ignored if the model defines an absolute URL. |
LinkToImage | bool | false | Defines whether clicking on the image preview will display the image on a new page in its original size (LinkToImage=true). Otherwise, clinking on the image has no effect (LinkToImage=false, default). Ignored if the model defines an absolute URL. |
[UIHint("Image"), AdditionalMetadata("ImageType", VendorImageSupport.ImageType), AdditionalMetadata("Width", Vendor.LogoWidth), AdditionalMetadata("Height", Vendor.LogoHeight)] public string VendorLogo { get; set; }
Last Updated 04/24/2022 - (email)
© 2023 - Softel vdm, Inc. - YetaWF.com