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
- UriScheme.cs
- GenericNameHandler.cs
- ColumnResult.cs
- DropShadowBitmapEffect.cs
- CompletionCallbackWrapper.cs
- InputLanguageSource.cs
- DurableRuntimeValidator.cs
- BaseTemplateParser.cs
- SqlDataSourceConnectionPanel.cs
- SqlComparer.cs
- SystemEvents.cs
- Panel.cs
- SmiEventSink_Default.cs
- HttpModuleCollection.cs
- HostVisual.cs
- SignatureResourcePool.cs
- VirtualDirectoryMappingCollection.cs
- Misc.cs
- MailMessageEventArgs.cs
- RegexMatchCollection.cs
- ZoneButton.cs
- Parser.cs
- GroupBox.cs
- TextLineBreak.cs
- NativeMethods.cs
- JsonDataContract.cs
- XmlSchemaImporter.cs
- MemberRestriction.cs
- DocumentViewerHelper.cs
- MouseWheelEventArgs.cs
- NameNode.cs
- XmlTypeAttribute.cs
- EntityViewGenerator.cs
- ComponentDispatcher.cs
- FieldMetadata.cs
- Exceptions.cs
- ApplicationFileCodeDomTreeGenerator.cs
- MemoryPressure.cs
- SqlProcedureAttribute.cs
- PolyLineSegment.cs
- BrushConverter.cs
- EmptyReadOnlyDictionaryInternal.cs
- ObjectDataSourceDisposingEventArgs.cs
- JoinCqlBlock.cs
- StaticFileHandler.cs
- SQLGuidStorage.cs
- DataListItemCollection.cs
- SystemColors.cs
- UserInitiatedNavigationPermission.cs
- QueryCursorEventArgs.cs
- HttpProfileBase.cs
- Button.cs
- TextPattern.cs
- WebServiceClientProxyGenerator.cs
- PbrsForward.cs
- MultiTrigger.cs
- PipelineModuleStepContainer.cs
- ProofTokenCryptoHandle.cs
- Helpers.cs
- GridItemProviderWrapper.cs
- panel.cs
- cookiecontainer.cs
- DataAccessor.cs
- ADMembershipProvider.cs
- QueryContinueDragEventArgs.cs
- LinqDataSourceInsertEventArgs.cs
- PathFigure.cs
- WindowsFormsHostAutomationPeer.cs
- tibetanshape.cs
- X509ScopedServiceCertificateElementCollection.cs
- DaylightTime.cs
- FormViewPageEventArgs.cs
- GridToolTip.cs
- ColorInterpolationModeValidation.cs
- PathGradientBrush.cs
- IPipelineRuntime.cs
- OutArgumentConverter.cs
- IODescriptionAttribute.cs
- TransformedBitmap.cs
- HostingPreferredMapPath.cs
- _ConnectStream.cs
- SafeBitVector32.cs
- CommentAction.cs
- EncoderParameter.cs
- TreeNodeStyleCollection.cs
- MethodCallConverter.cs
- FormattedText.cs
- CheckBox.cs
- AuthenticationSection.cs
- TdsParserStaticMethods.cs
- DebugView.cs
- XmlConvert.cs
- UriSection.cs
- Button.cs
- DeflateStream.cs
- AdornerLayer.cs
- Rfc2898DeriveBytes.cs
- SecurityTokenException.cs
- DataBinder.cs
- EventLogPermissionEntryCollection.cs