Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / DataGridCellEditEndingEventArgs.cs / 1305600 / DataGridCellEditEndingEventArgs.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.Windows; using System.Windows.Input; namespace System.Windows.Controls { ////// Provides information just before a cell exits edit mode. /// public class DataGridCellEditEndingEventArgs : EventArgs { ////// Instantiates a new instance of this class. /// /// The column of the cell that is about to exit edit mode. /// The row container of the cell container that is about to exit edit mode. /// The editing element within the cell. /// The editing unit that is about to leave edit mode. public DataGridCellEditEndingEventArgs(DataGridColumn column, DataGridRow row, FrameworkElement editingElement, DataGridEditAction editAction) { _dataGridColumn = column; _dataGridRow = row; _editingElement = editingElement; _editAction = editAction; } ////// When true, prevents the cell from exiting edit mode. /// public bool Cancel { get { return _cancel; } set { _cancel = value; } } ////// The column of the cell that is about to exit edit mode. /// public DataGridColumn Column { get { return _dataGridColumn; } } ////// The row container of the cell container that is about to exit edit mode. /// public DataGridRow Row { get { return _dataGridRow; } } ////// The editing element within the cell. /// public FrameworkElement EditingElement { get { return _editingElement; } } ////// The edit action when leave edit mode. /// public DataGridEditAction EditAction { get { return _editAction; } } private bool _cancel; private DataGridColumn _dataGridColumn; private DataGridRow _dataGridRow; private FrameworkElement _editingElement; private DataGridEditAction _editAction; } } // 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
- DesignerAttribute.cs
- NumericPagerField.cs
- WizardPanel.cs
- ChineseLunisolarCalendar.cs
- PageContent.cs
- DataGridViewImageColumn.cs
- BindingValueChangedEventArgs.cs
- RenderCapability.cs
- HMACSHA384.cs
- PageThemeCodeDomTreeGenerator.cs
- TabControlEvent.cs
- GenericEnumerator.cs
- FileDialog.cs
- cache.cs
- PostBackOptions.cs
- PolyBezierSegmentFigureLogic.cs
- InheritablePropertyChangeInfo.cs
- MergeFilterQuery.cs
- DashStyles.cs
- LoginName.cs
- WmlValidatorAdapter.cs
- ListViewPagedDataSource.cs
- Message.cs
- formatstringdialog.cs
- SerialPinChanges.cs
- GenericIdentity.cs
- ScrollItemPatternIdentifiers.cs
- OSFeature.cs
- NavigationProperty.cs
- XslAstAnalyzer.cs
- ReflectTypeDescriptionProvider.cs
- XmlReturnReader.cs
- AccessText.cs
- XPathNavigator.cs
- PeerToPeerException.cs
- StylusSystemGestureEventArgs.cs
- safelinkcollection.cs
- DateTimeParse.cs
- ToolStripSeparator.cs
- DateTime.cs
- MemoryFailPoint.cs
- sqlcontext.cs
- Thread.cs
- OperatingSystem.cs
- OleStrCAMarshaler.cs
- HtmlControlPersistable.cs
- ISessionStateStore.cs
- DragCompletedEventArgs.cs
- XNodeValidator.cs
- WebPartMovingEventArgs.cs
- CodeExporter.cs
- DataServiceResponse.cs
- TypeConverterAttribute.cs
- UIElement3DAutomationPeer.cs
- TemplateBaseAction.cs
- StringWriter.cs
- SchemaMapping.cs
- Timer.cs
- OracleConnectionString.cs
- UserControl.cs
- FormViewInsertedEventArgs.cs
- FlowDocumentReader.cs
- GZipDecoder.cs
- QuestionEventArgs.cs
- FilterQuery.cs
- XmlSchema.cs
- PopupRootAutomationPeer.cs
- SiteMapNodeItemEventArgs.cs
- CompilationSection.cs
- latinshape.cs
- BindingCollection.cs
- Helpers.cs
- Trustee.cs
- DefinitionBase.cs
- RenderCapability.cs
- BaseComponentEditor.cs
- SizeF.cs
- _SslStream.cs
- UnknownBitmapEncoder.cs
- ScrollItemPatternIdentifiers.cs
- SoapTypeAttribute.cs
- XmlNodeList.cs
- ExistsInCollection.cs
- TypeNameHelper.cs
- DataServiceClientException.cs
- VisualStates.cs
- VirtualizedItemProviderWrapper.cs
- QueueProcessor.cs
- ComponentManagerBroker.cs
- SubtreeProcessor.cs
- BufferedGraphics.cs
- UpdateCommandGenerator.cs
- ToolStrip.cs
- HelpInfo.cs
- ACL.cs
- WorkflowClientDeliverMessageWrapper.cs
- IProvider.cs
- EventMappingSettings.cs
- Win32NamedPipes.cs
- CodeMethodInvokeExpression.cs