Hello, I want to set my RadPane active/de-active on the user click, not the mouse hover event, for that i subclass the RadPane and override the MouseEnter event to disable the activation on the mouse hover, but i don't know how to set it active on the header click, the set of the active property is private and i don't see how to do that. My product version is 2012.1.410.1040.
Thanks !
Thanks !
5 Answers, 1 is accepted
0
Hi Xalbat,
Yes, RadPane.IsActive property has a private setter, but I would suggest using the RadDocking.ActivaPane property which has public setter. In this way you could activate the pane.
Hope this helps.
Regards,
George
Telerik
Yes, RadPane.IsActive property has a private setter, but I would suggest using the RadDocking.ActivaPane property which has public setter. In this way you could activate the pane.
Hope this helps.
Regards,
George
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Xalbat
Top achievements
Rank 1
answered on 31 Jul 2013, 12:43 PM
Hello, thanks for the answer but my problem is that my RadPane is in a RadPanegroup which is in a RadSplitContainer
In fact my structure is that :
a RadDocking
->with a RadDocking.DocumentHost which contain several tab on the top
-> and 2 RadSplitContainer (on left and right side) which contain one RadPaneGroup with one or more tab (=RadPane) which are floatable dockable etc.... and i don't see the ActivePane property on the RadPaneGroup, if i use the RadDocking.ActivePane it will be applied to all panel thing i don't want, only on each radsplitcontainer/radpanegroup.
If you have an idea, you're welcome ;)
In fact my structure is that :
a RadDocking
->with a RadDocking.DocumentHost which contain several tab on the top
-> and 2 RadSplitContainer (on left and right side) which contain one RadPaneGroup with one or more tab (=RadPane) which are floatable dockable etc.... and i don't see the ActivePane property on the RadPaneGroup, if i use the RadDocking.ActivePane it will be applied to all panel thing i don't want, only on each radsplitcontainer/radpanegroup.
If you have an idea, you're welcome ;)
0
Hi Xalbat,
George
Telerik
I understand - in this case I would suggest using the RadPaneGroup.SelectedItem property. This will give you information about the selected pane in each RadPaneGroup.
Please, let me know if this helps.
George
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Xalbat
Top achievements
Rank 1
answered on 01 Aug 2013, 01:56 PM
public
class
RadPaneClickable : RadPane
{
protected
override
void
OnMouseEnter(MouseEventArgs e)
{
}
protected
override
void
OnHeaderMouseLeftButtonDown(
object
sender, MouseButtonEventArgs e)
{
base
.OnHeaderMouseLeftButtonDown(sender,e);
var toto = ((Telerik.Windows.Controls.RadPane)(
this
)).PaneGroup;
}
}
this is my code.
the problem is that the "SelectedItem" is always null. Even if the RadPane is flagged as activated.
0
Hi Xalbat,
George
Telerik
I tried to reproduce the problem with out latest assemblies, but to no avail. Could you refer to the attached project and let me know if I missed something? A video is attached as well.
George
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>