24 references to PanningMode
PresentationFramework (24)
System\Windows\Controls\ScrollViewer.cs (24)
1417
public
PanningMode
PanningMode
1419
get { return (
PanningMode
)GetValue(PanningModeProperty); }
1429
typeof(
PanningMode
),
1431
new FrameworkPropertyMetadata(
PanningMode
.None, new PropertyChangedCallback(OnPanningModeChanged)));
1436
public static void SetPanningMode(DependencyObject element,
PanningMode
panningMode)
1446
public static
PanningMode
GetPanningMode(DependencyObject element)
1450
return ((
PanningMode
)element.GetValue(PanningModeProperty));
1475
PanningMode
mode = PanningMode;
1483
if (mode !=
PanningMode
.None)
1584
PanningMode
panningMode = PanningMode;
1585
if (panningMode !=
PanningMode
.None)
1593
if (panningMode ==
PanningMode
.HorizontalOnly)
1597
else if (panningMode ==
PanningMode
.VerticalOnly)
1730
PanningMode
panningMode = _panningInfo.PanningMode;
1731
if (panningMode !=
PanningMode
.VerticalOnly)
1737
if (panningMode !=
PanningMode
.HorizontalOnly)
1865
PanningMode
panningMode = _panningInfo.PanningMode;
1866
if (panningMode ==
PanningMode
.None)
1875
if (((panningMode ==
PanningMode
.Both) && (validX || validY)) ||
1876
(panningMode ==
PanningMode
.HorizontalOnly && validX) ||
1877
(panningMode ==
PanningMode
.VerticalOnly && validY))
1881
else if (panningMode ==
PanningMode
.HorizontalFirst)
1894
else if (panningMode ==
PanningMode
.VerticalFirst)
1962
public
PanningMode
PanningMode