40 references to Parameter
PresentationCore (2)
System\Windows\Input\Command\CommandBinding.cs (1)
155
CanExecuteRoutedEventArgs canExecuteArgs = new(e.Command, e.
Parameter
)
System\Windows\Input\Command\CommandManager.cs (1)
668
command.ExecuteCore(e.
Parameter
, newSource, e.UserInitiated);
PresentationFramework (36)
System\Windows\Annotations\AnnotationHelper.cs (4)
286
CreateHighlightForSelection(AnnotationService.GetService(viewer), null, e.
Parameter
!= null ? e.
Parameter
as Brush : null);
300
CreateTextStickyNoteForSelection(AnnotationService.GetService(viewer), e.
Parameter
as String);
314
CreateInkStickyNoteForSelection(AnnotationService.GetService(viewer), e.
Parameter
as String);
System\Windows\Controls\DataGrid.cs (3)
2200
RoutedEventArgs editingEventArgs = e.
Parameter
as RoutedEventArgs;
2347
DataGridEditingUnit editingUnit = GetEditingUnit(e.
Parameter
);
2520
DataGridEditingUnit editingUnit = GetEditingUnit(e.
Parameter
);
System\Windows\Controls\DocumentViewer.cs (2)
1862
DoFitToMaxPagesAcross(dv, args.
Parameter
);
1902
DoZoom(dv, args.
Parameter
);
System\Windows\Controls\FlowDocumentReader.cs (1)
1442
viewer.TrySwitchViewingMode(args.
Parameter
);
System\Windows\Controls\Frame.cs (1)
647
FrameworkElement journalEntryUIElem = e.
Parameter
as FrameworkElement;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (2)
1555
if (args.
Parameter
!= null)
1560
pageNumber = Convert.ToInt32(args.
Parameter
, System.Globalization.CultureInfo.CurrentCulture);
System\Windows\Controls\Primitives\ScrollBar.cs (4)
267
/// Scrolls horizontally to the double value provided in <see cref="System.Windows.Input.ExecutedRoutedEventArgs.
Parameter
" />.
271
/// Scrolls vertically to the double value provided in <see cref="System.Windows.Input.ExecutedRoutedEventArgs.
Parameter
" />.
275
/// Scrolls horizontally by dragging to the double value provided in <see cref="System.Windows.Input.ExecutedRoutedEventArgs.
Parameter
" />.
279
/// Scrolls vertically by dragging to the double value provided in <see cref="System.Windows.Input.ExecutedRoutedEventArgs.
Parameter
" />.
System\Windows\Controls\ScrollViewer.cs (8)
2495
if (args.
Parameter
is double) { ((ScrollViewer)target).DeferScrollToHorizontalOffset((double)args.
Parameter
); }
2499
if (args.
Parameter
is double) { ((ScrollViewer)target).DeferScrollToVerticalOffset((double)args.
Parameter
); }
2561
if (args.
Parameter
is double) { ((ScrollViewer)target).ScrollToHorizontalOffset((double)args.
Parameter
); }
2565
if (args.
Parameter
is double) { ((ScrollViewer)target).ScrollToVerticalOffset((double)args.
Parameter
); }
System\Windows\Controls\StickyNote.cs (1)
1715
InkCanvasEditingMode mode = (InkCanvasEditingMode)args.
Parameter
;
System\windows\Documents\TextEditorCharacters.cs (8)
367
if (args.
Parameter
== null)
372
TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, args.
Parameter
);
380
if (args.
Parameter
== null)
385
TextEditorCharacters._OnApplyProperty(This, TextElement.FontFamilyProperty, args.
Parameter
);
393
if (args.
Parameter
== null)
398
TextEditorCharacters._OnApplyProperty(This, TextElement.ForegroundProperty, args.
Parameter
);
406
if (args.
Parameter
== null)
411
TextEditorCharacters._OnApplyProperty(This, TextElement.BackgroundProperty, args.
Parameter
);
System\windows\Documents\TextEditorSpelling.cs (1)
126
string correctedText = args.
Parameter
as string;
System\Windows\Navigation\NavigationWindow.cs (1)
1059
FrameworkElement journalEntryUIElem = e.
Parameter
as FrameworkElement;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
1796
rg.CurrentFilter = args.
Parameter
;
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (1)
269
MouseButtonEventArgs e = args.
Parameter
as MouseButtonEventArgs;