Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Views Namespace / ColumnStretchMode Enumeration


In This Topic
    ColumnStretchMode Enumeration
    In This Topic
    Value indicating how the widths of the columns in a grid are stretched.
    Syntax
    'Declaration
     
    Public Enum ColumnStretchMode 
       Inherits System.Enum
    'Usage
     
    Dim instance As ColumnStretchMode
    public enum ColumnStretchMode : System.Enum 
    Members
    MemberDescription
    AllThe widths of all the columns are stretched so that they evenly occupy the available space. This value is used in combination with "star" ("*") sizing (see Column.Width property).
    FirstOnly the width of the first column is stretched.
    LastOnly the width of the last column is stretched.
    NoneThe widths of the columns are not stretched.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Xceed.Wpf.DataGrid.Views.ColumnStretchMode

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also