Hello,
I would like to restrict a xamDialogWindow to silverlight client : like RestrictInContainer, but with a restriction on the whole silverlight plugin window.
Is there sample for this restriction? this could be a nice new feature ;)
Regards,
HI,
You could wire up the XamDialogMoving event and cancel it if the windows goes too far to the left or from the top.
Here is a code snippet
private void xamDialogWindow1_Moving(object sender, Infragistics.Controls.Interactions.MovingEventArgs e)
{
if (e.Left > 200)
e.Cancel =
true;
}
if (e.Top > 200)
}Sinceerly, MattDeveloper Support Engineer
I created a feature request for this issue.
Sincerely,
MattDeveloper Support Engineer
You could put your XamDialogWindow in the Root Element of your application.
Hello Matt,
Yes you are right, but this XamDialogWindow belongs to a plugin to the main application : it depends on components the main control has knowledge of, so I don't think I would a good design to put the dialog in the main control.
However I'm perfectly fine with wiring on XamDialogMoving event.
The feature to do so automatically would nice to have, but this is not at all a requirement fo us, only a suggestion : so if you have the time to add this in a later version, I'd be happy to use it ;)
Thanks again,Julien Benoit
It's a solved problem : everything is ok.
Thanks for your time.
HI , I am just following up on this forum post.
Please let me know if you need further assistance.
Sincerely, MattDeveloper Support Engineer