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
- Overlapped.cs
- MsmqIntegrationMessageProperty.cs
- NegotiateStream.cs
- CharKeyFrameCollection.cs
- SortedList.cs
- ListBoxItemWrapperAutomationPeer.cs
- AdornerLayer.cs
- FilteredReadOnlyMetadataCollection.cs
- MSAAEventDispatcher.cs
- UserControlCodeDomTreeGenerator.cs
- XPathDocumentBuilder.cs
- XmlWhitespace.cs
- Application.cs
- DefaultAssemblyResolver.cs
- TraceProvider.cs
- ToolboxCategory.cs
- EnumDataContract.cs
- SourceSwitch.cs
- LocatorPartList.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- HwndMouseInputProvider.cs
- ToolStripInSituService.cs
- ReturnType.cs
- SslStream.cs
- InvokePattern.cs
- LinqDataSourceDeleteEventArgs.cs
- WebPartConnectionsConnectVerb.cs
- SqlConnectionStringBuilder.cs
- ImageAttributes.cs
- MeasurementDCInfo.cs
- DesignTimeVisibleAttribute.cs
- ZipIOLocalFileHeader.cs
- XmlSchemaProviderAttribute.cs
- BufferedReadStream.cs
- SafeMILHandleMemoryPressure.cs
- AppDomain.cs
- FreezableCollection.cs
- TypeLibConverter.cs
- DataSet.cs
- OracleFactory.cs
- GetPageCompletedEventArgs.cs
- ProviderUtil.cs
- StandardOleMarshalObject.cs
- XmlBoundElement.cs
- Mutex.cs
- BaseDataBoundControl.cs
- SecurityProtocolCorrelationState.cs
- EventInfo.cs
- SqlWriter.cs
- UpdateExpressionVisitor.cs
- KeyFrames.cs
- CachedBitmap.cs
- RuleInfoComparer.cs
- TemplateControlCodeDomTreeGenerator.cs
- PauseStoryboard.cs
- DataDesignUtil.cs
- CriticalExceptions.cs
- HwndTarget.cs
- HttpCacheParams.cs
- IPAddress.cs
- ScalarRestriction.cs
- DataMemberFieldEditor.cs
- EmptyEnumerable.cs
- CodeAttributeDeclaration.cs
- FunctionUpdateCommand.cs
- Control.cs
- FontClient.cs
- QilChoice.cs
- ScalarOps.cs
- IDReferencePropertyAttribute.cs
- Table.cs
- SqlBinder.cs
- Calendar.cs
- CookielessHelper.cs
- MergeFilterQuery.cs
- EasingFunctionBase.cs
- DBConcurrencyException.cs
- TabItemAutomationPeer.cs
- complextypematerializer.cs
- HtmlInputSubmit.cs
- FileLevelControlBuilderAttribute.cs
- Odbc32.cs
- PropertyTabAttribute.cs
- EventsTab.cs
- ImpersonationContext.cs
- DesignerObject.cs
- HtmlInputControl.cs
- ErrorStyle.cs
- HostingEnvironmentSection.cs
- Overlapped.cs
- Byte.cs
- Process.cs
- XmlQueryContext.cs
- ScrollEvent.cs
- DataBoundControl.cs
- DesignTimeTemplateParser.cs
- JavaScriptSerializer.cs
- ObjectDisposedException.cs
- BCryptHashAlgorithm.cs
- ToolstripProfessionalRenderer.cs