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
- DrawingAttributesDefaultValueFactory.cs
- CodeArrayCreateExpression.cs
- CorePropertiesFilter.cs
- KerberosTicketHashIdentifierClause.cs
- HandledMouseEvent.cs
- RecognizeCompletedEventArgs.cs
- InheritablePropertyChangeInfo.cs
- ThreadAttributes.cs
- CngProvider.cs
- OletxTransactionManager.cs
- PageContent.cs
- ParallelTimeline.cs
- OletxVolatileEnlistment.cs
- DataControlReferenceCollection.cs
- SqlHelper.cs
- ValidationEventArgs.cs
- Parser.cs
- InternalMappingException.cs
- ContextProperty.cs
- PrinterUnitConvert.cs
- _AutoWebProxyScriptWrapper.cs
- ThousandthOfEmRealDoubles.cs
- XsltException.cs
- SapiRecoContext.cs
- RestHandler.cs
- DiscoveryMessageSequenceCD1.cs
- ProfileParameter.cs
- PropertyState.cs
- Schema.cs
- XmlSchemaNotation.cs
- XmlAttributeOverrides.cs
- ButtonChrome.cs
- PropertyHelper.cs
- AffineTransform3D.cs
- CorrelationManager.cs
- Clause.cs
- util.cs
- RTLAwareMessageBox.cs
- DbDataReader.cs
- Debug.cs
- DispatcherTimer.cs
- TraceSection.cs
- GorillaCodec.cs
- DbParameterCollectionHelper.cs
- ObjectConverter.cs
- NonParentingControl.cs
- XmlDictionaryReaderQuotas.cs
- AxisAngleRotation3D.cs
- EdmItemError.cs
- DiagnosticTrace.cs
- Point.cs
- SimpleWebHandlerParser.cs
- AssemblyName.cs
- XmlStreamNodeWriter.cs
- OleTxTransactionInfo.cs
- OdbcConnectionHandle.cs
- GridViewRowEventArgs.cs
- DataGridViewRowPostPaintEventArgs.cs
- SyntaxCheck.cs
- KeyManager.cs
- FigureParagraph.cs
- XmlSiteMapProvider.cs
- UshortList2.cs
- FontFamily.cs
- ThreadStateException.cs
- UIElementParaClient.cs
- TypeUtil.cs
- CompilerGlobalScopeAttribute.cs
- DecoderFallback.cs
- Vars.cs
- XmlNamespaceManager.cs
- StaticResourceExtension.cs
- DispatchWrapper.cs
- NetworkInformationException.cs
- ErrorWebPart.cs
- PlatformCulture.cs
- NegationPusher.cs
- GeneratedContractType.cs
- CodeSubDirectory.cs
- safex509handles.cs
- LockingPersistenceProvider.cs
- PixelFormat.cs
- CodeAttributeArgumentCollection.cs
- ExpandSegmentCollection.cs
- OdbcEnvironmentHandle.cs
- StoreAnnotationsMap.cs
- QilVisitor.cs
- CustomPopupPlacement.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- HttpPostServerProtocol.cs
- TrackingStringDictionary.cs
- DoubleUtil.cs
- MetadataItemEmitter.cs
- Vector3DAnimationUsingKeyFrames.cs
- TextRunProperties.cs
- MessageBox.cs
- FigureParaClient.cs
- HtmlInputRadioButton.cs
- PieceDirectory.cs
- SQLBinaryStorage.cs