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
- SoapObjectReader.cs
- BitFlagsGenerator.cs
- SpeakCompletedEventArgs.cs
- DummyDataSource.cs
- SqlFunctions.cs
- HtmlElementCollection.cs
- Screen.cs
- ResourcesBuildProvider.cs
- Transform.cs
- FileAuthorizationModule.cs
- NonBatchDirectoryCompiler.cs
- Root.cs
- PointLightBase.cs
- CharacterHit.cs
- ConnectionStringsSection.cs
- XmlUtf8RawTextWriter.cs
- XmlArrayItemAttributes.cs
- TcpStreams.cs
- Memoizer.cs
- EventMap.cs
- VisualCollection.cs
- Selector.cs
- LoginView.cs
- RootDesignerSerializerAttribute.cs
- Popup.cs
- UnsafeNativeMethodsCLR.cs
- SkipQueryOptionExpression.cs
- NetworkInterface.cs
- RegistryKey.cs
- DataErrorValidationRule.cs
- ChangeNode.cs
- TrustManager.cs
- SystemIcons.cs
- Simplifier.cs
- TextDecorationCollectionConverter.cs
- WindowsImpersonationContext.cs
- ElementUtil.cs
- XsltContext.cs
- InputGestureCollection.cs
- ThreadStartException.cs
- ListViewItem.cs
- ReaderWriterLockWrapper.cs
- MenuItem.cs
- RightsManagementEncryptionTransform.cs
- TextSpanModifier.cs
- File.cs
- EventLogPermissionEntryCollection.cs
- OrderedDictionaryStateHelper.cs
- BufferedReadStream.cs
- SizeConverter.cs
- DynamicValidator.cs
- CharStorage.cs
- CharacterHit.cs
- ListViewItemCollectionEditor.cs
- RecordBuilder.cs
- TerminatingOperationBehavior.cs
- PackageDigitalSignature.cs
- PrefixHandle.cs
- UriParserTemplates.cs
- ISFTagAndGuidCache.cs
- UnaryNode.cs
- OleTxTransaction.cs
- SqlDataReader.cs
- WmlCommandAdapter.cs
- RouteUrlExpressionBuilder.cs
- TextFormatterImp.cs
- LogWriteRestartAreaState.cs
- Predicate.cs
- Wizard.cs
- MachineKeySection.cs
- BrowserCapabilitiesFactoryBase.cs
- ComponentEditorForm.cs
- ByteRangeDownloader.cs
- LocationSectionRecord.cs
- CodeArrayCreateExpression.cs
- DataGridViewBand.cs
- ToolStripCollectionEditor.cs
- DocobjHost.cs
- FilterQuery.cs
- Schema.cs
- DateTimeStorage.cs
- ToolboxBitmapAttribute.cs
- WebHttpBindingElement.cs
- FileDetails.cs
- CompileXomlTask.cs
- Underline.cs
- ReachFixedPageSerializerAsync.cs
- XmlCustomFormatter.cs
- XmlCompatibilityReader.cs
- Table.cs
- SharedConnectionWorkflowTransactionService.cs
- CommonObjectSecurity.cs
- ApplicationServiceHelper.cs
- DetailsViewCommandEventArgs.cs
- TrackingMemoryStream.cs
- ZipIOExtraFieldPaddingElement.cs
- AsyncStreamReader.cs
- UserNameServiceElement.cs
- followingsibling.cs
- WebHttpEndpointElement.cs