Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------------- // // 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
- Size3D.cs
- WebServiceParameterData.cs
- TextServicesLoader.cs
- ApplicationBuildProvider.cs
- FlagsAttribute.cs
- ProviderBase.cs
- InvalidWMPVersionException.cs
- ColorConvertedBitmap.cs
- UnauthorizedAccessException.cs
- ParserExtension.cs
- AttachmentService.cs
- Win32Exception.cs
- CacheChildrenQuery.cs
- ChangesetResponse.cs
- CodeBlockBuilder.cs
- MarkupWriter.cs
- MultiView.cs
- QilBinary.cs
- CallTemplateAction.cs
- PersistenceProviderFactory.cs
- TreeNodeBinding.cs
- NumericUpDownAcceleration.cs
- ReaderContextStackData.cs
- TextCollapsingProperties.cs
- HttpResponseHeader.cs
- MenuItem.cs
- Debug.cs
- SafeLibraryHandle.cs
- Transform.cs
- ReadOnlyDataSourceView.cs
- SubMenuStyle.cs
- StoreItemCollection.cs
- AppDomainGrammarProxy.cs
- DocumentDesigner.cs
- AuthenticateEventArgs.cs
- MiniParameterInfo.cs
- OracleNumber.cs
- TemplatedAdorner.cs
- KeyboardDevice.cs
- EntryIndex.cs
- CapabilitiesAssignment.cs
- XmlWellformedWriter.cs
- ValueQuery.cs
- TableRow.cs
- MobileCapabilities.cs
- RotationValidation.cs
- ObjectAnimationBase.cs
- Int32EqualityComparer.cs
- EventListenerClientSide.cs
- RecognizedAudio.cs
- QuinticEase.cs
- Renderer.cs
- MatrixValueSerializer.cs
- Focus.cs
- IfAction.cs
- DtdParser.cs
- EditorZoneBase.cs
- DataListItem.cs
- SymmetricKeyWrap.cs
- FlatButtonAppearance.cs
- StylusCollection.cs
- XhtmlTextWriter.cs
- WebDisplayNameAttribute.cs
- IncrementalReadDecoders.cs
- DataFieldCollectionEditor.cs
- DataStorage.cs
- DbCommandTree.cs
- Currency.cs
- StatusBarPanel.cs
- RoleManagerModule.cs
- X509Certificate2Collection.cs
- BitmapEffectCollection.cs
- AssociationSetMetadata.cs
- Adorner.cs
- WpfKnownMember.cs
- XPathDocumentIterator.cs
- HtmlTableRow.cs
- TableLayoutPanel.cs
- Condition.cs
- Dynamic.cs
- XmlDocumentFragment.cs
- WindowsScrollBarBits.cs
- StringComparer.cs
- MenuEventArgs.cs
- ExpressionWriter.cs
- BitVector32.cs
- ColorConvertedBitmap.cs
- ArraySubsetEnumerator.cs
- ToolStripSettings.cs
- WindowManager.cs
- SqlError.cs
- SchemaLookupTable.cs
- ObjectDataSourceChooseTypePanel.cs
- Subset.cs
- TextParagraphCache.cs
- PasswordTextContainer.cs
- XmlSchemaRedefine.cs
- ExceptionRoutedEventArgs.cs
- FunctionQuery.cs
- TextRangeProviderWrapper.cs