StopListen() 공개 메소드

public StopListen ( ) : void
리턴 void
예제 #1
0
        void ChangeSelection(IInteractiveContentPresenter newSelection)
        {
            if (newSelection == myCurrentSelection)
            {
                return;
            }

            myCurrentSelection = newSelection;

            if (mySelectionListener != null)
            {
                mySelectionListener.Undo();
                mySelectionListener = null;
            }

            if (newSelection != null)
            {
                mySelectionListener = new PropertyListener();
                mySelectionListener.StartListen();
                myCurrentSelection.ApplyFocusedStyle();
                mySelectionListener.StopListen();

                WindowlessBringIntoView(newSelection);
            }
            Update();
            OnSelectionChanged();
        }
예제 #2
0
 void OnClickDown()
 {
     if (myClickListener == null)
     {
         myClickListener = new PropertyListener();
         myClickListener.StartListen();
         myCurrentSelection.ApplyClickedStyle();
         myClickListener.StopListen();
     }
 }
예제 #3
0
 void OnClickDown()
 {
     if (myClickListener == null)
     {
         myClickListener = new PropertyListener();
         myClickListener.StartListen();
         myCurrentSelection.ApplyClickedStyle();
         myClickListener.StopListen();
     }
 }
예제 #4
0
        void ChangeSelection(IInteractiveContentPresenter newSelection)
        {
            if (newSelection == myCurrentSelection)
                return;

            myCurrentSelection = newSelection;

            if (mySelectionListener != null)
            {
                mySelectionListener.Undo();
                mySelectionListener = null;
            }

            if (newSelection != null)
            {
                mySelectionListener = new PropertyListener();
                mySelectionListener.StartListen();
                myCurrentSelection.ApplyFocusedStyle();
                mySelectionListener.StopListen();

                WindowlessBringIntoView(newSelection);
            }
            Update();
            OnSelectionChanged();
        }