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

Definition

Namespace:Telerik.Windows.Controls.GanttView

Assembly:Telerik.Windows.Controls.GanttView.dll

Syntax:

C#
public abstract class ColumnDefinitionBase : PlatformIndependentFreezable, INotifyPropertyChanged, IHierarchical

Inheritance: objectPlatformIndependentFreezableColumnDefinitionBase

Derived Classes: ColumnDefinition

Implements: IHierarchicalINotifyPropertyChanged

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

Constructors

C#
protected ColumnDefinitionBase()

Fields

ColumnWidthProperty

DependencyProperty

Identifies the ColumnWidth dependency property.

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

HeaderProperty

DependencyProperty

Identifies the Header dependency property.

C#
public static readonly DependencyProperty HeaderProperty

IsFrozenColumnProperty

DependencyProperty

Identifies the IsFrozen dependency property.

C#
public static readonly DependencyProperty IsFrozenColumnProperty

WidthProperty

DependencyProperty

Identifies the Width dependency property.

C#
public static readonly DependencyProperty WidthProperty

Properties

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.

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

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

C#
public object Header { get; set; }

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.

C#
public bool IsFrozenColumn { get; set; }

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

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

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

Methods

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

C#
protected virtual IEnumerable<ColumnDefinitionBase> GetSubItems()
Returns:

IEnumerable<ColumnDefinitionBase>

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

C#
protected virtual void OnPropertyChanged(PropertyChangedEventArgs args)
Parameters:argsPropertyChangedEventArgs
C#
protected void OnPropertyChanged(string propertyName)
Parameters:propertyNamestring
C#
protected void OnPropertyChanged<T>(Expression<Func<T>> propertyExpression)
Parameters:propertyExpressionExpression<Func<T>>

Events

Occurs when a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged