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