Table of Contents

Property ImageStretch

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ImageStretch

Gets or sets a value indicating whether the image should be stretched to fill its container. Default is false.

public virtual bool ImageStretch { get; set; }

Property Value

bool

Remarks

When set to true, the image will scale to fit the dimensions of its container, potentially altering its aspect ratio. When set to false, the image will retain its original size and aspect ratio.