2 Answers, 1 is accepted
Hello, jw wei,
Thank you for your interest about RadTaskBoard control. Concerning the provided picture, I suppose you are asking about horizontally aligned card elements, not vertically.
Generally TaskBoard/Kanban board represent a card (tiles) combined into columns or rows which are most often vertically oriented in order to show the cards in a user-friendly way and provide intuitive way of working with them. RadTaskBoard control from Telerik UI for Winforms is designed to follow these standards and it provides vertical orientation of task board when adding more card elements. Currently, we have not been requested for such horizontal orientation of the card elements. However, our client's feedback is of top priority for us and if we receive more requests for this, we should consider it in a future improvement of the RadTaskBoard control.
Should you have any other questions do not hesitate to contact us.
Regards,
Nadya | Tech Support Engineer
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hello, jw wei,
It is not clear what is the desired layout that you would like to achieve but I can siggest the following controls that might be suitable and you may consider using:
- RadLayoutControl you can quickly design and arrange your controls in complex layouts.
- RadPageView layouts pages of sub controls in different views.
- RadDock control provides a container that holds dockable windows.
These controls support drag and drop operations. You can also check our Demo application for more examples with different controls from our suite.
If you have any other questions do not hesitate to ask.
Regards,
Nadya | Tech Support Engineer
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
The RadPanorama control is good for me.I want to display the dividing lines at the insertion point, just like the TaskBoard.But need to create a RadImageShape in RadDragDropService, how do I create it?
The drop indicator line is represented by a custom element that is drawn on the specific position. In the case of RadTaskBoard control, the line is prepared in the PrepareContext() method. Then in the HandleMouseMove method, the custom element/image position will be updated. The code related to the drop line in RadTaskBoard control is related to the control itself and can't be used for the RadPanorama control. You will need to create your own logic to handle this case. As we don't have such an example at the moment (we will consider creating such an example), still you can use the following as a base.
this.radPanorama1.PanoramaElement.DragDropService = new CustomTileDragDropService(this.radPanorama1.PanoramaElement);
public class CustomTileDragDropService : TileDragDropService
{
public CustomTileDragDropService(RadPanoramaElement owner) : base(owner)
{
}
protected override bool PrepareContext()
{
// prepare the custom element
return base.PrepareContext();
}
protected override void HandleMouseMove(Point mousePos)
{
// change position of the custom element.
base.HandleMouseMove(mousePos);
}
protected override void PerformStop()
{
//remove the custom hint element
base.PerformStop();
}
}
I hope that you can use this approach as a base.