Completed
Last Updated: 19 Nov 2018 10:26 by ADMIN
ADMIN
Created by: Hristo
Comments: 1
Category: SplitContainer
Type: Feature Request
1
The end user should be able to specify what Cursor to be used while resizing a panel.

Currently this can be achieved using the custom control below:
public class MyRadSplitContainer : RadSplitContainer
{
    private bool isResizing;
 
    public override string ThemeClassName
    {
        get
        {
            return typeof(RadSplitContainer).FullName;
        }
    }
 
    protected override void OnMouseDown(MouseEventArgs e)
    {
        if (e.Button == MouseButtons.Left && this.ContentRectangle.Contains(e.Location))
        {
            SplitterElement splitter = GetSplitterElementAtPoint(e.Location);
            if (splitter != null && !splitter.Fixed)
            {
                this.isResizing = true;
            }
 
            base.OnMouseDown(e);
        }
    }
 
    protected override void OnMouseUp(MouseEventArgs e)
    {
        base.OnMouseUp(e);
 
        this.isResizing = false;
    }
 
    public override Cursor Cursor
    {
        get
        {
            Cursor cursor = base.Cursor;
            if (this.isResizing && cursor == Cursors.SizeWE)
            {
                cursor = Cursors.VSplit;
            }
            else if (this.isResizing && cursor == Cursors.SizeNS)
            {
                cursor = Cursors.HSplit;
            }
 
            return cursor;
        }
        set
        {
            if (value == Cursors.VSplit)
            {
                value = Cursors.SizeWE;
            }
            else if (value == Cursors.HSplit)
            {
                value = Cursors.SizeNS;
            }
 
            base.Cursor = value;
        }
    }
}
Completed
Last Updated: 27 Sep 2017 09:51 by ADMIN
Completed
Last Updated: 10 Jun 2014 10:55 by ADMIN
ADMIN
Created by: Stefan
Comments: 0
Category: SplitContainer
Type: Feature Request
3
Add functionality to collapse and expand the split panels in RadSplitContainer by buttons positioned in the splitter area just like ASP.NET. See example here: 
http://demos.telerik.com/aspnet-ajax/splitter/examples/collapseexpand/defaultcs.aspx
Completed
Last Updated: 28 May 2014 13:05 by Jesse Dyck
This allows a linked SplitPanels to be dynamically expanded and collapsed by clicking on the splitter button, and resized by dragging the splitter.