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
- MessageQueueInstaller.cs
- LocatorPartList.cs
- itemelement.cs
- MembershipUser.cs
- ToolboxItemImageConverter.cs
- AdPostCacheSubstitution.cs
- DuplicateContext.cs
- MenuEventArgs.cs
- Repeater.cs
- OleDbDataReader.cs
- WindowsTokenRoleProvider.cs
- HelloMessageApril2005.cs
- DataGridViewCellParsingEventArgs.cs
- PrinterSettings.cs
- ParameterElement.cs
- XmlValidatingReader.cs
- FormsAuthenticationEventArgs.cs
- ListControl.cs
- DiscoveryDocumentLinksPattern.cs
- EditBehavior.cs
- MemberProjectionIndex.cs
- MenuItemAutomationPeer.cs
- SelectionHighlightInfo.cs
- CatalogPart.cs
- NotSupportedException.cs
- OleDbReferenceCollection.cs
- TrustDriver.cs
- PathSegment.cs
- BoolExpressionVisitors.cs
- NetNamedPipeSecurityMode.cs
- MetabaseSettings.cs
- ChangeProcessor.cs
- UpdateManifestForBrowserApplication.cs
- CollectionViewGroupRoot.cs
- PropVariant.cs
- MiniLockedBorderGlyph.cs
- ColumnWidthChangedEvent.cs
- CodeValidator.cs
- DrawingCollection.cs
- ParserStack.cs
- SizeValueSerializer.cs
- SafeNativeMethods.cs
- NativeMethods.cs
- ContentElement.cs
- PaintEvent.cs
- ListDictionary.cs
- Properties.cs
- Utils.cs
- WebPartsSection.cs
- TimerElapsedEvenArgs.cs
- GridViewCommandEventArgs.cs
- ManualWorkflowSchedulerService.cs
- OperationAbortedException.cs
- Repeater.cs
- DataGridAutomationPeer.cs
- HttpWebRequestElement.cs
- DetailsViewCommandEventArgs.cs
- EntityParameterCollection.cs
- XmlUtf8RawTextWriter.cs
- SymbolDocumentGenerator.cs
- RequestCacheManager.cs
- DataBoundLiteralControl.cs
- DataGridView.cs
- DataGridViewTopLeftHeaderCell.cs
- SystemPens.cs
- DataBinder.cs
- DesignerResources.cs
- CodeTypeReferenceSerializer.cs
- Themes.cs
- TextUtf8RawTextWriter.cs
- WizardPanel.cs
- TraceLevelHelper.cs
- SqlCommandBuilder.cs
- TraceHandler.cs
- X509RecipientCertificateClientElement.cs
- RegistrySecurity.cs
- ScriptIgnoreAttribute.cs
- DeferredElementTreeState.cs
- DataGridDetailsPresenter.cs
- RegexNode.cs
- NameValueCollection.cs
- Missing.cs
- ServiceSecurityContext.cs
- EndpointAddressProcessor.cs
- XmlWriterTraceListener.cs
- SqlProcedureAttribute.cs
- EntityContainerEntitySet.cs
- DbConnectionPoolIdentity.cs
- PointHitTestResult.cs
- _Win32.cs
- SystemNetworkInterface.cs
- BindingListCollectionView.cs
- SimpleTextLine.cs
- RelationshipConstraintValidator.cs
- SingleStorage.cs
- AppDomainResourcePerfCounters.cs
- ExpressionBuilder.cs
- CodeArrayIndexerExpression.cs
- CharStorage.cs
- PermissionSetEnumerator.cs