Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / DataGridBeginningEditEventArgs.cs / 1305600 / DataGridBeginningEditEventArgs.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 enters edit mode. /// public class DataGridBeginningEditEventArgs : EventArgs { ////// Instantiates a new instance of this class. /// /// The column of the cell that is about to enter edit mode. /// The row container of the cell container that is about to enter edit mode. /// The event arguments, if any, that led to the cell entering edit mode. public DataGridBeginningEditEventArgs(DataGridColumn column, DataGridRow row, RoutedEventArgs editingEventArgs) { _dataGridColumn = column; _dataGridRow = row; _editingEventArgs = editingEventArgs; } ////// When true, prevents the cell from entering edit mode. /// public bool Cancel { get { return _cancel; } set { _cancel = value; } } ////// The column of the cell that is about to enter edit mode. /// public DataGridColumn Column { get { return _dataGridColumn; } } ////// The row container of the cell container that is about to enter edit mode. /// public DataGridRow Row { get { return _dataGridRow; } } ////// Event arguments, if any, that led to the cell entering edit mode. /// public RoutedEventArgs EditingEventArgs { get { return _editingEventArgs; } } private bool _cancel; private DataGridColumn _dataGridColumn; private DataGridRow _dataGridRow; private RoutedEventArgs _editingEventArgs; } } // 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
- TypeDependencyAttribute.cs
- ImportContext.cs
- InitializationEventAttribute.cs
- MailHeaderInfo.cs
- TypeBuilderInstantiation.cs
- LayoutSettings.cs
- SortExpressionBuilder.cs
- DmlSqlGenerator.cs
- ActivityStatusChangeEventArgs.cs
- HttpWriter.cs
- StringValidatorAttribute.cs
- XmlDataImplementation.cs
- DataRelationCollection.cs
- And.cs
- _OverlappedAsyncResult.cs
- WaitHandle.cs
- MergePropertyDescriptor.cs
- ISAPIRuntime.cs
- XmlUrlEditor.cs
- NativeMethods.cs
- DuplicateWaitObjectException.cs
- ExternalDataExchangeClient.cs
- ECDsa.cs
- ServiceReference.cs
- XmlAttributeCollection.cs
- EntityWrapperFactory.cs
- SubordinateTransaction.cs
- InputScope.cs
- LicenseContext.cs
- TextTreeDeleteContentUndoUnit.cs
- SourceFilter.cs
- EventLevel.cs
- PropertiesTab.cs
- HttpModuleAction.cs
- SqlAggregateChecker.cs
- ApplicationFileCodeDomTreeGenerator.cs
- SecurityState.cs
- ArrangedElementCollection.cs
- EFDataModelProvider.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- CatalogPartDesigner.cs
- HintTextMaxWidthConverter.cs
- ApplyTemplatesAction.cs
- CounterCreationDataCollection.cs
- ObjectViewQueryResultData.cs
- CacheSection.cs
- ReversePositionQuery.cs
- ObjectViewListener.cs
- IResourceProvider.cs
- InputMethodStateTypeInfo.cs
- ServicePointManagerElement.cs
- XMLSyntaxException.cs
- Config.cs
- HuffCodec.cs
- DbModificationClause.cs
- ScriptHandlerFactory.cs
- RuntimeIdentifierPropertyAttribute.cs
- OrderByQueryOptionExpression.cs
- UIElementCollection.cs
- BypassElementCollection.cs
- NetCodeGroup.cs
- ConfigurationStrings.cs
- DefaultAssemblyResolver.cs
- BamlLocalizer.cs
- Listbox.cs
- SiteMap.cs
- TextServicesCompartment.cs
- DeflateStreamAsyncResult.cs
- InvalidOleVariantTypeException.cs
- XmlElementAttribute.cs
- ImageProxy.cs
- RouteUrlExpressionBuilder.cs
- ListControlBoundActionList.cs
- SafeNativeMethodsMilCoreApi.cs
- DialogResultConverter.cs
- StickyNoteContentControl.cs
- BindingContext.cs
- ConfigurationSettings.cs
- ProvidePropertyAttribute.cs
- TextAction.cs
- InkCanvasFeedbackAdorner.cs
- UxThemeWrapper.cs
- EntityContainerEntitySet.cs
- ServiceDescriptionSerializer.cs
- SmtpLoginAuthenticationModule.cs
- WebPartTracker.cs
- Lease.cs
- ParameterDataSourceExpression.cs
- ClientProxyGenerator.cs
- EditorPartChrome.cs
- DataList.cs
- NotFiniteNumberException.cs
- MergePropertyDescriptor.cs
- CharacterHit.cs
- WhereaboutsReader.cs
- WebPartCloseVerb.cs
- DbProviderConfigurationHandler.cs
- StreamReader.cs
- BinaryEditor.cs
- AutoGeneratedFieldProperties.cs