Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / DataGridrowEditEndingEventArgs.cs / 1305600 / DataGridrowEditEndingEventArgs.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 row exits edit mode. /// public class DataGridRowEditEndingEventArgs : EventArgs { ////// Instantiates a new instance of this class. /// /// The row container of the cell container that is about to exit edit mode. /// The editing unit that is about to leave edit mode. public DataGridRowEditEndingEventArgs(DataGridRow row, DataGridEditAction editAction) { _dataGridRow = row; _editAction = editAction; } ////// When true, prevents the row from exiting edit mode. /// public bool Cancel { get { return _cancel; } set { _cancel = value; } } ////// The row container of the cell container that is about to exit edit mode. /// public DataGridRow Row { get { return _dataGridRow; } } ////// The edit action when leave edit mode. /// public DataGridEditAction EditAction { get { return _editAction; } } private bool _cancel; private DataGridRow _dataGridRow; private DataGridEditAction _editAction; } } // 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 just before a row exits edit mode. /// public class DataGridRowEditEndingEventArgs : EventArgs { ////// Instantiates a new instance of this class. /// /// The row container of the cell container that is about to exit edit mode. /// The editing unit that is about to leave edit mode. public DataGridRowEditEndingEventArgs(DataGridRow row, DataGridEditAction editAction) { _dataGridRow = row; _editAction = editAction; } ////// When true, prevents the row from exiting edit mode. /// public bool Cancel { get { return _cancel; } set { _cancel = value; } } ////// The row container of the cell container that is about to exit edit mode. /// public DataGridRow Row { get { return _dataGridRow; } } ////// The edit action when leave edit mode. /// public DataGridEditAction EditAction { get { return _editAction; } } private bool _cancel; private DataGridRow _dataGridRow; 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
- ContentDefinition.cs
- UnsafeNetInfoNativeMethods.cs
- AccessibleObject.cs
- TextTreeTextNode.cs
- CacheEntry.cs
- DataGridViewSelectedRowCollection.cs
- Model3D.cs
- HtmlShim.cs
- SqlDependency.cs
- TreeView.cs
- DesignerActionPanel.cs
- ColumnProvider.cs
- CacheEntry.cs
- ContentElement.cs
- RenderData.cs
- SocketException.cs
- RectAnimationClockResource.cs
- Button.cs
- _ConnectionGroup.cs
- SyntaxCheck.cs
- SuppressMessageAttribute.cs
- DefaultAutoFieldGenerator.cs
- TypedTableBase.cs
- SoapHttpTransportImporter.cs
- XmlLanguage.cs
- QuaternionConverter.cs
- InputLangChangeRequestEvent.cs
- AsyncOperation.cs
- SQLRoleProvider.cs
- QueryRewriter.cs
- HtmlShimManager.cs
- ExpressionNormalizer.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ResizingMessageFilter.cs
- SystemTcpConnection.cs
- WebPartConnection.cs
- Run.cs
- SystemIPGlobalProperties.cs
- DynamicDiscoveryDocument.cs
- TypeReference.cs
- PartitionResolver.cs
- FileIOPermission.cs
- CodeDOMUtility.cs
- FormsAuthenticationModule.cs
- ProfileService.cs
- CommandValueSerializer.cs
- ActiveXHost.cs
- ControlParameter.cs
- CodeTypeMember.cs
- PageFunction.cs
- LightweightCodeGenerator.cs
- ColumnResizeAdorner.cs
- DrawingAttributes.cs
- TriState.cs
- RunInstallerAttribute.cs
- ScriptingRoleServiceSection.cs
- LoopExpression.cs
- KeyFrames.cs
- TimelineGroup.cs
- DeclarativeCatalogPart.cs
- TimersDescriptionAttribute.cs
- OpenTypeCommon.cs
- ByteAnimationUsingKeyFrames.cs
- EventLogQuery.cs
- Storyboard.cs
- ProfileServiceManager.cs
- SupportsEventValidationAttribute.cs
- ContextCorrelationInitializer.cs
- TextDocumentView.cs
- DataGridViewImageCell.cs
- DeploymentSection.cs
- PermissionToken.cs
- FlowLayout.cs
- ScrollableControl.cs
- DataControlImageButton.cs
- FontNamesConverter.cs
- SymbolUsageManager.cs
- Vector3D.cs
- Screen.cs
- JsonXmlDataContract.cs
- CompilerTypeWithParams.cs
- RegexMatch.cs
- DataGridViewToolTip.cs
- PositiveTimeSpanValidator.cs
- SharedPersonalizationStateInfo.cs
- ProgressBar.cs
- PreservationFileWriter.cs
- ButtonColumn.cs
- BufferModesCollection.cs
- ParenthesizePropertyNameAttribute.cs
- AsnEncodedData.cs
- NTAccount.cs
- HttpProtocolImporter.cs
- XmlAttributeProperties.cs
- Viewport3DAutomationPeer.cs
- ObjectCacheHost.cs
- ReachSerializableProperties.cs
- RuntimeComponentFilter.cs
- RSAProtectedConfigurationProvider.cs
- FrameworkPropertyMetadata.cs