Class
RadTaskBoardCard

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:

cs-api-definition
public class RadTaskBoardCard : HeaderedContentControl

Inheritance: objectRadTaskBoardCard

Constructors

RadTaskBoardCard()

Declaration

cs-api-definition
public RadTaskBoardCard()

Fields

AssigneeProperty

Represents the Assignee dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AssigneeProperty

Field Value

DependencyProperty

CategoryBrushProperty

Represents the CategoryBrush dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CategoryBrushProperty

Field Value

DependencyProperty

CategoryNameProperty

Represents the CategoryName dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CategoryNameProperty

Field Value

DependencyProperty

IconProperty

Represents the Icon dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IconProperty

Field Value

DependencyProperty

IconTemplateProperty

Represents the IconTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IconTemplateProperty

Field Value

DependencyProperty

IconTemplateSelectorProperty

Represents the IconTemplateSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IconTemplateSelectorProperty

Field Value

DependencyProperty

IdProperty

Represents the Id dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IdProperty

Field Value

DependencyProperty

ShowCategoryIndicatorProperty

Represents the ShowCategoryIndicator dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShowCategoryIndicatorProperty

Field Value

DependencyProperty

TagTemplateProperty

Represents the TagTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TagTemplateProperty

Field Value

DependencyProperty

TagsProperty

Represents the Tags dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TagsProperty

Field Value

DependencyProperty

Properties

Assignee

Gets or sets the Assignee name.

Declaration

cs-api-definition
public object Assignee { get; set; }

Property Value

object

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

cs-api-definition
public Brush CategoryBrush { get; }

Property Value

Brush

CategoryName

Gets or sets the category name.

Declaration

cs-api-definition
public string CategoryName { get; set; }

Property Value

string

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.

Declaration

cs-api-definition
public object Icon { get; set; }

Property Value

object

IconTemplate

Gets or sets the template for the icon.

Declaration

cs-api-definition
public DataTemplate IconTemplate { get; set; }

Property Value

DataTemplate

IconTemplateSelector

Gets or sets the template selector for the icon.

Declaration

cs-api-definition
public DataTemplateSelector IconTemplateSelector { get; set; }

Property Value

DataTemplateSelector

Id

Gets or sets the Id of the task.

Declaration

cs-api-definition
public string Id { get; set; }

Property Value

string

ShowCategoryIndicator

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

Declaration

cs-api-definition
public bool ShowCategoryIndicator { get; set; }

Property Value

bool

TagTemplate

Gets or sets the template used for the tags.

Declaration

cs-api-definition
public DataTemplate TagTemplate { get; set; }

Property Value

DataTemplate

Tags

Gets or sets the tags collection.

Declaration

cs-api-definition
public IEnumerable<object> Tags { get; set; }

Property Value

IEnumerable<object>

Methods

OnApplyTemplate()

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.