This question is locked. New answers and comments are not allowed.
Having problems with the input prompt.
Seems like the inputpromptclosedeventargs doesn´t work as it should.
The result is always Cancel and buttonindex -1.
Style textBoxStyle =newSystem.Windows.Style(typeof(RadTextBox));textBoxStyle.Setters.Add(newSetter(RadTextBox.InputScopeProperty,"text"));stringmessageTitle ="Rename sensor";stringmessage ="Please enter the new name for the sensor";RadInputPrompt.Show(messageTitle, MessageBoxButtons.OKCancel, message, InputMode.Text, textBoxStyle,closedHandler: (args) =>{// ClickedButton will be null in the case when RadMessageBox is closed because the user pressed the hardware back button.if(args.ClickedButton ==null){return;}var test = args.Result;if(args.Result == DialogResult.OK){//yaddaaa}});