Class
GanttViewTextViewColumn

Represents a column shown in RadGanttView.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class GanttViewTextViewColumn : INotifyPropertyChanged

Inheritance: objectGanttViewTextViewColumn

Implements: INotifyPropertyChanged

Constructors

GanttViewTextViewColumn()

Initializes a new instance of the GanttViewTextViewColumn class.

Declaration

cs-api-definition
public GanttViewTextViewColumn()

GanttViewTextViewColumn(string)

Initializes a new instance of the GanttViewTextViewColumn class.

Declaration

cs-api-definition
public GanttViewTextViewColumn(string name)

Parameters

name

string

The name.

GanttViewTextViewColumn(string, string)

Initializes a new instance of the GanttViewTextViewColumn class.

Declaration

cs-api-definition
public GanttViewTextViewColumn(string name, string headerText)

Parameters

name

string

The name.

headerText

string

The header text.

GanttViewTextViewColumn(string, string, string)

Initializes a new instance of the GanttViewTextViewColumn class.

Declaration

cs-api-definition
public GanttViewTextViewColumn(string name, string headerText, string fieldName)

Parameters

name

string

The name.

headerText

string

The header text.

fieldName

string

Name of the field.

Properties

Current

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

Declaration

cs-api-definition
public virtual bool Current { get; set; }

Property Value

bool

true if current; otherwise, false.

DataType

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

Declaration

cs-api-definition
public Type DataType { get; set; }

Property Value

Type

FieldName

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

Declaration

cs-api-definition
public string FieldName { get; set; }

Property Value

string

The name of the field.

FormatString

Gets or sets the format string.

Declaration

cs-api-definition
public string FormatString { get; set; }

Property Value

string

The format string.

HeaderText

Gets or sets the header text of the column.

Declaration

cs-api-definition
public string HeaderText { get; set; }

Property Value

string

The header text.

IsDataBound

Gets a value indicating whether this instance is data bound.

Declaration

cs-api-definition
public bool IsDataBound { get; }

Property Value

bool

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

Name

Gets or sets the name of the column.

Declaration

cs-api-definition
public string Name { get; set; }

Property Value

string

The name.

Owner

Gets the RadGanttViewElement that is the owner of this column.

Declaration

cs-api-definition
public RadGanttViewElement Owner { get; }

Property Value

RadGanttViewElement

The owner.

Tag

Gets or sets the tag of the column.

Declaration

cs-api-definition
public object Tag { get; set; }

Property Value

object

The tag.

Visible

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

Declaration

cs-api-definition
public bool Visible { get; set; }

Property Value

bool

true if visible; otherwise, false.

Width

Gets or sets the width of the column.

Declaration

cs-api-definition
public int Width { get; set; }

Property Value

int

The width.

Methods

Initialize()

Declaration

cs-api-definition
protected virtual void Initialize()

OnNotifyPropertyChanged(string)

Fires the PropertyChanged event.

Declaration

cs-api-definition
protected virtual void OnNotifyPropertyChanged(string propertyName)

Parameters

propertyName

string

Name of the property.

UpdateWidth()

Updates the width.

Declaration

cs-api-definition
protected virtual void UpdateWidth()

Events

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged