Control for holding Viewports.
    public class ViewportContainer : Container

A Container node that holds a Viewport, automatically setting its size.

Inheritance Chain

Constructors

    public ViewportContainer()

Properties

    public bool Stretch { get; set; }

If true, the viewport will be scaled to the control’s size.

    public int StretchShrink { get; set; }

Methods

    [Obsolete("GetStretchShrink is deprecated. Use the StretchShrink property instead.")]
    public int GetStretchShrink()

Getter for StretchShrink

    [Obsolete("IsStretchEnabled is deprecated. Use the Stretch property instead.")]
    public bool IsStretchEnabled()

Getter for Stretch

    [Obsolete("SetStretch is deprecated. Use the Stretch property instead.")]
    public void SetStretch(bool enable)

Setter for Stretch

    [Obsolete("SetStretchShrink is deprecated. Use the StretchShrink property instead.")]
    public void SetStretchShrink(int amount)

Setter for StretchShrink

Tags: