42 references to Parameter
PresentationCore (2)
Core\CSharp\System\Windows\Input\Command\CommandBinding.cs (1)
179CanExecuteRoutedEventArgs canExecuteArgs = new CanExecuteRoutedEventArgs(e.Command, e.Parameter);
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (1)
783command.ExecuteCore(e.Parameter, newSource, e.UserInitiated);
PresentationFramework (36)
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (4)
304CreateHighlightForSelection(AnnotationService.GetService(viewer), null, e.Parameter != null ? e.Parameter as Brush : null); 318CreateTextStickyNoteForSelection(AnnotationService.GetService(viewer), e.Parameter as String); 332CreateInkStickyNoteForSelection(AnnotationService.GetService(viewer), e.Parameter as String);
src\Framework\System\Windows\Controls\DataGrid.cs (3)
2207RoutedEventArgs editingEventArgs = e.Parameter as RoutedEventArgs; 2355DataGridEditingUnit editingUnit = GetEditingUnit(e.Parameter); 2528DataGridEditingUnit editingUnit = GetEditingUnit(e.Parameter);
src\Framework\System\Windows\Controls\DocumentViewer.cs (2)
1908DoFitToMaxPagesAcross(dv, args.Parameter); 1948DoZoom(dv, args.Parameter);
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (1)
1453viewer.TrySwitchViewingMode(args.Parameter);
src\Framework\System\Windows\Controls\Frame.cs (1)
680FrameworkElement journalEntryUIElem = e.Parameter as FrameworkElement;
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (2)
1572if (args.Parameter != null) 1577pageNumber = 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)
2543if (args.Parameter is double) { ((ScrollViewer)target).DeferScrollToHorizontalOffset((double)args.Parameter); } 2547if (args.Parameter is double) { ((ScrollViewer)target).DeferScrollToVerticalOffset((double)args.Parameter); } 2609if (args.Parameter is double) { ((ScrollViewer)target).ScrollToHorizontalOffset((double)args.Parameter); } 2613if (args.Parameter is double) { ((ScrollViewer)target).ScrollToVerticalOffset((double)args.Parameter); }
src\Framework\System\Windows\Controls\StickyNote.cs (1)
1768InkCanvasEditingMode mode = (InkCanvasEditingMode)args.Parameter;
src\Framework\System\windows\Documents\TextEditorCharacters.cs (8)
385if (args.Parameter == null) 390TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, args.Parameter); 398if (args.Parameter == null) 403TextEditorCharacters._OnApplyProperty(This, TextElement.FontFamilyProperty, args.Parameter); 411if (args.Parameter == null) 416TextEditorCharacters._OnApplyProperty(This, TextElement.ForegroundProperty, args.Parameter); 424if (args.Parameter == null) 429TextEditorCharacters._OnApplyProperty(This, TextElement.BackgroundProperty, args.Parameter);
src\Framework\System\windows\Documents\TextEditorSpelling.cs (1)
129string correctedText = args.Parameter as string;
src\Framework\System\Windows\Navigation\NavigationWindow.cs (1)
1102FrameworkElement 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)
1464if (e.Parameter is IDictionary<string, string>) 1466IDictionary<string, string> context = e.Parameter as IDictionary<string, string>; 1483dataObject = e.Parameter as IDataObject;