ClassColumnDefinitionBase
Definition
Namespace:Telerik.Windows.Controls.GanttView
Assembly:Telerik.Windows.Controls.GanttView.dll
Syntax:
public abstract class ColumnDefinitionBase : PlatformIndependentFreezable, INotifyPropertyChanged, IHierarchical
Inheritance: objectPlatformIndependentFreezableColumnDefinitionBase
Derived Classes:
Implements:
Inherited Members
Constructors
ColumnDefinitionBase()
Declaration
protected ColumnDefinitionBase()
Fields
ColumnWidthProperty
Identifies the ColumnWidth dependency property.
Declaration
[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
public static readonly DependencyProperty HeaderProperty
Field Value
DependencyProperty
IsFrozenColumnProperty
Identifies the IsFrozen dependency property.
Declaration
public static readonly DependencyProperty IsFrozenColumnProperty
Field Value
DependencyProperty
WidthProperty
Identifies the Width dependency property.
Declaration
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
[Obsolete("This property will be deleted in one of the upcoming releases. Use the Width property instead.")]
public double ColumnWidth { get; set; }
Property Value
Header
Gets or sets the Header. This is a dependency property.
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.
Width
Gets or sets a value describing the width of the column.
Declaration
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
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
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
protected virtual void OnPropertyChanged(PropertyChangedEventArgs args)
Parameters
args
OnPropertyChanged(string)
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
propertyName
OnPropertyChanged<T>(Expression<Func<T>>)
Declaration
[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
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements