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

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:

C#
public class RadTaskBoardCard : HeaderedContentControl

Inheritance: objectRadTaskBoardCard

Constructors

C#
public RadTaskBoardCard()

Fields

AssigneeProperty

DependencyProperty

Represents the Assignee dependency property.

C#
public static readonly DependencyProperty AssigneeProperty

CategoryBrushProperty

DependencyProperty

Represents the CategoryBrush dependency property.

C#
public static readonly DependencyProperty CategoryBrushProperty

CategoryNameProperty

DependencyProperty

Represents the CategoryName dependency property.

C#
public static readonly DependencyProperty CategoryNameProperty

IconProperty

DependencyProperty

Represents the Icon dependency property.

C#
public static readonly DependencyProperty IconProperty

IconTemplateProperty

DependencyProperty

Represents the IconTemplate dependency property.

C#
public static readonly DependencyProperty IconTemplateProperty

Represents the IconTemplateSelector dependency property.

C#
public static readonly DependencyProperty IconTemplateSelectorProperty

IdProperty

DependencyProperty

Represents the Id dependency property.

C#
public static readonly DependencyProperty IdProperty

Represents the ShowCategoryIndicator dependency property.

C#
public static readonly DependencyProperty ShowCategoryIndicatorProperty

TagsProperty

DependencyProperty

Represents the Tags dependency property.

C#
public static readonly DependencyProperty TagsProperty

TagTemplateProperty

DependencyProperty

Represents the TagTemplate dependency property.

C#
public static readonly DependencyProperty TagTemplateProperty

Properties

Gets or sets the Assignee name.

C#
public object Assignee { get; set; }

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.

C#
public Brush CategoryBrush { get; }

Gets or sets the category name.

C#
public string CategoryName { get; set; }

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.

C#
public object Icon { get; set; }

IconTemplate

DataTemplate

Gets or sets the template for the icon.

C#
public DataTemplate IconTemplate { get; set; }

IconTemplateSelector

DataTemplateSelector

Gets or sets the template selector for the icon.

C#
public DataTemplateSelector IconTemplateSelector { get; set; }

Gets or sets the Id of the task.

C#
public string Id { get; set; }

Gets or sets a value indicating whether to show the category indicator.

C#
public bool ShowCategoryIndicator { get; set; }

Gets or sets the tags collection.

C#
public IEnumerable<object> Tags { get; set; }

TagTemplate

DataTemplate

Gets or sets the template used for the tags.

C#
public DataTemplate TagTemplate { get; set; }

Methods

C#
public override void OnApplyTemplate()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.