Class RadTaskBoardColumnElement
A column's element.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadTaskBoardColumnElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadTaskBoardColumnElement()
Declaration
public RadTaskBoardColumnElement()
Fields
AddButtonHeightProperty
CollapsedColumnWidthProperty
ColumnWidthProperty
HeaderHeightProperty
ScrollBarThicknessProperty
ScrollBarVisibilityProperty
Properties
AddButtonHeight
Gets or sets the add button height. If you use this property to set the add button height, the property will unbind from the DefaultAddButtonHeight property. In order to bind it again, you need to reset the property, using ResetAddButtonHeight() method.
Declaration
public int AddButtonHeight { get; set; }
Property Value
System.Int32
|
AddTaskCardButton
Gets the button element that adds a task card to the column.
Declaration
public LightVisualButtonElement AddTaskCardButton { get; }
Property Value
LightVisualButtonElement
|
CollapseButton
Gets the button element that collapses the column.
Declaration
public RadCollapseButtonElement CollapseButton { get; }
Property Value
RadCollapseButtonElement
|
CollapsedColumnWidth
Gets or sets the collapsed column width. If you use this property to set the column collapsed width, the property will unbind from the DefaultCollapsedColumnWidth property. In order to bind it again, you need to reset the property, using ResetCollapsedColumnWidth() method.
Declaration
public int CollapsedColumnWidth { get; set; }
Property Value
System.Int32
|
ColumnWidth
Gets or sets the column width. If you use this property to set the column width, the property will unbind from the DefaultColumnWidth property. In order to bind it again, you need to reset the property, using ResetColumnWidth() method.
Declaration
public int ColumnWidth { get; set; }
Property Value
System.Int32
|
HeaderElement
Gets the button element that adds a task card to the column.
Declaration
public RadTaskBoardColumnHeaderElement HeaderElement { get; }
Property Value
RadTaskBoardColumnHeaderElement
|
HeaderHeight
Gets or sets the header height. If you use this property to set the header height, the property will unbind from the DefaultHeaderHeight property. In order to bind it again, you need to reset the property, using ResetHeaderHeight() method.
Declaration
public int HeaderHeight { get; set; }
Property Value
System.Int32
|
IsCollapsed
Gets or set the collapsed state of the column.
Declaration
public bool IsCollapsed { get; set; }
Property Value
System.Boolean
|
IsHeaderHighlighted
Gets or sets if the header is highlighted.
Declaration
public bool IsHeaderHighlighted { get; set; }
Property Value
System.Boolean
|
ScrollBar
Gets the scrollbar of the column.
Declaration
public RadScrollBarElement ScrollBar { get; }
Property Value
RadScrollBarElement
|
ScrollBarThickness
Gets or sets the scrollbar thickness. If you use this property to set the scrollbar thickness, the property will unbind from the DefaultColumnScrollBarThickness property. In order to bind it again, you need to reset the property, using ResetScrollBarThickness() method.
Declaration
public int ScrollBarThickness { get; set; }
Property Value
System.Int32
|
Subtitle
The subtitle of the column.
Declaration
public string Subtitle { get; set; }
Property Value
System.String
|
TaskCardCollection
Gets a collection of RadTaskCardElement objects that represents the task cards in the column.
Declaration
[RadEditItemsAction]
public RadItemOwnerCollection TaskCardCollection { get; }
Property Value
RadItemOwnerCollection
|
TaskCardComparer
Gets or sets the task cards comparer used when the Sort method is called.
Declaration
public TaskCardComparer TaskCardComparer { get; set; }
Property Value
TaskCardComparer
|
TaskCardsLayout
Gets the layout panel that arranges the task cards.
Declaration
public StackLayoutPanel TaskCardsLayout { get; }
Property Value
StackLayoutPanel
|
Text
This property is not relevant for this class.
Declaration
public override string Text { get; set; }
Property Value
System.String
|
Overrides
Title
The title of the column.
Declaration
public string Title { get; set; }
Property Value
System.String
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CreateAddTaskCardButtonElement()
Declaration
protected virtual LightVisualButtonElement CreateAddTaskCardButtonElement()
Returns
LightVisualButtonElement
|
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateHeaderElement()
Declaration
protected virtual RadTaskBoardColumnHeaderElement CreateHeaderElement()
Returns
RadTaskBoardColumnHeaderElement
|
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnBubbleEvent(RadElement, RoutedEventArgs)
Declaration
protected override void OnBubbleEvent(RadElement sender, RoutedEventArgs args)
Parameters
RadElement
sender
|
RoutedEventArgs
args
|
Overrides
OnMouseEnter(EventArgs)
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnMouseWheel(MouseEventArgs)
Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnTaskCardCollectionChanged(RadItemCollection, RadItem, ItemsChangeOperation)
Declaration
protected virtual void OnTaskCardCollectionChanged(RadItemCollection changed, RadItem target, ItemsChangeOperation operation)
Parameters
RadItemCollection
changed
|
RadItem
target
|
ItemsChangeOperation
operation
|
PerformAddTaskCard()
Declaration
protected virtual void PerformAddTaskCard()
ResetAddButtonHeight()
Resets the AddButtonHeight property to the default value.
Declaration
public void ResetAddButtonHeight()
ResetCollapsedColumnWidth()
Resets the CollapsedColumnWidth property to the default value.
Declaration
public void ResetCollapsedColumnWidth()
ResetColumnWidth()
ResetHeaderHeight()
ResetIsHeaderHighlighted()
Resets the IsHeaderHighlighted property to the default value.
Declaration
public void ResetIsHeaderHighlighted()
ResetScrollBarThickness()
Resets the ScrollBarThickness property to the default value.
Declaration
public void ResetScrollBarThickness()
ScrollView(Int32)
Scrolls the view with a specified offset.
Declaration
public void ScrollView(int offset)
Parameters
System.Int32
offset
The offset. |
ScrollView(Int32, Boolean)
Scrolls the view with a specified offset.
Declaration
public void ScrollView(int offset, bool buffered)
Parameters
System.Int32
offset
The offset. |
System.Boolean
buffered
If the method is called too often, set this to [true] to improve performance. |
Sort()
Sorts the task cards added in the TaskCardCollection. Note that the sorting in the TaskBoard is a one-time operation, and once performed, changes in the state of the RadTaskCardElement objects are not monitored, as this would lead to inconsistent behavior and break other control functionality such as drag and drop.
Declaration
public void Sort()
Remarks
The sort operation will use the default TaskCardComparer, which sorts the RadTaskCardElements by the TitleText property. If you need custom sorting to be applied for the soecified column you need to create a custom comparer and assign it to the TaskCardComparer property.
UpdateScrollBar(SizeF)
Declaration
protected virtual void UpdateScrollBar(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Events
IsCollapsedChanged
The event is fired, when the column has collapsed/expanded.
Declaration
public event EventHandler IsCollapsedChanged
Event Type
System.EventHandler
|
IsCollapsedChanging
The event is fired, when collapsing/expanding the column.
Declaration
public event CancelEventHandler IsCollapsedChanging
Event Type
System.ComponentModel.CancelEventHandler
|
TaskCardAdded
The Event is fired, when a task card has been added with the button.
Declaration
public event RadTaskBoardColumnElement.TaskCardAddedDelegate TaskCardAdded
Event Type
RadTaskBoardColumnElement.TaskCardAddedDelegate
|
TaskCardAdding
The Event is fired, when adding a task card with the button.
Declaration
public event RadTaskBoardColumnElement.TaskCardAddingDelegate TaskCardAdding
Event Type
RadTaskBoardColumnElement.TaskCardAddingDelegate
|