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
- PrivilegedConfigurationManager.cs
- ObjectDataSourceView.cs
- VectorKeyFrameCollection.cs
- NameSpaceExtractor.cs
- Oci.cs
- DbConnectionOptions.cs
- XmlCharType.cs
- TypeSystem.cs
- SqlTransaction.cs
- HierarchicalDataTemplate.cs
- AnimatedTypeHelpers.cs
- Partitioner.cs
- ManualResetEvent.cs
- RouteTable.cs
- Quaternion.cs
- SpeakCompletedEventArgs.cs
- _HelperAsyncResults.cs
- CompressEmulationStream.cs
- FillErrorEventArgs.cs
- BoundField.cs
- CheckedPointers.cs
- GeneratedCodeAttribute.cs
- DbDataRecord.cs
- MemoryFailPoint.cs
- IERequestCache.cs
- PKCS1MaskGenerationMethod.cs
- PointHitTestResult.cs
- AbsoluteQuery.cs
- InternalConfigRoot.cs
- SchemaConstraints.cs
- FileDialog_Vista.cs
- SmiMetaDataProperty.cs
- InsufficientMemoryException.cs
- UIPermission.cs
- TransformDescriptor.cs
- TrustSection.cs
- ManipulationDevice.cs
- ItemsPanelTemplate.cs
- GetIndexBinder.cs
- Message.cs
- WSDualHttpSecurityMode.cs
- WebCategoryAttribute.cs
- UInt16.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- DataGridBeginningEditEventArgs.cs
- NotSupportedException.cs
- XmlNodeList.cs
- ViewCellSlot.cs
- SiteMapNodeItem.cs
- NamespaceDecl.cs
- AssociationSetEnd.cs
- SByteStorage.cs
- ProcessHost.cs
- RemotingConfigParser.cs
- ContentPosition.cs
- XmlUtf8RawTextWriter.cs
- EdmType.cs
- TypeDescriptorFilterService.cs
- BuildProviderUtils.cs
- ServiceModelExtensionCollectionElement.cs
- FillRuleValidation.cs
- RSAPKCS1KeyExchangeFormatter.cs
- __Filters.cs
- DataBindingCollection.cs
- DropTarget.cs
- Latin1Encoding.cs
- Model3DGroup.cs
- SafeRightsManagementHandle.cs
- XmlTextWriter.cs
- HtmlControl.cs
- TableItemPattern.cs
- Speller.cs
- DbConnectionStringBuilder.cs
- SequentialOutput.cs
- GlobalProxySelection.cs
- BigInt.cs
- DataChangedEventManager.cs
- NGCSerializationManagerAsync.cs
- InputChannelBinder.cs
- DataGridViewRowConverter.cs
- XmlMemberMapping.cs
- UserValidatedEventArgs.cs
- Interlocked.cs
- DataGridViewCellLinkedList.cs
- RepeatButton.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- StorageSetMapping.cs
- RepeaterItemCollection.cs
- WebException.cs
- DiscoveryOperationContext.cs
- PrintingPermission.cs
- SortKey.cs
- GridViewCancelEditEventArgs.cs
- MethodBody.cs
- EventLogger.cs
- LinkButton.cs
- PropertyAccessVisitor.cs
- WS2007HttpBindingElement.cs
- TileBrush.cs
- ScrollChangedEventArgs.cs