24 references to PanningMode
PresentationFramework (24)
System\Windows\Controls\ScrollViewer.cs (24)
1423
public
PanningMode
PanningMode
1425
get { return (
PanningMode
)GetValue(PanningModeProperty); }
1435
typeof(
PanningMode
),
1437
new FrameworkPropertyMetadata(
PanningMode
.None, new PropertyChangedCallback(OnPanningModeChanged)));
1442
public static void SetPanningMode(DependencyObject element,
PanningMode
panningMode)
1452
public static
PanningMode
GetPanningMode(DependencyObject element)
1456
return ((
PanningMode
)element.GetValue(PanningModeProperty));
1481
PanningMode
mode = PanningMode;
1489
if (mode !=
PanningMode
.None)
1590
PanningMode
panningMode = PanningMode;
1591
if (panningMode !=
PanningMode
.None)
1599
if (panningMode ==
PanningMode
.HorizontalOnly)
1603
else if (panningMode ==
PanningMode
.VerticalOnly)
1736
PanningMode
panningMode = _panningInfo.PanningMode;
1737
if (panningMode !=
PanningMode
.VerticalOnly)
1743
if (panningMode !=
PanningMode
.HorizontalOnly)
1871
PanningMode
panningMode = _panningInfo.PanningMode;
1872
if (panningMode ==
PanningMode
.None)
1881
if (((panningMode ==
PanningMode
.Both) && (validX || validY)) ||
1882
(panningMode ==
PanningMode
.HorizontalOnly && validX) ||
1883
(panningMode ==
PanningMode
.VerticalOnly && validY))
1887
else if (panningMode ==
PanningMode
.HorizontalFirst)
1900
else if (panningMode ==
PanningMode
.VerticalFirst)
1968
public
PanningMode
PanningMode