Пример #1
0
 private void AssociatedObject_GroupCollapsed(object sender, GroupChangedEventArgs e)
 {
     if (GroupStates.ContainsKey(e.Group.Key.ToString()))
     {
         GroupStates[e.Group.Key.ToString()] = e.Group.IsExpanded;
     }
     else
     {
         GroupStates.Add(e.Group.Key.ToString(), e.Group.IsExpanded);
     }
 }
Пример #2
0
 public virtual async Task OnGroupChanged(GroupChangedEventArgs e)
 {
 }
 public override async Task OnGroupChanged(GroupChangedEventArgs e)
 {
     await this.Device.Send("Group has been changed by " + e.OriginalMessage.Message.From.FirstName + " " + e.OriginalMessage.Message.From.LastName);
 }