Input for WinForms | ComponentOne
C1.Framework Namespace / Stretch Enumeration

In This Topic
    Stretch Enumeration
    In This Topic
    Describes how content is resized to fill its allocated space.
    Syntax
    'Declaration
     
    
    Public Enum Stretch 
       Inherits System.Enum
    public enum Stretch : System.Enum 
    Members
    MemberDescription
    FillThe content is resized to fill the destination dimensions. The aspect ratio is not preserved.
    NoneThe content preserves its original size.
    UniformThe content is resized to fit in the destination dimensions while it preserves its native aspect ratio.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Framework.Stretch

    See Also