public static DialogResult ShowFlyoutMessage(WindowsUIView view, Flyout flyoutMessage, String caption, String description, params FlyoutCommand[] commands)
        {
            FlyoutAction messageAction = new FlyoutAction()
            {
                Caption = caption,
                Description = description
            };
            flyoutMessage.Properties.AllowHtmlDraw = DefaultBoolean.True;
            flyoutMessage.Properties.AppearanceDescription.TextOptions.WordWrap = WordWrap.Wrap;
            flyoutMessage.Properties.AppearanceDescription.TextOptions.Trimming = Trimming.EllipsisWord;

            messageAction.Commands.Clear();
            if (commands.Length == 0)
            {
                messageAction.Commands.Add(FlyoutCommand.OK);
            }
            else
            {
                foreach (FlyoutCommand command in commands)
                {
                    messageAction.Commands.Add(command);
                }
            }

            flyoutMessage.Action = messageAction;

            return view.ShowFlyoutDialog(flyoutMessage);
        }