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
- TypedRowHandler.cs
- WpfKnownMemberInvoker.cs
- Pair.cs
- MetadataProperty.cs
- TreeBuilderBamlTranslator.cs
- DashStyles.cs
- SqlNodeAnnotation.cs
- ConfigXmlDocument.cs
- DayRenderEvent.cs
- KeyEvent.cs
- Brush.cs
- UInt32.cs
- CanonicalXml.cs
- Freezable.cs
- PublishLicense.cs
- DbDeleteCommandTree.cs
- ColorTranslator.cs
- ZipFileInfoCollection.cs
- DataGridViewTopRowAccessibleObject.cs
- ListBase.cs
- SelectionEditingBehavior.cs
- WebPartConnectionsConnectVerb.cs
- UniqueCodeIdentifierScope.cs
- MeasurementDCInfo.cs
- XmlSchemaAppInfo.cs
- ToolStripItemGlyph.cs
- InputLanguageManager.cs
- MsmqQueue.cs
- DllHostInitializer.cs
- RSACryptoServiceProvider.cs
- XsltConvert.cs
- WebPartConnectionsConnectVerb.cs
- CharUnicodeInfo.cs
- SvcMapFileSerializer.cs
- UIElement.cs
- JpegBitmapDecoder.cs
- OleDbDataReader.cs
- DBSqlParserColumnCollection.cs
- EmissiveMaterial.cs
- CalendarDataBindingHandler.cs
- PageClientProxyGenerator.cs
- SchemaSetCompiler.cs
- ComponentCollection.cs
- Wizard.cs
- UserControl.cs
- Wildcard.cs
- XmlObjectSerializerWriteContext.cs
- ListViewSelectEventArgs.cs
- TemplateNodeContextMenu.cs
- Context.cs
- Decorator.cs
- JulianCalendar.cs
- Transactions.cs
- SerTrace.cs
- AppSettingsExpressionBuilder.cs
- WizardPanel.cs
- Color.cs
- XmlValidatingReaderImpl.cs
- SqlDependencyUtils.cs
- EntityConnection.cs
- OutputScope.cs
- KnowledgeBase.cs
- DesignerActionHeaderItem.cs
- RuntimeIdentifierPropertyAttribute.cs
- ResourcePart.cs
- WindowsListViewGroup.cs
- CompoundFileStreamReference.cs
- PerspectiveCamera.cs
- XmlQuerySequence.cs
- ConfigsHelper.cs
- StyleXamlTreeBuilder.cs
- TableFieldsEditor.cs
- Misc.cs
- SerializationAttributes.cs
- OdbcConnectionStringbuilder.cs
- ScriptRef.cs
- DesignerResources.cs
- Attributes.cs
- SplayTreeNode.cs
- LockCookie.cs
- xamlnodes.cs
- ServiceSettingsResponseInfo.cs
- JsonXmlDataContract.cs
- LayoutDump.cs
- LoginView.cs
- StyleBamlTreeBuilder.cs
- HttpInputStream.cs
- RegexWorker.cs
- FixedPageStructure.cs
- ColorMap.cs
- XmlSortKeyAccumulator.cs
- WhitespaceSignificantCollectionAttribute.cs
- OleCmdHelper.cs
- TableLayoutCellPaintEventArgs.cs
- BasicBrowserDialog.cs
- ProcessManager.cs
- WarningException.cs
- ApplicationActivator.cs
- SchemaComplexType.cs
- ListMarkerSourceInfo.cs