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
- MaskedTextBox.cs
- SafeNativeMethods.cs
- PropertyMetadata.cs
- TextDecorations.cs
- EventDrivenDesigner.cs
- RowVisual.cs
- QilScopedVisitor.cs
- Polyline.cs
- ToolstripProfessionalRenderer.cs
- CommandEventArgs.cs
- ConfigsHelper.cs
- AllMembershipCondition.cs
- ChtmlTextBoxAdapter.cs
- Int64.cs
- ContextMarshalException.cs
- ToolStripDropDown.cs
- Pens.cs
- ItemsPresenter.cs
- HeaderUtility.cs
- QueryExpression.cs
- ProgressPage.cs
- XmlNamespaceMappingCollection.cs
- MailAddressParser.cs
- ResolvePPIDRequest.cs
- StackSpiller.cs
- oledbmetadatacolumnnames.cs
- PanelDesigner.cs
- DataSourceCacheDurationConverter.cs
- PersistNameAttribute.cs
- InheritanceContextHelper.cs
- DefaultMemberAttribute.cs
- ChannelEndpointElement.cs
- NameNode.cs
- RoleGroupCollection.cs
- UriSection.cs
- ClientScriptManagerWrapper.cs
- MergablePropertyAttribute.cs
- HtmlShimManager.cs
- DragSelectionMessageFilter.cs
- MetadataSource.cs
- UpdateCompiler.cs
- DrawingGroup.cs
- ResourcesChangeInfo.cs
- XMLSyntaxException.cs
- XslTransform.cs
- MetadataHelper.cs
- TextBounds.cs
- AssemblyName.cs
- OdbcPermission.cs
- GeometryCombineModeValidation.cs
- SelectedDatesCollection.cs
- VoiceChangeEventArgs.cs
- JulianCalendar.cs
- PreservationFileReader.cs
- Int16AnimationBase.cs
- TextRangeSerialization.cs
- Exception.cs
- XLinq.cs
- ValidationResult.cs
- BulletedList.cs
- XmlNodeReader.cs
- SQLRoleProvider.cs
- StreamReader.cs
- UIElementIsland.cs
- GPPOINTF.cs
- X509Certificate2Collection.cs
- infer.cs
- ValidationSummary.cs
- ReflectEventDescriptor.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- ListViewInsertionMark.cs
- ComplexTypeEmitter.cs
- TableCellCollection.cs
- HashStream.cs
- TypeName.cs
- ProfileSection.cs
- ButtonAutomationPeer.cs
- TypeBinaryExpression.cs
- ToolboxBitmapAttribute.cs
- List.cs
- LinkLabelLinkClickedEvent.cs
- RSAPKCS1SignatureFormatter.cs
- DesignerActionKeyboardBehavior.cs
- ExtractorMetadata.cs
- AnchoredBlock.cs
- PeerApplicationLaunchInfo.cs
- HttpBufferlessInputStream.cs
- DropShadowBitmapEffect.cs
- CellQuery.cs
- NativeMethods.cs
- BindingCollection.cs
- RTLAwareMessageBox.cs
- TextEditorTyping.cs
- NumericUpDown.cs
- Timer.cs
- BufferedGraphics.cs
- DataGridPagingPage.cs
- CodeTypeDeclarationCollection.cs
- PathFigureCollection.cs
- HealthMonitoringSectionHelper.cs