I am trying to used an attached behavior on my RadDocking control to hook into a RadPane drag event. I am having a hard time getting the Drag Event to be fired when the pane is floating and being dragged. Is this functionality possible?
Here is my behavior that is not working:
Thanks.
Here is my behavior that is not working:
public class PaneDragBehavior : Behavior<RadPane> { protected override void OnAttached() { AssociatedObject.PreviewDragEnter += (o, e) => { //do something }; } }<telerik:RadDocking AllowUnsafeMode="True" Name="RadDocking" Close="RadDockingClose" PaneStateChange="RadDocking_PaneStateChange" telerik:AnimationManager.AnimationSelector="{x:Null}" telerik:AnimationManager.IsAnimationEnabled="False"> <telerik:RadDocking.DocumentHost> <telerik:RadSplitContainer Name="EncounterDetailsSplitContainer"> <telerik:RadPaneGroup Name="EncounterDetailsPaneGroup"> <telerik:RadPaneGroup.Items> <telerik:RadPane Header="Patient Claim" CanUserClose="False" ContextMenuTemplate="{x:Null}" Name="PatientClaimPane" telerik:RadDocking.SerializationTag="PatientClaimPane" > <telerik:RadPane.Content> <Views:PatientClaimView x:Name="PatientClaimView"/> </telerik:RadPane.Content> <i:Interaction.Behaviors> <behaviors:PaneDragBehavior /> </i:Interaction.Behaviors> </telerik:RadPane> <telerik:RadPane Header="Billing Activity" CanUserClose="False" ContextMenuTemplate="{x:Null}" Name="BillingActivityPane" telerik:RadDocking.SerializationTag="BillingActivityPane"> <Views:BillingActivityView x:Name="BillingActivityView"/> </telerik:RadPane> <telerik:RadPane Header="Provider Detail" CanUserClose="False" ContextMenuTemplate="{x:Null}" Name="ProviderDetailPane" telerik:RadDocking.SerializationTag="ProviderDetailPane"> <Views:ProviderDetailsView x:Name="ProviderDetailView" /> </telerik:RadPane> <telerik:RadPane Header="Comments" CanUserClose="False" ContextMenuTemplate="{x:Null}" Name="CommentsPane" telerik:RadDocking.SerializationTag="CommentsPane"> <Views:CommentsView x:Name="CommentsView"/> </telerik:RadPane> <telerik:RadDocumentPane Header="Document Images" CanUserClose="False" ContextMenuTemplate="{x:Null}" Name="DocumentImagePane" telerik:RadDocking.SerializationTag="DocumentImagePane"> <Views:DocumentImageView x:Name="DocumentImageView" /> </telerik:RadDocumentPane> </telerik:RadPaneGroup.Items> </telerik:RadPaneGroup> </telerik:RadSplitContainer> </telerik:RadDocking.DocumentHost> </telerik:RadDocking>Thanks.