Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / Column Class / Fixed Property


In This Topic
    Fixed Property
    In This Topic
    Gets or sets a boolean value indicating if the column is fixed.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Indicates if the column is fixed.")>
    <CategoryAttribute("Appearance")>
    <ApplyToDesignerAttribute(True)>
    Public Property Fixed As Boolean
    'Usage
     
    Dim instance As Column
    Dim value As Boolean
     
    instance.Fixed = value
     
    value = instance.Fixed
    [Description("Indicates if the column is fixed.")]
    [Category("Appearance")]
    [ApplyToDesigner(true)]
    public bool Fixed {get; set;}

    Property Value

    true if the column is fixed; false otherwise.
    Remarks

    Programmatically, when a column is fixed by setting its Fixed property to true, it will be appended to the right of the currently fixed columns. Its VisibleIndex property will not be modified allowing for the column to return to its previous visible index when its Fixed property is set to false.

    If a column is fixed through user interaction (dragging a column to the left of the fixed column splitter), its VisibleIndex will be modified to reflect its new position. If the column is then "un-fixed" programmatically by setting the Fixed property to false it may or may not end up in its previous position (since the VisibleIndex property was modified).

    Requirements

    Target Platforms: 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