SetGraphicStretch Method
- Last UpdatedAug 21, 2026
- 1 minute read
Sets the stretch mode for the given Graphic control.
'Declaration
Public MustOverride Sub SetGraphicStretch( _
ByVal frameworkElement As FrameworkElement, _
ByVal stretch As Boolean _
)
public abstract void SetGraphicStretch(
FrameworkElement frameworkElement,
bool stretch
)
public:
abstract void SetGraphicStretch(
FrameworkElement^ frameworkElement,
bool stretch
)
Parameters
- frameworkElement
- graphic control
- stretch
- The Value true to stretch, False to maintain Aspect