24 references to PanningMode
PresentationFramework (24)
src\Framework\System\Windows\Controls\ScrollViewer.cs (24)
1451public PanningMode PanningMode 1453get { return (PanningMode)GetValue(PanningModeProperty); } 1463typeof(PanningMode), 1465new FrameworkPropertyMetadata(PanningMode.None, new PropertyChangedCallback(OnPanningModeChanged))); 1470public static void SetPanningMode(DependencyObject element, PanningMode panningMode) 1483public static PanningMode GetPanningMode(DependencyObject element) 1490return ((PanningMode)element.GetValue(PanningModeProperty)); 1515PanningMode mode = PanningMode; 1523if (mode != PanningMode.None) 1636PanningMode panningMode = PanningMode; 1637if (panningMode != PanningMode.None) 1645if (panningMode == PanningMode.HorizontalOnly) 1649else if (panningMode == PanningMode.VerticalOnly) 1782PanningMode panningMode = _panningInfo.PanningMode; 1783if (panningMode != PanningMode.VerticalOnly) 1789if (panningMode != PanningMode.HorizontalOnly) 1917PanningMode panningMode = _panningInfo.PanningMode; 1918if (panningMode == PanningMode.None) 1927if (((panningMode == PanningMode.Both) && (validX || validY)) || 1928(panningMode == PanningMode.HorizontalOnly && validX) || 1929(panningMode == PanningMode.VerticalOnly && validY)) 1933else if (panningMode == PanningMode.HorizontalFirst) 1946else if (panningMode == PanningMode.VerticalFirst) 2014public PanningMode PanningMode