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
- SymLanguageVendor.cs
- HtmlSelect.cs
- Exception.cs
- HwndHost.cs
- SwitchAttribute.cs
- ScriptModule.cs
- SystemIcmpV6Statistics.cs
- TextClipboardData.cs
- DataGridViewCellValueEventArgs.cs
- ReadOnlyHierarchicalDataSource.cs
- TextContainerHelper.cs
- Attributes.cs
- HostProtectionException.cs
- Propagator.Evaluator.cs
- XmlTextReaderImplHelpers.cs
- GridPatternIdentifiers.cs
- QilList.cs
- DurableOperationAttribute.cs
- RowUpdatedEventArgs.cs
- DataServiceEntityAttribute.cs
- SizeConverter.cs
- ReadOnlyCollectionBase.cs
- Action.cs
- HttpApplication.cs
- Int32Collection.cs
- WaitHandle.cs
- DesignerVerbToolStripMenuItem.cs
- MsmqIntegrationBindingElement.cs
- DispatcherExceptionEventArgs.cs
- MessageBodyMemberAttribute.cs
- Unit.cs
- Triplet.cs
- TextRange.cs
- IndicCharClassifier.cs
- MouseGestureConverter.cs
- ColorConverter.cs
- Int64Converter.cs
- DataSourceExpression.cs
- BaseComponentEditor.cs
- WeakRefEnumerator.cs
- RenderData.cs
- SmtpNtlmAuthenticationModule.cs
- BypassElement.cs
- RelationshipManager.cs
- SecureUICommand.cs
- StylusEventArgs.cs
- GCHandleCookieTable.cs
- PerspectiveCamera.cs
- StatusBarAutomationPeer.cs
- XmlHierarchyData.cs
- ProjectionPruner.cs
- ExternalException.cs
- SqlRetyper.cs
- Roles.cs
- UserControlParser.cs
- QilParameter.cs
- NavigationCommands.cs
- CounterSample.cs
- EndpointBehaviorElementCollection.cs
- X509AsymmetricSecurityKey.cs
- Int16AnimationBase.cs
- ArrayWithOffset.cs
- RectangleGeometry.cs
- OneToOneMappingSerializer.cs
- SizeConverter.cs
- ToolBarTray.cs
- EventLogReader.cs
- _SSPISessionCache.cs
- DocumentSchemaValidator.cs
- Parser.cs
- AssertFilter.cs
- HandlerFactoryWrapper.cs
- PromptEventArgs.cs
- XmlILTrace.cs
- FixedSOMSemanticBox.cs
- TabletDevice.cs
- CurrentChangingEventManager.cs
- PropertyAccessVisitor.cs
- ContainerUtilities.cs
- basemetadatamappingvisitor.cs
- WmlObjectListAdapter.cs
- Sentence.cs
- ScaleTransform3D.cs
- dbenumerator.cs
- IndentedTextWriter.cs
- EventWaitHandle.cs
- SqlDuplicator.cs
- Helpers.cs
- Effect.cs
- QuotedStringWriteStateInfo.cs
- GestureRecognitionResult.cs
- MetadataPropertyAttribute.cs
- DateTimePicker.cs
- QuaternionIndependentAnimationStorage.cs
- DataGridViewColumnEventArgs.cs
- ProfileSettings.cs
- CookieParameter.cs
- PropertyGridCommands.cs
- DbParameterCollectionHelper.cs
- ApplicationContext.cs