Пример #1
0
        /// <summary>
        /// The ChatMessageListViewModel constructor
        /// </summary>
        public ChatMessageListViewModel()
        {
            //Create commands
            AttachmentButtonCommand = new RelayCommand(AttachmentButton);

            //Make a default menu
            AttachmentMenu = new ChatAttachmentPopupMenuViewModel();
        }
 /// <summary>
 /// Default Constructor
 /// </summary>
 public ChatMessageListViewModel()
 {
     //Create Commands
     AttachmentButtonCommand = new RelayCommand(AttachmentButton);
     PopupClickAwayCommand   = new RelayCommand(PopupClickAway);
     SendCommand             = new RelayCommand(Send);
     //Make a default menu
     AttachmentPopupMenu = new ChatAttachmentPopupMenuViewModel();
 }
Пример #3
0
        /// <summary>
        /// Default constructor
        /// </summary>
        public ChatMessageListViewModel()
        {
            // Create commands
            AttachmentButtonCommand = new RelayCommand(AttachmentButton);
            PopupClickawayCommand   = new RelayCommand(PopupClickaway);

            AttachmentMenu = new ChatAttachmentPopupMenuViewModel();

            SendCommand = new RelayCommand(Send);
        }