This is a migrated thread and some comments may be shown as answers.

how to pinned the radpane when clicking on Autohidearea.

2 Answers 81 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 25 Sep 2012, 04:32 AM
Hi,
I have a requirement to pinned the RadPane when i clicked on AutoHideArea,( i have overrided the OnMourEnter of Radpane and changed the moueseenter event)
public class CustomPane : RadPane
{
protected override void OnMouseEnter(System.Windows.Input.MouseEventArgs e)
{
this.ChangeVisualState(true);
            
}
        
now i want to pinned the CustomPane when i click on the auto hide area. can any one help me ? 

I have attached a image please check for more information

Thanks in Advance.
Srinivas.

2 Answers, 1 is accepted

Sort by
0
Ivo
Telerik team
answered on 27 Sep 2012, 07:57 AM
Hi Srinivas,

In order to achieve this you can override the OnMouseUp event of your CustomPane and add some custom code:
protected override void OnMouseUp(System.Windows.Input.MouseButtonEventArgs e)
{
    base.OnMouseUp(e);
 
    if (!this.IsPinned)
    {
        this.IsPinned = true;
    }
}

I would also ask you to write about a single issue into a single thread. Posting the same question into several threads will only slow down our response.

All the best,
Ivo
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

0
Ravi
Top achievements
Rank 1
answered on 27 Sep 2012, 09:21 AM
Hi Ivo ,

Thank you so much for you help, i appreciate you..Its working. 

Regards,
Srinivas.


Tags
Docking
Asked by
Ravi
Top achievements
Rank 1
Answers by
Ivo
Telerik team
Ravi
Top achievements
Rank 1
Share this question
or