Sorry, I forgot to also mention that the TextImageRelation property is also missing...
1 Answer, 1 is accepted
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 20 Oct 2021, 12:37 PM
Hello, Martin,
RadTaskCardElement offers the DescriptionElement which gives you access to the TextImageRelation. Thus, you can control the text and image order for the description:
Dim card As RadTaskCardElement = New RadTaskCardElement()
card.TitleText = "ListView improvements"
card.DescriptionText = "Research phase"
card.DescriptionImage = My.Resources.nancy22
card.DescriptionImageLayout = ImageLayout.None
card.DescriptionElement.TextImageRelation = TextImageRelation.ImageBeforeText
Note that every RadTaskCardElement contains 9 containers: 3 x 3. This allows adding different elements top-left, top-center, top-right, middle-left, middle-center, middle-right, bottom-left, bottom-center, bottom-right. You can apply image to the title element and thus put the image top left:
Dim card As RadTaskCardElement = New RadTaskCardElement()
card.TitleText = "ListView improvements"
card.TitleElement.Image = My.Resources.nancy22
card.TitleElement.TextImageRelation = TextImageRelation.ImageBeforeText
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Remote troubleshooting is now easier with Telerik Fiddler Jam. Get the full context to end-users' issues in just three steps! Start your trial here - https://www.telerik.com/fiddler-jam.