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

Adding Users

Updated over 6 months ago

RadTaskBoard allows you to define users at control level via the RadTaskBoard.Users collection. It can be achieved either at design time through the smart tag, or programmatically:

Adding Users at Design time

WinForms RadTaskBoard Adding Users at Design time

Once, there are users in the RadTaskBoard.Users collection at design time, they will be available for adding to the task cards:

WinForms RadTaskBoard Users

Adding Users at Run time

C#
UserInfo user1 = new UserInfo();
user1.FirstName = "Anne";
user1.LastName = "Dodsworth";
user1.Avatar = Properties.Resources.anne;

UserInfo user2 = new UserInfo();
user2.FirstName = "Andrew";
user2.LastName = "Fuller";
user2.Avatar = Properties.Resources.andrew1;

this.radTaskBoard1.Users.Add(user1);
this.radTaskBoard1.Users.Add(user2);

Adding Tags

RadTaskBoard allows you to define tags at control level via the RadTaskBoard.Tags collection. It can be achieved either at design time through the smart tag, or programmatically:

Adding Tags at Design time

WinForms RadTaskBoard Adding Tags at Design time

Once, there are tags in the RadTaskBoard.Tags collection at design time, they will be available for adding to the task cards:

WinForms RadTaskBoard Tags

Adding Tags at Run time

C#
TagInfo tagWF = new TagInfo();
tagWF.ForeColor = Color.Red;
tagWF.BackColor = Color.Black;
tagWF.Text = "win-forms";

TagInfo tagWPF = new TagInfo();
tagWPF.Text = "wpf";
tagWPF.ForeColor = Color.Aqua;
tagWF.BackColor = Color.Blue;

this.radTaskBoard1.Tags.Add(tagWF);
this.radTaskBoard1.Tags.Add(tagWPF);

When you add a TagInfo to a card, the TagInfo is added to the main collection in RadTaskBoard, so it can be reused.

See Also

In this article
Adding UsersAdding TagsSee Also
Not finding the help you need?
Contact Support