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
- MetadataSection.cs
- DataServiceQueryProvider.cs
- ContainerAction.cs
- NativeMethods.cs
- TreeViewHitTestInfo.cs
- TypedTableHandler.cs
- sqlpipe.cs
- CodePropertyReferenceExpression.cs
- RepeaterCommandEventArgs.cs
- DocumentAutomationPeer.cs
- IBuiltInEvidence.cs
- XmlBufferReader.cs
- TraceContextRecord.cs
- ContentFileHelper.cs
- ParseNumbers.cs
- UpWmlPageAdapter.cs
- InheritanceAttribute.cs
- InputLanguageCollection.cs
- PageContent.cs
- FacetEnabledSchemaElement.cs
- StringValidatorAttribute.cs
- ConsoleTraceListener.cs
- TableAutomationPeer.cs
- HttpCacheVary.cs
- UserValidatedEventArgs.cs
- DataGridCommandEventArgs.cs
- FileDialog_Vista.cs
- MobileControlsSectionHandler.cs
- CodeDOMUtility.cs
- AQNBuilder.cs
- WindowsFormsEditorServiceHelper.cs
- Separator.cs
- ShapingEngine.cs
- WebHttpBinding.cs
- ValueQuery.cs
- StylusPointProperties.cs
- BufferBuilder.cs
- StyleConverter.cs
- SemaphoreFullException.cs
- GlyphRunDrawing.cs
- DropDownButton.cs
- SqlIdentifier.cs
- TreeNodeBindingCollection.cs
- ProcessModelInfo.cs
- TreeViewCancelEvent.cs
- FormDocumentDesigner.cs
- SqlStream.cs
- WebPartTracker.cs
- StateDesignerConnector.cs
- HttpChannelHelper.cs
- SafeNativeMethods.cs
- COMException.cs
- TextBlockAutomationPeer.cs
- RankException.cs
- TextTreeTextNode.cs
- ManualResetEvent.cs
- TimersDescriptionAttribute.cs
- ScriptControl.cs
- Freezable.cs
- Random.cs
- FloaterParaClient.cs
- ObjectDataSourceMethodEditor.cs
- KeyValueConfigurationCollection.cs
- DecoderBestFitFallback.cs
- CodeMemberProperty.cs
- GetResponse.cs
- PrintPreviewGraphics.cs
- DocumentApplicationJournalEntry.cs
- RijndaelManaged.cs
- ToReply.cs
- ToolboxComponentsCreatingEventArgs.cs
- ValidationRuleCollection.cs
- CellIdBoolean.cs
- CharacterShapingProperties.cs
- Point3DAnimationBase.cs
- ReaderWriterLock.cs
- JoinTreeSlot.cs
- BitmapFrameEncode.cs
- ImportCatalogPart.cs
- InputProcessorProfiles.cs
- CodeDomDesignerLoader.cs
- ListControl.cs
- EnvironmentPermission.cs
- Baml6Assembly.cs
- MessageQueueAccessControlEntry.cs
- StringSource.cs
- StaticContext.cs
- PowerModeChangedEventArgs.cs
- mongolianshape.cs
- TextServicesProperty.cs
- CellConstant.cs
- ExtensibleClassFactory.cs
- GPRECT.cs
- TextTreeRootNode.cs
- WinInetCache.cs
- ProgressBarBrushConverter.cs
- ValidatingPropertiesEventArgs.cs
- CacheEntry.cs
- ObjectSet.cs
- DataTableMappingCollection.cs