1

Closed

Exeception is raised, when Clipboard access is manually denied on CutCommand

description

I´ve just tried UIAnnotations and stubled upon an error.
 
When you open the Silverlight Demo, select the text in the Name textbox and execute the CutCommand (scissors) and then deny the Clipboard access,
and execption is raised. See details below.
 
Message: Unhandled Error in Silverlight Application Clipboard access is not allowed at MS.Internal.XcpImports.Clipboard_SetText(String text)
at System.Windows.Clipboard.SetText(String text)
at Thinktecture.UIAnnotations.EditorToolbarAdorner.ExecuteCutCommand(Object parameter)
at Thinktecture.UIAnnotations.DelegateCommand.Execute(Object parameter)
at System.Windows.Controls.Primitives.ButtonBase.ExecuteCommand()
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
Closed Sep 19, 2011 at 10:24 AM by JoergNeumann
Issue fixed in Thinktecture.UIAnnotations.SL V0.1.1.

comments