Class
ColumnDefinitionBase

Definition

Namespace:Telerik.Windows.Controls.GanttView

Assembly:Telerik.Windows.Controls.GanttView.dll

Syntax:

cs-api-definition
public abstract class ColumnDefinitionBase : PlatformIndependentFreezable, INotifyPropertyChanged, IHierarchical

Inheritance: objectPlatformIndependentFreezableColumnDefinitionBase

Derived Classes: ColumnDefinition

Implements: IHierarchicalINotifyPropertyChanged

Inherited Members PlatformIndependentFreezable.CreateInstanceCore()PlatformIndependentFreezable.CreateInstanceOverride()

Constructors

ColumnDefinitionBase()

Declaration

cs-api-definition
protected ColumnDefinitionBase()

Fields

ColumnWidthProperty

Identifies the ColumnWidth dependency property.

Declaration

cs-api-definition
[Obsolete("This property will be deleted in one of the upcoming releases. Use the Width property instead.")]
public static readonly DependencyProperty ColumnWidthProperty

Field Value

DependencyProperty

HeaderProperty

Identifies the Header dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HeaderProperty

Field Value

DependencyProperty

IsFrozenColumnProperty

Identifies the IsFrozen dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsFrozenColumnProperty

Field Value

DependencyProperty

WidthProperty

Identifies the Width dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty WidthProperty

Field Value

DependencyProperty

Properties

ColumnWidth

Gets or sets the Width of the column. If set to NaN the width is calculated depending on the Header. This is a dependency property.

Declaration

cs-api-definition
[Obsolete("This property will be deleted in one of the upcoming releases. Use the Width property instead.")]
public double ColumnWidth { get; set; }

Property Value

double

Header

Gets or sets the Header. This is a dependency property.

Declaration

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

Property Value

object

IsFrozenColumn

Gets or sets a value determining whether the column is frozen or not. Only root-level columns could be frozen or not and all frozen columns are displayed before the non-frozen columns. This is a dependency property.

Declaration

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

Property Value

bool

Width

Gets or sets a value describing the width of the column.

Declaration

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

Property Value

ColumnLength

A ColumnLength value which is either AutoHeader, AutoHeaderAndContent or FixedSize, combined with a double value defining the actual fixed size.

Methods

GetSubItems()

When overridden in the derived class this method returns the sub columns of the column. By default it doesn't return any columns.

Declaration

cs-api-definition
protected virtual IEnumerable<ColumnDefinitionBase> GetSubItems()

Returns

IEnumerable<ColumnDefinitionBase>

The sub columns of the column. By default it doesn't return any columns.

OnPropertyChanged(PropertyChangedEventArgs)

Declaration

cs-api-definition
protected virtual void OnPropertyChanged(PropertyChangedEventArgs args)

Parameters

args

PropertyChangedEventArgs

OnPropertyChanged(string)

Declaration

cs-api-definition
protected void OnPropertyChanged(string propertyName)

Parameters

propertyName

string

OnPropertyChanged<T>(Expression<Func<T>>)

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
protected void OnPropertyChanged<T>(Expression<Func<T>> propertyExpression)

Parameters

propertyExpression

Expression<Func<T>>

Events

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged