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:
public class RadTaskBoardCard : HeaderedContentControl
Inheritance: objectRadTaskBoardCard
Constructors
public RadTaskBoardCard()
Fields
AssigneeProperty
DependencyProperty
Represents the Assignee dependency property.
public static readonly DependencyProperty AssigneeProperty
CategoryBrushProperty
DependencyProperty
Represents the CategoryBrush dependency property.
public static readonly DependencyProperty CategoryBrushProperty
CategoryNameProperty
DependencyProperty
Represents the CategoryName dependency property.
public static readonly DependencyProperty CategoryNameProperty
IconProperty
DependencyProperty
Represents the Icon dependency property.
public static readonly DependencyProperty IconProperty
IconTemplateProperty
DependencyProperty
Represents the IconTemplate dependency property.
public static readonly DependencyProperty IconTemplateProperty
IconTemplateSelectorProperty
DependencyProperty
Represents the IconTemplateSelector dependency property.
public static readonly DependencyProperty IconTemplateSelectorProperty
IdProperty
DependencyProperty
Represents the Id dependency property.
public static readonly DependencyProperty IdProperty
ShowCategoryIndicatorProperty
DependencyProperty
Represents the ShowCategoryIndicator dependency property.
public static readonly DependencyProperty ShowCategoryIndicatorProperty
TagsProperty
DependencyProperty
Represents the Tags dependency property.
public static readonly DependencyProperty TagsProperty
TagTemplateProperty
DependencyProperty
Represents the TagTemplate dependency property.
public static readonly DependencyProperty TagTemplateProperty
Properties
CategoryBrush
Brush
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.
public Brush CategoryBrush { get; }
Gets or sets the category name.
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.
public object Icon { get; set; }
IconTemplate
DataTemplate
Gets or sets the template for the icon.
public DataTemplate IconTemplate { get; set; }
IconTemplateSelector
DataTemplateSelector
Gets or sets the template selector for the icon.
public DataTemplateSelector IconTemplateSelector { get; set; }
Gets or sets a value indicating whether to show the category indicator.
public bool ShowCategoryIndicator { get; set; }
Gets or sets the tags collection.
public IEnumerable<object> Tags { get; set; }
TagTemplate
DataTemplate
Gets or sets the template used for the tags.
public DataTemplate TagTemplate { get; set; }
Methods
public override void OnApplyTemplate()
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.