New to Telerik UI for WinFormsStart a free 30-day trial

Represents a column shown in RadGanttView.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class GanttViewTextViewColumn : INotifyPropertyChanged

Inheritance: objectGanttViewTextViewColumn

Implements: INotifyPropertyChanged

Constructors

Initializes a new instance of the GanttViewTextViewColumn class.

C#
public GanttViewTextViewColumn()

Initializes a new instance of the GanttViewTextViewColumn class.

C#
public GanttViewTextViewColumn(string name, string headerText, string fieldName)
Parameters:namestring

The name.

headerTextstring

The header text.

fieldNamestring

Name of the field.

Initializes a new instance of the GanttViewTextViewColumn class.

C#
public GanttViewTextViewColumn(string name, string headerText)
Parameters:namestring

The name.

headerTextstring

The header text.

Initializes a new instance of the GanttViewTextViewColumn class.

C#
public GanttViewTextViewColumn(string name)
Parameters:namestring

The name.

Properties

Gets or sets a value indicating whether this GanttViewTextViewColumn is current.

C#
public virtual bool Current { get; set; }
Property Value:

true if current; otherwise, false.

Gets or sets a value indicating the type of the data this column is displaying.

C#
public Type DataType { get; set; }

Gets or sets the name of the field used to populate this column

C#
public string FieldName { get; set; }
Property Value:

The name of the field.

Gets or sets the format string.

C#
public string FormatString { get; set; }
Property Value:

The format string.

Gets or sets the header text of the column.

C#
public string HeaderText { get; set; }
Property Value:

The header text.

Gets a value indicating whether this instance is data bound.

C#
public bool IsDataBound { get; }
Property Value:

true if this instance is data bound; otherwise, false.

Gets or sets the name of the column.

C#
public string Name { get; set; }
Property Value:

The name.

Gets the RadGanttViewElement that is the owner of this column.

C#
public RadGanttViewElement Owner { get; }
Property Value:

The owner.

Gets or sets the tag of the column.

C#
public object Tag { get; set; }
Property Value:

The tag.

Gets or sets a value indicating whether this GanttViewTextViewColumn is visible.

C#
public bool Visible { get; set; }
Property Value:

true if visible; otherwise, false.

Gets or sets the width of the column.

C#
public int Width { get; set; }
Property Value:

The width.

Methods

C#
protected virtual void Initialize()

Fires the PropertyChanged event.

C#
protected virtual void OnNotifyPropertyChanged(string propertyName)
Parameters:propertyNamestring

Name of the property.

Updates the width.

C#
protected virtual void UpdateWidth()

Events

Occurs when a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged