42 references to Parameter
PresentationCore (2)
Core\CSharp\System\Windows\Input\Command\CommandBinding.cs (1)
179
CanExecuteRoutedEventArgs canExecuteArgs = new CanExecuteRoutedEventArgs(e.Command, e.
Parameter
);
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (1)
783
command.ExecuteCore(e.
Parameter
, newSource, e.UserInitiated);
PresentationFramework (36)
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (4)
304
CreateHighlightForSelection(AnnotationService.GetService(viewer), null, e.
Parameter
!= null ? e.
Parameter
as Brush : null);
318
CreateTextStickyNoteForSelection(AnnotationService.GetService(viewer), e.
Parameter
as String);
332
CreateInkStickyNoteForSelection(AnnotationService.GetService(viewer), e.
Parameter
as String);
src\Framework\System\Windows\Controls\DataGrid.cs (3)
2207
RoutedEventArgs editingEventArgs = e.
Parameter
as RoutedEventArgs;
2355
DataGridEditingUnit editingUnit = GetEditingUnit(e.
Parameter
);
2528
DataGridEditingUnit editingUnit = GetEditingUnit(e.
Parameter
);
src\Framework\System\Windows\Controls\DocumentViewer.cs (2)
1908
DoFitToMaxPagesAcross(dv, args.
Parameter
);
1948
DoZoom(dv, args.
Parameter
);
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (1)
1453
viewer.TrySwitchViewingMode(args.
Parameter
);
src\Framework\System\Windows\Controls\Frame.cs (1)
680
FrameworkElement journalEntryUIElem = e.
Parameter
as FrameworkElement;
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (2)
1572
if (args.
Parameter
!= null)
1577
pageNumber = Convert.ToInt32(args.
Parameter
, System.Globalization.CultureInfo.CurrentCulture);
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (4)
288
/// Scrolls horizontally to the double value provided in <see cref="System.Windows.Input.ExecutedRoutedEventArgs.
Parameter
" />.
292
/// Scrolls vertically to the double value provided in <see cref="System.Windows.Input.ExecutedRoutedEventArgs.
Parameter
" />.
296
/// Scrolls horizontally by dragging to the double value provided in <see cref="System.Windows.Input.ExecutedRoutedEventArgs.
Parameter
" />.
300
/// Scrolls vertically by dragging to the double value provided in <see cref="System.Windows.Input.ExecutedRoutedEventArgs.
Parameter
" />.
src\Framework\System\Windows\Controls\ScrollViewer.cs (8)
2543
if (args.
Parameter
is double) { ((ScrollViewer)target).DeferScrollToHorizontalOffset((double)args.
Parameter
); }
2547
if (args.
Parameter
is double) { ((ScrollViewer)target).DeferScrollToVerticalOffset((double)args.
Parameter
); }
2609
if (args.
Parameter
is double) { ((ScrollViewer)target).ScrollToHorizontalOffset((double)args.
Parameter
); }
2613
if (args.
Parameter
is double) { ((ScrollViewer)target).ScrollToVerticalOffset((double)args.
Parameter
); }
src\Framework\System\Windows\Controls\StickyNote.cs (1)
1768
InkCanvasEditingMode mode = (InkCanvasEditingMode)args.
Parameter
;
src\Framework\System\windows\Documents\TextEditorCharacters.cs (8)
385
if (args.
Parameter
== null)
390
TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, args.
Parameter
);
398
if (args.
Parameter
== null)
403
TextEditorCharacters._OnApplyProperty(This, TextElement.FontFamilyProperty, args.
Parameter
);
411
if (args.
Parameter
== null)
416
TextEditorCharacters._OnApplyProperty(This, TextElement.ForegroundProperty, args.
Parameter
);
424
if (args.
Parameter
== null)
429
TextEditorCharacters._OnApplyProperty(This, TextElement.BackgroundProperty, args.
Parameter
);
src\Framework\System\windows\Documents\TextEditorSpelling.cs (1)
129
string correctedText = args.
Parameter
as string;
src\Framework\System\Windows\Navigation\NavigationWindow.cs (1)
1102
FrameworkElement journalEntryUIElem = e.
Parameter
as FrameworkElement;
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueEditorCommandHandler.cs (1)
150
_pendingTransactions.Add(property.BeginEdit(e.
Parameter
as string));
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (3)
1464
if (e.
Parameter
is IDictionary<string, string>)
1466
IDictionary<string, string> context = e.
Parameter
as IDictionary<string, string>;
1483
dataObject = e.
Parameter
as IDataObject;