Image
Description
Use Image to present pictures with a theme-aware stroke; CornerRadius drives the rounded clip from square to circular.
Example usage
- XAML
- C#
<fluence:Image Source="photo.png" CornerRadius="8" />
var image = new Fluence.Wpf.Controls.Image { CornerRadius = new System.Windows.CornerRadius(8) };
Replace photo.png with an image resource in your application.
Key properties
| Property | Default | Purpose |
|---|---|---|
Source | null | Image source. |
Stretch | Uniform | Controls how the image fits its bounds. |
CornerRadius | 4 | Rounds the image surface. |
State and behavior
CornerRadius changes the image clip from square to rounded; its stroke follows the theme.