alexa
menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class GridPercentColumnSizingBehavior

    Enumerates the possible precent sizing behaviors.

    Inheritance
    System.Object
    GridPercentColumnSizingBehavior
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public sealed class GridPercentColumnSizingBehavior : Enum

    Fields

    None

    Indicates no percent column width sizing calculations will be done.

    Declaration
    public const GridPercentColumnSizingBehavior None
    Field Value
    Type
    GridPercentColumnSizingBehavior

    NoSizingIfAnyTouched

    Indicates the columns will be sized according to the PercentWidth value only as long as the user does not change the column width through the UI. Once any column's width has been user set, no further percent sizing will be done on any column.

    Declaration
    public const GridPercentColumnSizingBehavior NoSizingIfAnyTouched
    Field Value
    Type
    GridPercentColumnSizingBehavior

    SizeAlwaysPercent

    Indicates the columns will always be sized according to the PercentWidth value and the user cannot change the column width through the UI.

    Declaration
    public const GridPercentColumnSizingBehavior SizeAlwaysPercent
    Field Value
    Type
    GridPercentColumnSizingBehavior

    SizeUntouchedColumns

    Indicates the columns will be sized according to the PercentWidth value only as long as the user does not change the column width through the UI. Once a column width has been user set, that column no longer participates in the percent sizing, but the other columns will continue to participate in the percent sizing.

    Declaration
    public const GridPercentColumnSizingBehavior SizeUntouchedColumns
    Field Value
    Type
    GridPercentColumnSizingBehavior
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved