public void Clear()
        {
            // Clear text: as consequence this component's size will be changed and eventually we ask parent to update layout
            EntryMessage.SetEditorText("");

            // Clear attachment
            MessageInputAttachments.Clear();
        }
 private void MessageInputAttachmentCommand(object obj)
 {
     if (String.IsNullOrEmpty(editMessageId))
     {
         MessageInputAttachments.PickFiles();
     }
     else
     {
         StopEditionMode();
     }
 }
 public List <FileResult> GetFilesToSend()
 {
     return(MessageInputAttachments.GetFilesAttached());
 }