40 references to Parameter
PresentationCore (2)
System\Windows\Input\Command\CommandBinding.cs (1)
163
CanExecuteRoutedEventArgs canExecuteArgs = new(e.Command, e.
Parameter
)
System\Windows\Input\Command\CommandManager.cs (1)
679
command.ExecuteCore(e.
Parameter
, newSource, e.UserInitiated);
PresentationFramework (36)
System\Windows\Annotations\AnnotationHelper.cs (4)
298
CreateHighlightForSelection(AnnotationService.GetService(viewer), null, e.
Parameter
!= null ? e.
Parameter
as Brush : null);
312
CreateTextStickyNoteForSelection(AnnotationService.GetService(viewer), e.
Parameter
as String);
326
CreateInkStickyNoteForSelection(AnnotationService.GetService(viewer), e.
Parameter
as String);
System\Windows\Controls\DataGrid.cs (3)
2203
RoutedEventArgs editingEventArgs = e.
Parameter
as RoutedEventArgs;
2350
DataGridEditingUnit editingUnit = GetEditingUnit(e.
Parameter
);
2523
DataGridEditingUnit editingUnit = GetEditingUnit(e.
Parameter
);
System\Windows\Controls\DocumentViewer.cs (2)
1874
DoFitToMaxPagesAcross(dv, args.
Parameter
);
1914
DoZoom(dv, args.
Parameter
);
System\Windows\Controls\FlowDocumentReader.cs (1)
1447
viewer.TrySwitchViewingMode(args.
Parameter
);
System\Windows\Controls\Frame.cs (1)
659
FrameworkElement journalEntryUIElem = e.
Parameter
as FrameworkElement;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (2)
1560
if (args.
Parameter
!= null)
1565
pageNumber = Convert.ToInt32(args.
Parameter
, System.Globalization.CultureInfo.CurrentCulture);
System\Windows\Controls\Primitives\ScrollBar.cs (4)
283
/// Scrolls horizontally to the double value provided in <see cref="System.Windows.Input.ExecutedRoutedEventArgs.
Parameter
" />.
287
/// Scrolls vertically to the double value provided in <see cref="System.Windows.Input.ExecutedRoutedEventArgs.
Parameter
" />.
291
/// Scrolls horizontally by dragging to the double value provided in <see cref="System.Windows.Input.ExecutedRoutedEventArgs.
Parameter
" />.
295
/// Scrolls vertically by dragging to the double value provided in <see cref="System.Windows.Input.ExecutedRoutedEventArgs.
Parameter
" />.
System\Windows\Controls\ScrollViewer.cs (8)
2503
if (args.
Parameter
is double) { ((ScrollViewer)target).DeferScrollToHorizontalOffset((double)args.
Parameter
); }
2507
if (args.
Parameter
is double) { ((ScrollViewer)target).DeferScrollToVerticalOffset((double)args.
Parameter
); }
2569
if (args.
Parameter
is double) { ((ScrollViewer)target).ScrollToHorizontalOffset((double)args.
Parameter
); }
2573
if (args.
Parameter
is double) { ((ScrollViewer)target).ScrollToVerticalOffset((double)args.
Parameter
); }
System\Windows\Controls\StickyNote.cs (1)
1731
InkCanvasEditingMode mode = (InkCanvasEditingMode)args.
Parameter
;
System\windows\Documents\TextEditorCharacters.cs (8)
383
if (args.
Parameter
== null)
388
TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, args.
Parameter
);
396
if (args.
Parameter
== null)
401
TextEditorCharacters._OnApplyProperty(This, TextElement.FontFamilyProperty, args.
Parameter
);
409
if (args.
Parameter
== null)
414
TextEditorCharacters._OnApplyProperty(This, TextElement.ForegroundProperty, args.
Parameter
);
422
if (args.
Parameter
== null)
427
TextEditorCharacters._OnApplyProperty(This, TextElement.BackgroundProperty, args.
Parameter
);
System\windows\Documents\TextEditorSpelling.cs (1)
127
string correctedText = args.
Parameter
as string;
System\Windows\Navigation\NavigationWindow.cs (1)
1075
FrameworkElement journalEntryUIElem = e.
Parameter
as FrameworkElement;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
1798
rg.CurrentFilter = args.
Parameter
;
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (1)
274
MouseButtonEventArgs e = args.
Parameter
as MouseButtonEventArgs;