TreeListColumn.Fixed Property
Gets or sets whether the column is anchored to the control’s left or right edge.
Namespace: DevExpress.XtraTreeList.Columns
Assembly: DevExpress.XtraTreeList.v20.2.dll
NuGet Package: DevExpress.Win.TreeList
Declaration
[DefaultValue(FixedStyle.None)]
[XtraSerializableProperty]
public virtual FixedStyle Fixed { get; set; }
Property Value
Type | Default | Description |
---|---|---|
FixedStyle | **None** | A value that specifies whether the column is anchored to the control’s left or right edge. |
Available values:
Name | Description |
---|---|
None | The column is not anchored. |
Left | The column is anchored at the control’s left edge. |
Right | The column is anchored at the control’s right edge. |
Remarks
If the TreeListOptionsView.AutoWidth option is disabled and the total column width exceeds the control’s width, users can scroll the content horizontally. If you need a particular column to always be displayed on screen, set the Fixed
property to Left or to Right.
You can anchor any number of columns to any edge. See the following topic for more information: Columns.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Fixed property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.