ListViewDetailColumn
Represents a column in Details view, including its header, width constraints, visibility, and the field or cached item value displayed in its cells.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[TypeConverter(typeof(ListViewColumnTypeConverter))]
public class ListViewDetailColumn : RadObject, IDisposable, ICustomTypeDescriptor, INotifyPropertyChanged
Inheritance: objectDisposableObjectRadObjectListViewDetailColumn
Implements:
Inherited Members
Constructors
Creates a column whose header text matches its name.
public ListViewDetailColumn(string name)
The column name and displayed header text.
Fields
Identifies the AutoSizeMode property and provides its default best-fit mode.
public static RadProperty AutoSizeModeProperty
Properties
Gets or sets the mode by which the column automatically adjusts its width after BestFit is executed.
[Browsable(false)]
public ListViewBestFitColumnMode AutoSizeMode { get; set; }
Gets or sets a value indicating whether this column is current.
[Browsable(true)]
public bool Current { get; set; }
Gets the name of the field of the bound item corresponding to this column.
[Browsable(false)]
public string FieldName { get; }
Gets or sets the text that will be displayed in the header cells.
[Browsable(true)]
public string HeaderText { get; set; }
Gets a value indicating whether the column is in bound mode.
[Browsable(false)]
public bool IsDataBound { get; }
Gets the maximum width that the column can be resized to.
[Browsable(true)]
public float MaxWidth { get; set; }
Gets the minimum width that the column can be resized to.
[Browsable(true)]
public float MinWidth { get; set; }
Gets the name of the column. Must be unique for each column in the same RadListViewElement.
[Browsable(true)]
public string Name { get; }
Gets the RadListViewElement that owns this column.
[Browsable(false)]
public RadListViewElement Owner { get; }
Gets or sets a value indicating whether this column will be visible in DetailsView.
[Browsable(true)]
public bool Visible { get; set; }
Methods
Requests best-fit sizing for this column using its AutoSizeMode.
public void BestFit()
The mode determines whether the header, data cells, both, or neither are measured. No sizing is performed when the column is detached, hidden, or not in Details view.
Selects a bound or unbound value accessor according to the owning list view's data-binding state.
protected virtual void Initialize()