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
- SchemaObjectWriter.cs
- DataSvcMapFileSerializer.cs
- EntityContainerAssociationSetEnd.cs
- PermissionToken.cs
- ToolZone.cs
- IRCollection.cs
- TextOptionsInternal.cs
- Point.cs
- ArgumentsParser.cs
- DropTarget.cs
- BamlVersionHeader.cs
- ImageList.cs
- ManagedFilter.cs
- JavaScriptObjectDeserializer.cs
- PackageRelationshipCollection.cs
- SafeFileMappingHandle.cs
- Int64.cs
- ToolBarOverflowPanel.cs
- _CacheStreams.cs
- DynamicControl.cs
- COM2IPerPropertyBrowsingHandler.cs
- ImmutablePropertyDescriptorGridEntry.cs
- FileUtil.cs
- Ref.cs
- FilteredDataSetHelper.cs
- ParserContext.cs
- MergeFilterQuery.cs
- PrinterUnitConvert.cs
- AttachedAnnotation.cs
- UnicodeEncoding.cs
- Shape.cs
- ToolStripOverflowButton.cs
- RegexRunnerFactory.cs
- SafeNativeMethods.cs
- TextEditorThreadLocalStore.cs
- DataColumnCollection.cs
- PreviewControlDesigner.cs
- XPathAncestorIterator.cs
- ZoomPercentageConverter.cs
- AddingNewEventArgs.cs
- GridViewSelectEventArgs.cs
- EasingQuaternionKeyFrame.cs
- ConfigViewGenerator.cs
- BufferModesCollection.cs
- ExpressionEditorAttribute.cs
- HealthMonitoringSectionHelper.cs
- ValueConversionAttribute.cs
- XslCompiledTransform.cs
- SafeNativeMethodsMilCoreApi.cs
- InkCanvasAutomationPeer.cs
- Transform3DGroup.cs
- clipboard.cs
- PerformanceCounter.cs
- RotateTransform.cs
- FilterQueryOptionExpression.cs
- NullReferenceException.cs
- SmiXetterAccessMap.cs
- SQLString.cs
- WindowsSysHeader.cs
- ConfigUtil.cs
- ActivityInstance.cs
- ConfigXmlText.cs
- XmlQueryRuntime.cs
- IncrementalHitTester.cs
- ViewStateChangedEventArgs.cs
- NativeCppClassAttribute.cs
- AsyncCompletedEventArgs.cs
- WriterOutput.cs
- IDReferencePropertyAttribute.cs
- LoopExpression.cs
- StylusLogic.cs
- BooleanStorage.cs
- ValidatorCompatibilityHelper.cs
- Cursors.cs
- InvokeProviderWrapper.cs
- RadioButtonPopupAdapter.cs
- SafeFileMappingHandle.cs
- BatchWriter.cs
- SimpleTableProvider.cs
- __FastResourceComparer.cs
- DocumentViewer.cs
- ActiveXSite.cs
- VisualProxy.cs
- ICollection.cs
- ReadOnlyDataSourceView.cs
- TransactionFormatter.cs
- DataTableReader.cs
- XmlNamespaceDeclarationsAttribute.cs
- Merger.cs
- ToolStripGrip.cs
- SyndicationPerson.cs
- Misc.cs
- RequestCacheManager.cs
- BaseTreeIterator.cs
- OutputCacheSettings.cs
- TaiwanLunisolarCalendar.cs
- ExceptionValidationRule.cs
- Typography.cs
- Pens.cs
- DesignerActionItemCollection.cs