Class RadTaskCardElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadTaskCardElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadTaskCardElement()
Declaration
public RadTaskCardElement()
Fields
MinimumHeightProperty
SelectedProperty
Properties
AccentSettings
Gets the accent settings for the task card.
Declaration
public AccentSettingsImpl AccentSettings { get; }
Property Value
|
AccentSettingsImpl
|
DescriptionElement
Gets the description element of the task card.
Declaration
public LightVisualElement DescriptionElement { get; }
Property Value
|
LightVisualElement
|
DescriptionImage
Gets or sets the image of the description.
Declaration
public Image DescriptionImage { get; set; }
Property Value
|
System.Drawing.Image
|
DescriptionImageLayout
Gets or sets the image of the description.
Declaration
public ImageLayout DescriptionImageLayout { get; set; }
Property Value
|
System.Windows.Forms.ImageLayout
|
DescriptionSvgImage
Gets or sets the svg image of the description.
Declaration
public RadSvgImage DescriptionSvgImage { get; set; }
Property Value
|
RadSvgImage
|
DescriptionText
Gets or sets the text of the description.
Declaration
public string DescriptionText { get; set; }
Property Value
|
System.String
|
ElementsCollections
Gets the dictionary with the elements' collections in the task card. Use these collections to add different RadItem to the appropriate panels.
Declaration
public Dictionary<ContentAlignment, RadItemOwnerCollection> ElementsCollections { get; }
Property Value
|
System.Collections.Generic.Dictionary<System.Drawing.ContentAlignment, RadItemOwnerCollection>
|
MinimumHeight
Gets or sets the minimum height of the task card. If you use this property to set the minimum height, the property will unbind from the DefaultTaskCardMinimumHeight property. In order to bind it again, you need to reset the property, using ResetMinimumHeight() method.
Declaration
public int MinimumHeight { get; set; }
Property Value
|
System.Int32
|
Panels
Gets the dictionary with the panels in the task card.
Declaration
public Dictionary<ContentAlignment, StackLayoutElementLite> Panels { get; }
Property Value
|
System.Collections.Generic.Dictionary<System.Drawing.ContentAlignment, StackLayoutElementLite>
|
Selected
Gets or sets the selected state of the card.
Declaration
public bool Selected { get; set; }
Property Value
|
System.Boolean
|
SubTasks
Gets the collection with the SubTask in the task card.
Declaration
public ObservableCollection<SubTask> SubTasks { get; }
Property Value
|
System.Collections.ObjectModel.ObservableCollection<SubTask>
|
SubTasksElement
Gets the subtasks' element that represents the total amount of subtasks in the card.
Declaration
public LightVisualElement SubTasksElement { get; }
Property Value
|
LightVisualElement
|
SubTasksStringFormat
This string format is used to represent the completed subtasks against the totals subtasks in the card. The default value is "{0}/{1}", where {0} is the number of completed tasks and {1} is the number of total tasks.
Declaration
public string SubTasksStringFormat { get; set; }
Property Value
|
System.String
|
SubTasksToolTipStringFormat
This string format is used to represent the tooltip of the completed subtasks against the totals subtasks in the card. The default value is "{0} out of {1} subtasks completed.", where {0} is the number of completed tasks and {1} is the number of total tasks.
Declaration
public string SubTasksToolTipStringFormat { get; set; }
Property Value
|
System.String
|
TagElements
Gets the collection with the left tag elements in the card.
Declaration
[RadEditItemsAction]
public RadItemOwnerCollection TagElements { get; }
Property Value
|
RadItemOwnerCollection
|
Tags
Gets the collection with the TagInfo in the task card. It can contain only unique tags.
Declaration
public ObservableHashSet<TagInfo> Tags { get; }
Property Value
|
ObservableHashSet<TagInfo>
|
TaskBoardElement
Declaration
protected RadTaskBoardElement TaskBoardElement { get; }
Property Value
|
RadTaskBoardElement
|
Text
This property is not relevant for this class.
Declaration
public override string Text { get; set; }
Property Value
|
System.String
|
Overrides
TitleElement
Gets the title element of the task card.
Declaration
public LightVisualElement TitleElement { get; }
Property Value
|
LightVisualElement
|
TitleText
Gets or sets the text of the title.
Declaration
public string TitleText { get; set; }
Property Value
|
System.String
|
UserElements
Gets the collection with the user elements in the card.
Declaration
public RadItemOwnerCollection UserElements { get; }
Property Value
|
RadItemOwnerCollection
|
Users
Gets the collection with the UserInfo in the task card.
Declaration
public ObservableCollection<UserInfo> Users { get; }
Property Value
|
System.Collections.ObjectModel.ObservableCollection<UserInfo>
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
|
System.Drawing.SizeF
finalSize
|
Returns
|
System.Drawing.SizeF
|
Overrides
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateDescriptionElement()
Declaration
protected virtual LightVisualElement CreateDescriptionElement()
Returns
|
LightVisualElement
|
CreateSubtasksElement()
CreateTitleElement()
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
OnDeselect()
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
|
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
|
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnSelect()
OnTagsCollectionChanged(Object, NotifyCollectionChangedEventArgs)
Declaration
protected virtual void OnTagsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
|
System.Object
sender
|
|
System.Collections.Specialized.NotifyCollectionChangedEventArgs
e
|
OnUsersCollectionChanged(Object, NotifyCollectionChangedEventArgs)
Declaration
protected virtual void OnUsersCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
|
System.Object
sender
|
|
System.Collections.Specialized.NotifyCollectionChangedEventArgs
e
|
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
|
IGraphics
graphics
|
|
System.Single
angle
|
|
System.Drawing.SizeF
scale
|
Overrides
ResetMinimumHeight()
Resets the MinimumHeight property to the default value.
Declaration
public void ResetMinimumHeight()
SetSubTasks()
Declaration
protected virtual void SetSubTasks()