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
- GraphicsContainer.cs
- GenerateScriptTypeAttribute.cs
- ActivationWorker.cs
- precedingsibling.cs
- HTMLTagNameToTypeMapper.cs
- EUCJPEncoding.cs
- FolderBrowserDialog.cs
- SymLanguageType.cs
- TemplateBuilder.cs
- SubMenuStyleCollection.cs
- Debug.cs
- AlignmentXValidation.cs
- GACMembershipCondition.cs
- BasicCellRelation.cs
- SettingsAttributes.cs
- RegexTree.cs
- ObjectDataSourceChooseMethodsPanel.cs
- BasePattern.cs
- ComponentResourceManager.cs
- ToolStripDropDownMenu.cs
- ThicknessKeyFrameCollection.cs
- DefaultShape.cs
- FollowerQueueCreator.cs
- InfocardClientCredentials.cs
- RenderData.cs
- ObjectCacheSettings.cs
- ResizeGrip.cs
- ActivityDesignerHighlighter.cs
- FragmentNavigationEventArgs.cs
- SoapEnumAttribute.cs
- AstNode.cs
- basecomparevalidator.cs
- QuaternionAnimation.cs
- UnsignedPublishLicense.cs
- ApplicationContext.cs
- EastAsianLunisolarCalendar.cs
- CLSCompliantAttribute.cs
- EventArgs.cs
- WindowsScrollBarBits.cs
- Graph.cs
- EntityDataSourceSelectedEventArgs.cs
- Color.cs
- ClientSettings.cs
- ConfigurationSectionGroup.cs
- SystemIPGlobalStatistics.cs
- CodeDOMProvider.cs
- HWStack.cs
- HostingEnvironmentException.cs
- HtmlEncodedRawTextWriter.cs
- BaseTypeViewSchema.cs
- ListDictionaryInternal.cs
- SystemUnicastIPAddressInformation.cs
- HttpHandlersSection.cs
- SqlFormatter.cs
- DataServiceExpressionVisitor.cs
- DataKeyCollection.cs
- Panel.cs
- RegistrySecurity.cs
- FilterFactory.cs
- _WinHttpWebProxyDataBuilder.cs
- BreadCrumbTextConverter.cs
- HttpWrapper.cs
- ToolStripContentPanel.cs
- HostedTransportConfigurationBase.cs
- ConfigXmlElement.cs
- SerialStream.cs
- ImageBrush.cs
- MouseBinding.cs
- LinkUtilities.cs
- DataIdProcessor.cs
- MaterialGroup.cs
- XmlAtomicValue.cs
- BitmapEffect.cs
- UserControlBuildProvider.cs
- MsmqIntegrationSecurity.cs
- NoResizeHandleGlyph.cs
- COM2PropertyDescriptor.cs
- HScrollProperties.cs
- ExtensionDataObject.cs
- DataDocumentXPathNavigator.cs
- ScrollBarRenderer.cs
- WindowsTab.cs
- SafeThreadHandle.cs
- ResourcesBuildProvider.cs
- TabOrder.cs
- UIElement.cs
- FormattedTextSymbols.cs
- TracingConnectionListener.cs
- CounterCreationDataCollection.cs
- hwndwrapper.cs
- DesignBindingPicker.cs
- SimplePropertyEntry.cs
- SafeBuffer.cs
- SqlErrorCollection.cs
- WmlValidationSummaryAdapter.cs
- MethodBuilder.cs
- ObjectSet.cs
- ItemsPresenter.cs
- OdbcConnectionPoolProviderInfo.cs
- HMACSHA256.cs