Exemplo n.º 1
0
        private void MoveVertical(ListSelectionKind selectKind)
        {
            var cc = this.CurrentTab == null ? null : this.CurrentTab.CurrentForegroundTimeline;

            if (selectKind == ListSelectionKind.SelectAbove && Setting.Instance.TimelineExperienceProperty.MoveAboveTopToDeselect)
            {
                selectKind = ListSelectionKind.SelectAboveAndNull;
            }
            if (cc != null)
            {
                cc.SetSelect(selectKind);
            }
        }
 public void SetSelect(ListSelectionKind kind)
 {
     Messenger.Raise(new SetListSelectionMessage("SetListSelection", kind, this.SelectedTweetViewModel));
 }
Exemplo n.º 3
0
 public abstract void SetSelect(ListSelectionKind kind);
Exemplo n.º 4
0
 //ViewModelからMessenger経由での発信目的でメッセージインスタンスを生成するためのコンストラクタ
 public SetListSelectionMessage(string messageKey, ListSelectionKind kind, object initSelectedItem)
     : base(messageKey)
 {
     this.ListSelectionKind = kind;
     this.InitialSelectedItem = initSelectedItem;
 }
Exemplo n.º 5
0
 private void MoveVertical(ListSelectionKind selectKind)
 {
     var cc = this.CurrentTab == null ? null : this.CurrentTab.CurrentForegroundTimeline;
     if (selectKind == ListSelectionKind.SelectAbove && Setting.Instance.TimelineExperienceProperty.MoveAboveTopToDeselect)
         selectKind = ListSelectionKind.SelectAboveAndNull;
     if (cc != null)
         cc.SetSelect(selectKind);
 }
Exemplo n.º 6
0
 //ViewModelからMessenger経由での発信目的でメッセージインスタンスを生成するためのコンストラクタ
 public SetListSelectionMessage(string messageKey, ListSelectionKind kind, object initSelectedItem)
     : base(messageKey)
 {
     this.ListSelectionKind   = kind;
     this.InitialSelectedItem = initSelectedItem;
 }
Exemplo n.º 7
0
 public override void SetSelect(ListSelectionKind kind)
 {
     this.TimelineListCoreViewModel.SetSelect(kind);
 }
Exemplo n.º 8
0
 public override void SetSelect(ListSelectionKind kind)
 {
     this.TimelineListCoreViewModel.SetSelect(kind);
 }
Exemplo n.º 9
0
 public void SetSelect(ListSelectionKind kind)
 {
     Messenger.Raise(new SetListSelectionMessage("SetListSelection", kind, this.SelectedTweetViewModel));
 }
Exemplo n.º 10
0
 public abstract void SetSelect(ListSelectionKind kind);