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
- HttpResponseHeader.cs
- DataContractSerializerSection.cs
- XmlAutoDetectWriter.cs
- RotateTransform.cs
- MSG.cs
- StrokeNode.cs
- CustomCredentialPolicy.cs
- FontStyles.cs
- NavigationExpr.cs
- Verify.cs
- InternalPermissions.cs
- assemblycache.cs
- StructureChangedEventArgs.cs
- CodeDelegateInvokeExpression.cs
- PagesSection.cs
- FixedPageAutomationPeer.cs
- ParentUndoUnit.cs
- ComplexLine.cs
- HotSpot.cs
- Attributes.cs
- WebBrowserContainer.cs
- StateItem.cs
- _NegoStream.cs
- StrokeNode.cs
- TextRangeProviderWrapper.cs
- GestureRecognitionResult.cs
- StringUtil.cs
- RegexRunnerFactory.cs
- UseManagedPresentationBindingElementImporter.cs
- ImageCollectionEditor.cs
- CardSpaceSelector.cs
- PropertyPathConverter.cs
- CreateUserWizardStep.cs
- SerializationInfoEnumerator.cs
- NativeRecognizer.cs
- Trace.cs
- GridViewHeaderRowPresenter.cs
- ChangeTracker.cs
- DataGridViewCellValidatingEventArgs.cs
- PageTheme.cs
- ImpersonationContext.cs
- DataSource.cs
- DesignBindingConverter.cs
- ControlAdapter.cs
- IsolatedStorageException.cs
- SQLMoneyStorage.cs
- CursorConverter.cs
- TypeTypeConverter.cs
- MessageEncoder.cs
- ContentDisposition.cs
- MatrixCamera.cs
- ColorTransformHelper.cs
- NullReferenceException.cs
- LabelInfo.cs
- EntityDataSourceView.cs
- MediaContext.cs
- DispatcherSynchronizationContext.cs
- XmlIlVisitor.cs
- HttpChannelListener.cs
- FileSystemEventArgs.cs
- DbUpdateCommandTree.cs
- InputDevice.cs
- DetailsViewUpdateEventArgs.cs
- FaultPropagationQuery.cs
- AccessibleObject.cs
- KeyToListMap.cs
- ValidatorCompatibilityHelper.cs
- SettingsPropertyValue.cs
- PropertyManager.cs
- AssociatedControlConverter.cs
- MessageQueueAccessControlEntry.cs
- DataGridViewCell.cs
- DynamicArgumentDesigner.xaml.cs
- WebFaultClientMessageInspector.cs
- HostProtectionPermission.cs
- DataGridViewTopLeftHeaderCell.cs
- XPathEmptyIterator.cs
- EntityDesignPluralizationHandler.cs
- SqlException.cs
- FunctionMappingTranslator.cs
- SoapHeaders.cs
- HuffmanTree.cs
- DataServiceProcessingPipeline.cs
- TextRenderer.cs
- ReadOnlyCollection.cs
- Comparer.cs
- Math.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- DrawingGroup.cs
- SerialPort.cs
- RowType.cs
- WorkflowDefinitionDispenser.cs
- DbDeleteCommandTree.cs
- UserInitiatedNavigationPermission.cs
- CompositeFontFamily.cs
- XmlDigitalSignatureProcessor.cs
- StyleModeStack.cs
- ActivityXamlServices.cs
- HwndAppCommandInputProvider.cs
- LoginDesigner.cs