ClassRadTaskBoardCard
Represents a card in a task board, allowing the display and manipulation of task-related information such as assignees, tags, icons, and categories. The RadTaskBoardCard class inherits from and provides various dependency properties to define its visual elements, including the task ID, assignee, associated tags, and templates for displaying icons and tags. It also offers functionality for resolving the category brush based on the specified category name and provides options to show or hide category indicators. The card is designed to be used within a RadTaskBoard and supports customization through styles and templates.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class RadTaskBoardCard : HeaderedContentControl
Inheritance: objectRadTaskBoardCard
Constructors
RadTaskBoardCard()
Declaration
public RadTaskBoardCard()
Fields
AssigneeProperty
Represents the Assignee dependency property.
Declaration
public static readonly DependencyProperty AssigneeProperty
Field Value
DependencyProperty
CategoryBrushProperty
Represents the CategoryBrush dependency property.
Declaration
public static readonly DependencyProperty CategoryBrushProperty
Field Value
DependencyProperty
CategoryNameProperty
Represents the CategoryName dependency property.
Declaration
public static readonly DependencyProperty CategoryNameProperty
Field Value
DependencyProperty
IconProperty
Represents the Icon dependency property.
Declaration
public static readonly DependencyProperty IconProperty
Field Value
DependencyProperty
IconTemplateProperty
Represents the IconTemplate dependency property.
Declaration
public static readonly DependencyProperty IconTemplateProperty
Field Value
DependencyProperty
IconTemplateSelectorProperty
Represents the IconTemplateSelector dependency property.
Declaration
public static readonly DependencyProperty IconTemplateSelectorProperty
Field Value
DependencyProperty
IdProperty
Represents the Id dependency property.
Declaration
public static readonly DependencyProperty IdProperty
Field Value
DependencyProperty
ShowCategoryIndicatorProperty
Represents the ShowCategoryIndicator dependency property.
Declaration
public static readonly DependencyProperty ShowCategoryIndicatorProperty
Field Value
DependencyProperty
TagTemplateProperty
Represents the TagTemplate dependency property.
Declaration
public static readonly DependencyProperty TagTemplateProperty
Field Value
DependencyProperty
TagsProperty
Represents the Tags dependency property.
Declaration
public static readonly DependencyProperty TagsProperty
Field Value
DependencyProperty
Properties
Assignee
Gets or sets the Assignee name.
CategoryBrush
Gets or sets the category brush. If not provided, default logic will try to match it to a category brush from the categories of the RadTaskBoard via the CategoryName property.
Declaration
public Brush CategoryBrush { get; }
Property Value
Brush
CategoryName
Gets or sets the category name.
Icon
Gets or sets the icon for the task. It could be url string to image. If null a default selector will provide glyph showing empty person image.
IconTemplate
Gets or sets the template for the icon.
Declaration
public DataTemplate IconTemplate { get; set; }
Property Value
DataTemplate
IconTemplateSelector
Gets or sets the template selector for the icon.
Declaration
public DataTemplateSelector IconTemplateSelector { get; set; }
Property Value
DataTemplateSelector
Id
Gets or sets the Id of the task.
ShowCategoryIndicator
Gets or sets a value indicating whether to show the category indicator.
TagTemplate
Gets or sets the template used for the tags.
Declaration
public DataTemplate TagTemplate { get; set; }
Property Value
DataTemplate
Tags
Gets or sets the tags collection.
Declaration
public IEnumerable<object> Tags { get; set; }
Property Value
Methods
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.