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
- StyleCollectionEditor.cs
- ProgressBarHighlightConverter.cs
- ToolStripControlHost.cs
- DataGridViewCellFormattingEventArgs.cs
- ScriptComponentDescriptor.cs
- SoapCodeExporter.cs
- SqlDataSourceParameterParser.cs
- DataList.cs
- ImageDrawing.cs
- ValueType.cs
- SecurityCriticalDataForSet.cs
- CompilerScope.cs
- ContentType.cs
- ScriptingScriptResourceHandlerSection.cs
- UnsafeNativeMethods.cs
- DigestTraceRecordHelper.cs
- RegistryPermission.cs
- DependentTransaction.cs
- AlternateViewCollection.cs
- WebPartDescriptionCollection.cs
- XmlValueConverter.cs
- RecipientInfo.cs
- XmlSchemaDatatype.cs
- odbcmetadatacolumnnames.cs
- ForwardPositionQuery.cs
- DataTransferEventArgs.cs
- RegularExpressionValidator.cs
- SimpleType.cs
- TextBreakpoint.cs
- DifferencingCollection.cs
- StrokeRenderer.cs
- GlyphRun.cs
- WindowsPen.cs
- XPathNavigator.cs
- ISAPIWorkerRequest.cs
- DataGridViewLayoutData.cs
- ObservableCollection.cs
- TextView.cs
- AsymmetricKeyExchangeDeformatter.cs
- GridViewColumnHeaderAutomationPeer.cs
- ObjectStateManagerMetadata.cs
- ParameterBuilder.cs
- ScrollItemPatternIdentifiers.cs
- HttpCacheVaryByContentEncodings.cs
- ValidationEventArgs.cs
- WebPartMovingEventArgs.cs
- TransformGroup.cs
- ComboBoxAutomationPeer.cs
- DetailsViewInsertEventArgs.cs
- MonthCalendar.cs
- PaintEvent.cs
- DecimalConverter.cs
- TripleDES.cs
- Journaling.cs
- SafeSystemMetrics.cs
- InputManager.cs
- SerialReceived.cs
- PolicyManager.cs
- HttpRequest.cs
- Perspective.cs
- Style.cs
- PixelFormat.cs
- FormViewUpdatedEventArgs.cs
- TemplateParser.cs
- ExtractedStateEntry.cs
- PerspectiveCamera.cs
- ProgressBarRenderer.cs
- XPathParser.cs
- JournalEntryListConverter.cs
- SystemColors.cs
- Region.cs
- SqlServer2KCompatibilityCheck.cs
- RemoveStoryboard.cs
- DoubleLink.cs
- HostingEnvironmentException.cs
- LogicalMethodInfo.cs
- QilExpression.cs
- ApplicationServiceManager.cs
- ToolStripItemEventArgs.cs
- XmlAtomErrorReader.cs
- LinkDescriptor.cs
- MethodBuilderInstantiation.cs
- QuestionEventArgs.cs
- Instrumentation.cs
- Misc.cs
- KeyConstraint.cs
- DecodeHelper.cs
- TextEditorSpelling.cs
- WebPermission.cs
- ModelUIElement3D.cs
- FullTrustAssembly.cs
- ItemDragEvent.cs
- ConfigXmlComment.cs
- BooleanAnimationUsingKeyFrames.cs
- ReferentialConstraint.cs
- RadioButton.cs
- UInt16.cs
- LoadedOrUnloadedOperation.cs
- LiteralText.cs
- SqlBuffer.cs