
Standalone image viewer that renders an ImageSource (URL, base64, or raw bytes) and
layers optional chrome on top: a bordered frame, a toolbar with rotate / flip / zoom / fullscreen,
download buttons, and crop interactions. For column-bound editing (drop zone, upload, validation)
use ImageEdit instead.
Default — a plain <img> sized to its parent. No chrome.

Adds a border, padding, and a corner download button. This is the read-only preview shape ImageEdit uses.

Adds rotate (CCW/CW), flip (H/V), zoom in/out, reset, fullscreen, and download buttons. The image responds to wheel-zoom (anchored at the cursor) and, when zoomed past 1×, drag-to-pan.

Enables an aspect-ratio picker and a Crop button. Left-drag on the image draws a dashed selection
rectangle (constrained to the chosen aspect). Pressing Crop rasterizes the selection to PNG via
an offscreen canvas and fires OnCropApplied; the viewer then displays the cropped
result. Reset reverts to the original source.

components.PowerPortalsPro.Demo.Client.Customizations.Components.Documentation.ApiDocumentation.name | components.PowerPortalsPro.Demo.Client.Customizations.Components.Documentation.ApiDocumentation.type | components.PowerPortalsPro.Demo.Client.Customizations.Components.Documentation.ApiDocumentation.default | components.PowerPortalsPro.Demo.Client.Customizations.Components.Documentation.ApiDocumentation.description |
|---|---|---|---|
Alt | string? | ||
Croppable | bool | False | |
Downloadable | bool | False | |
Fallback | RenderFragment? | ||
FileName | string? | ||
Framed | bool | False | |
IsDirty | bool | False | |
OutputFormat | ImageOutputFormat | Auto | |
OutputQuality | double | 0.9 | |
Source | ImageSource? | ||
Toolbar | bool | False |
AltCroppableDownloadableFallbackFileNameFramedIsDirtyOutputFormatOutputQualitySourceToolbarcomponents.PowerPortalsPro.Demo.Client.Customizations.Components.Documentation.ApiDocumentation.name | components.PowerPortalsPro.Demo.Client.Customizations.Components.Documentation.ApiDocumentation.type | components.PowerPortalsPro.Demo.Client.Customizations.Components.Documentation.ApiDocumentation.description |
|---|---|---|
OnCancel | EventCallback | |
OnClick | EventCallback<MouseEventArgs> | |
OnCropApplied | EventCallback<CropResult> | |
OnDirtyChanged | EventCallback<bool> | |
OnSave | EventCallback |
OnCancelOnClickOnCropAppliedOnDirtyChangedOnSavecomponents.PowerPortalsPro.Demo.Client.Customizations.Components.Documentation.ApiDocumentation.name | components.PowerPortalsPro.Demo.Client.Customizations.Components.Documentation.ApiDocumentation.parameters | components.PowerPortalsPro.Demo.Client.Customizations.Components.Documentation.ApiDocumentation.type | components.PowerPortalsPro.Demo.Client.Customizations.Components.Documentation.ApiDocumentation.description |
|---|---|---|---|
CommitAsync | Task<CropResult> | ||
HandleFullscreenChange | bool isFullscreen | Task | |
HandleKeyDown | string key bool shiftKey | Task | |
HandleWheel | double deltaY double cursorRelX double cursorRelY | Task | |
ResetDirtyAsync | Task | ||
RevertCrop | void |
CommitAsyncHandleFullscreenChangeHandleKeyDownHandleWheelResetDirtyAsyncRevertCrop