Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / DataGridPreparingCellForEditEventArgs.cs / 1305600 / DataGridPreparingCellForEditEventArgs.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.Windows; using System.Windows.Input; namespace System.Windows.Controls { ////// Provides information about a cell that has just entered edit mode. /// public class DataGridPreparingCellForEditEventArgs : EventArgs { ////// Constructs a new instance of these event arguments. /// /// The column of the cell that just entered edit mode. /// The row container that contains the cell container that just entered edit mode. /// The event arguments, if any, that led to the cell being placed in edit mode. /// The cell container that just entered edit mode. /// The editing element within the cell container. public DataGridPreparingCellForEditEventArgs(DataGridColumn column, DataGridRow row, RoutedEventArgs editingEventArgs, FrameworkElement editingElement) { _dataGridColumn = column; _dataGridRow = row; _editingEventArgs = editingEventArgs; _editingElement = editingElement; } ////// The column of the cell that just entered edit mode. /// public DataGridColumn Column { get { return _dataGridColumn; } } ////// The row container that contains the cell container that just entered edit mode. /// public DataGridRow Row { get { return _dataGridRow; } } ////// The event arguments, if any, that led to the cell being placed in edit mode. /// public RoutedEventArgs EditingEventArgs { get { return _editingEventArgs; } } ////// The editing element within the cell container. /// public FrameworkElement EditingElement { get { return _editingElement; } } private DataGridColumn _dataGridColumn; private DataGridRow _dataGridRow; private RoutedEventArgs _editingEventArgs; private FrameworkElement _editingElement; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.Windows; using System.Windows.Input; namespace System.Windows.Controls { ////// Provides information about a cell that has just entered edit mode. /// public class DataGridPreparingCellForEditEventArgs : EventArgs { ////// Constructs a new instance of these event arguments. /// /// The column of the cell that just entered edit mode. /// The row container that contains the cell container that just entered edit mode. /// The event arguments, if any, that led to the cell being placed in edit mode. /// The cell container that just entered edit mode. /// The editing element within the cell container. public DataGridPreparingCellForEditEventArgs(DataGridColumn column, DataGridRow row, RoutedEventArgs editingEventArgs, FrameworkElement editingElement) { _dataGridColumn = column; _dataGridRow = row; _editingEventArgs = editingEventArgs; _editingElement = editingElement; } ////// The column of the cell that just entered edit mode. /// public DataGridColumn Column { get { return _dataGridColumn; } } ////// The row container that contains the cell container that just entered edit mode. /// public DataGridRow Row { get { return _dataGridRow; } } ////// The event arguments, if any, that led to the cell being placed in edit mode. /// public RoutedEventArgs EditingEventArgs { get { return _editingEventArgs; } } ////// The editing element within the cell container. /// public FrameworkElement EditingElement { get { return _editingElement; } } private DataGridColumn _dataGridColumn; private DataGridRow _dataGridRow; private RoutedEventArgs _editingEventArgs; private FrameworkElement _editingElement; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HtmlShim.cs
- PropertyInfoSet.cs
- LocatorGroup.cs
- IResourceProvider.cs
- RangeValidator.cs
- OptimalTextSource.cs
- InternalUserCancelledException.cs
- NestPullup.cs
- ValidationRule.cs
- CheckBoxFlatAdapter.cs
- HitTestFilterBehavior.cs
- EnumUnknown.cs
- SqlReorderer.cs
- Stack.cs
- PropertyItem.cs
- DoWorkEventArgs.cs
- ByteAnimationBase.cs
- RichTextBoxContextMenu.cs
- ConfigXmlDocument.cs
- ProxyWebPartManager.cs
- DictionaryBase.cs
- WindowsRichEdit.cs
- Random.cs
- CompositeCollection.cs
- CodeNamespaceImport.cs
- SizeAnimation.cs
- ZoneIdentityPermission.cs
- NetMsmqSecurityElement.cs
- SerialReceived.cs
- ArrowControl.xaml.cs
- FlowLayoutSettings.cs
- TextLineBreak.cs
- UInt32Storage.cs
- streamingZipPartStream.cs
- WindowInteractionStateTracker.cs
- TextTreeUndoUnit.cs
- OdbcParameter.cs
- PropertyDescriptorGridEntry.cs
- CompilerLocalReference.cs
- Win32Native.cs
- EdmScalarPropertyAttribute.cs
- ShaderEffect.cs
- ControlAdapter.cs
- ColorPalette.cs
- ReliableReplySessionChannel.cs
- PriorityRange.cs
- SynchronizationScope.cs
- LayoutTableCell.cs
- PropertyChangedEventArgs.cs
- GestureRecognizer.cs
- XmlNamespaceMapping.cs
- Matrix3DValueSerializer.cs
- TextEditorCopyPaste.cs
- GlobalizationAssembly.cs
- FlowDocumentReaderAutomationPeer.cs
- LabelLiteral.cs
- RelationshipFixer.cs
- TargetConverter.cs
- VisualTarget.cs
- AppDomainUnloadedException.cs
- ComboBoxRenderer.cs
- AndMessageFilterTable.cs
- SystemSounds.cs
- HtmlTableCellCollection.cs
- CalendarItem.cs
- ListBoxItem.cs
- Visitors.cs
- ToolBar.cs
- LoginUtil.cs
- LocalizedNameDescriptionPair.cs
- QilBinary.cs
- TiffBitmapEncoder.cs
- DataRelationCollection.cs
- StateElement.cs
- SHA512.cs
- regiisutil.cs
- IsolatedStorageFilePermission.cs
- ValueTypeFixupInfo.cs
- GeneralTransform.cs
- SR.cs
- VirtualizingStackPanel.cs
- RelatedImageListAttribute.cs
- regiisutil.cs
- ConfigDefinitionUpdates.cs
- HighlightComponent.cs
- JapaneseLunisolarCalendar.cs
- SortDescription.cs
- TypeLibConverter.cs
- FrameworkRichTextComposition.cs
- GridViewRow.cs
- WizardForm.cs
- HorizontalAlignConverter.cs
- SHA512.cs
- ExpressionStringBuilder.cs
- basemetadatamappingvisitor.cs
- HandledEventArgs.cs
- WindowsTreeView.cs
- VectorAnimationBase.cs
- ClientTarget.cs
- ScriptComponentDescriptor.cs