Tooltips
There are two ways to assign tooltips to the different elements in RadTaskBoard, namely setting the respective property from the below list, or as in most of the RadControls by using the ToolTipTextNeeded event.
Specifying global tooltips for the RadTaskBoard control:
- ToolTipCollapse: Gets or set the tooltip string for the collapse button, when the column is expanded - "Collapse the column"(introduced in R3 2021 SP1)
- ToolTipExpand: Gets or set the tooltip string for the collapse button, when the column is collapsed - "Expand the column" (introduced in R3 2021 SP1)
- AddButtonToolTipText: Gets or sets the tooltip text of the RadTaskBoardColumnElement.AddTaskCardButton element for all columns (introduced in R3 2021 SP1)
- 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 (introduced in R3 2021 SP1)
Specifying tooltips for the elements in RadTaskCardElement:
- RadTaskCardUserElement.ToolTipText: Gets or sets the tooltip string for the user element inside the task card. By default, the tooltip text contains the user names.
- The sub-task elements consider the SubTasksToolTipStringFormat and apply the respective value to the ToolTipText property for the sub-task element.
Setting Tooltips in the ToolTipTextNeeded event
The code snippet below demonstrates how you can use RadTaskBoard.ToolTipTextNeeded event handler to set ToolTipText for the given sender element.
Changing the Tooltips for the Card Tags and Card Users
Custom tooltip for the Tag element
Custom tooltip for the User element