Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / DataGridCellEditEndingEventArgs.cs / 1305600 / DataGridCellEditEndingEventArgs.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 cell exits edit mode. /// public class DataGridCellEditEndingEventArgs : EventArgs { ////// Instantiates a new instance of this class. /// /// The column of the cell that is about to exit edit mode. /// The row container of the cell container that is about to exit edit mode. /// The editing element within the cell. /// The editing unit that is about to leave edit mode. public DataGridCellEditEndingEventArgs(DataGridColumn column, DataGridRow row, FrameworkElement editingElement, DataGridEditAction editAction) { _dataGridColumn = column; _dataGridRow = row; _editingElement = editingElement; _editAction = editAction; } ////// When true, prevents the cell from exiting edit mode. /// public bool Cancel { get { return _cancel; } set { _cancel = value; } } ////// The column of the cell that is about to exit edit mode. /// public DataGridColumn Column { get { return _dataGridColumn; } } ////// The row container of the cell container that is about to exit edit mode. /// public DataGridRow Row { get { return _dataGridRow; } } ////// The editing element within the cell. /// public FrameworkElement EditingElement { get { return _editingElement; } } ////// The edit action when leave edit mode. /// public DataGridEditAction EditAction { get { return _editAction; } } private bool _cancel; private DataGridColumn _dataGridColumn; private DataGridRow _dataGridRow; private FrameworkElement _editingElement; 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 cell exits edit mode. /// public class DataGridCellEditEndingEventArgs : EventArgs { ////// Instantiates a new instance of this class. /// /// The column of the cell that is about to exit edit mode. /// The row container of the cell container that is about to exit edit mode. /// The editing element within the cell. /// The editing unit that is about to leave edit mode. public DataGridCellEditEndingEventArgs(DataGridColumn column, DataGridRow row, FrameworkElement editingElement, DataGridEditAction editAction) { _dataGridColumn = column; _dataGridRow = row; _editingElement = editingElement; _editAction = editAction; } ////// When true, prevents the cell from exiting edit mode. /// public bool Cancel { get { return _cancel; } set { _cancel = value; } } ////// The column of the cell that is about to exit edit mode. /// public DataGridColumn Column { get { return _dataGridColumn; } } ////// The row container of the cell container that is about to exit edit mode. /// public DataGridRow Row { get { return _dataGridRow; } } ////// The editing element within the cell. /// public FrameworkElement EditingElement { get { return _editingElement; } } ////// The edit action when leave edit mode. /// public DataGridEditAction EditAction { get { return _editAction; } } private bool _cancel; private DataGridColumn _dataGridColumn; private DataGridRow _dataGridRow; private FrameworkElement _editingElement; 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
- SmtpLoginAuthenticationModule.cs
- ConstructorBuilder.cs
- RayHitTestParameters.cs
- Cell.cs
- UrlPath.cs
- DesignerHelpers.cs
- EndPoint.cs
- ExpressionQuoter.cs
- SoapMessage.cs
- ReadOnlyHierarchicalDataSource.cs
- PaintEvent.cs
- AuthenticationModuleElementCollection.cs
- BoundConstants.cs
- SyndicationContent.cs
- QueryReaderSettings.cs
- RelationshipSet.cs
- ParentUndoUnit.cs
- NativeMethods.cs
- ListenerElementsCollection.cs
- WebPartDescription.cs
- StrongNameHelpers.cs
- TextureBrush.cs
- ByteAnimationBase.cs
- ImmutableCollection.cs
- XmlText.cs
- CryptoApi.cs
- PeerNodeTraceRecord.cs
- Terminate.cs
- ProfileGroupSettings.cs
- ValidatingPropertiesEventArgs.cs
- DescendentsWalkerBase.cs
- WinFormsUtils.cs
- TextReader.cs
- ToolStripTextBox.cs
- DaylightTime.cs
- AQNBuilder.cs
- IndentedWriter.cs
- TextLine.cs
- BindValidator.cs
- _SslStream.cs
- ListViewSortEventArgs.cs
- TraceProvider.cs
- SqlDataSourceFilteringEventArgs.cs
- DBCSCodePageEncoding.cs
- RequestCacheEntry.cs
- TablePattern.cs
- Panel.cs
- XmlException.cs
- StylusPointPropertyId.cs
- CompModSwitches.cs
- RepeatBehavior.cs
- InstanceDataCollectionCollection.cs
- CalendarSelectionChangedEventArgs.cs
- FixedLineResult.cs
- DateTimeConverter2.cs
- ProvideValueServiceProvider.cs
- MultiBinding.cs
- RotateTransform.cs
- ImageCodecInfoPrivate.cs
- SeparatorAutomationPeer.cs
- ArrayItemValue.cs
- RealizedColumnsBlock.cs
- EntityType.cs
- PtsHelper.cs
- URIFormatException.cs
- NumberSubstitution.cs
- BamlRecords.cs
- RewritingValidator.cs
- Single.cs
- SpeechSynthesizer.cs
- StylusPointProperty.cs
- AttributeProviderAttribute.cs
- BinaryUtilClasses.cs
- ServiceControllerDesigner.cs
- AttributeCollection.cs
- BmpBitmapDecoder.cs
- DispatcherHookEventArgs.cs
- UInt16Storage.cs
- ThrowOnMultipleAssignment.cs
- TaiwanCalendar.cs
- MultiBindingExpression.cs
- DiscoveryEndpointValidator.cs
- entityreference_tresulttype.cs
- XmlNamespaceMappingCollection.cs
- HealthMonitoringSection.cs
- DataColumnChangeEvent.cs
- Context.cs
- login.cs
- WebPartTransformerAttribute.cs
- WrappedReader.cs
- XNodeNavigator.cs
- UnionQueryOperator.cs
- CheckBoxPopupAdapter.cs
- Literal.cs
- SqlDataReaderSmi.cs
- VersionedStreamOwner.cs
- DataSourceView.cs
- EventMappingSettingsCollection.cs
- DrawListViewItemEventArgs.cs
- TemplatedEditableDesignerRegion.cs