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
- SQLDecimal.cs
- LinkedResourceCollection.cs
- FixedTextPointer.cs
- PolyBezierSegment.cs
- ConfigurationFileMap.cs
- XamlParser.cs
- WindowsListViewItemStartMenu.cs
- SizeAnimationBase.cs
- TraceProvider.cs
- DocumentsTrace.cs
- MouseWheelEventArgs.cs
- ArraySegment.cs
- DependencyPropertyChangedEventArgs.cs
- CertificateManager.cs
- TypeConverterHelper.cs
- ImmutablePropertyDescriptorGridEntry.cs
- NativeStructs.cs
- QueuePropertyVariants.cs
- Point3D.cs
- BasicViewGenerator.cs
- ExpressionDumper.cs
- MostlySingletonList.cs
- SafeNativeMethods.cs
- CodePrimitiveExpression.cs
- ChannelPool.cs
- ActivationProxy.cs
- C14NUtil.cs
- HeaderCollection.cs
- FormsAuthenticationModule.cs
- WebPartMenuStyle.cs
- SyndicationDeserializer.cs
- ToRequest.cs
- SecurityToken.cs
- LockCookie.cs
- ListViewItemSelectionChangedEvent.cs
- XmlArrayItemAttribute.cs
- PolicyUnit.cs
- DPTypeDescriptorContext.cs
- TypeValidationEventArgs.cs
- wmiprovider.cs
- ProxyWebPart.cs
- ServiceNotStartedException.cs
- XsltFunctions.cs
- TextEditorSelection.cs
- InputProcessorProfilesLoader.cs
- NeutralResourcesLanguageAttribute.cs
- DefaultBinder.cs
- WorkflowViewElement.cs
- SourceInterpreter.cs
- DataContractSerializerServiceBehavior.cs
- CompositionAdorner.cs
- MatchingStyle.cs
- XPathBuilder.cs
- DataSourceHelper.cs
- MultiView.cs
- OdbcHandle.cs
- DbProviderFactoriesConfigurationHandler.cs
- NotImplementedException.cs
- ExpressionConverter.cs
- CodeGenerator.cs
- CompilerParameters.cs
- DayRenderEvent.cs
- SchemaInfo.cs
- DefaultBinder.cs
- SecurityTokenAttachmentMode.cs
- FilterFactory.cs
- InputQueueChannel.cs
- VScrollBar.cs
- GridViewHeaderRowPresenter.cs
- ItemsControlAutomationPeer.cs
- _SslSessionsCache.cs
- Socket.cs
- EventMappingSettings.cs
- PipeSecurity.cs
- IDReferencePropertyAttribute.cs
- ObjectPersistData.cs
- OleDbParameterCollection.cs
- AsyncPostBackErrorEventArgs.cs
- ResourceExpressionEditorSheet.cs
- SchemaMerger.cs
- TextProviderWrapper.cs
- ServiceDefaults.cs
- PeerCustomResolverElement.cs
- ConfigXmlElement.cs
- CodeAttributeDeclarationCollection.cs
- smtpconnection.cs
- XmlDocumentFragment.cs
- GradientBrush.cs
- SqlBinder.cs
- HtmlToClrEventProxy.cs
- MultiByteCodec.cs
- basenumberconverter.cs
- DBPropSet.cs
- invalidudtexception.cs
- UpdateException.cs
- objectquery_tresulttype.cs
- XamlToRtfWriter.cs
- ImportContext.cs
- DrawingAttributeSerializer.cs
- BufferedWebEventProvider.cs