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
- WebBrowserDocumentCompletedEventHandler.cs
- TdsValueSetter.cs
- RequiredArgumentAttribute.cs
- ParentQuery.cs
- LambdaCompiler.Unary.cs
- DocumentViewerConstants.cs
- NamespaceInfo.cs
- SynchronizedInputHelper.cs
- StringResourceManager.cs
- WebPartEditorApplyVerb.cs
- DiscoveryExceptionDictionary.cs
- DefaultObjectMappingItemCollection.cs
- FormattedTextSymbols.cs
- FieldDescriptor.cs
- TabItemWrapperAutomationPeer.cs
- DetectEofStream.cs
- VisualState.cs
- GlyphTypeface.cs
- InstanceKeyView.cs
- SHA384Managed.cs
- WriteFileContext.cs
- PersonalizationStateQuery.cs
- HwndPanningFeedback.cs
- LineServicesRun.cs
- OracleParameterBinding.cs
- AmbientProperties.cs
- SessionEndingEventArgs.cs
- DataRowCollection.cs
- AVElementHelper.cs
- PerformanceCounter.cs
- MenuEventArgs.cs
- MasterPageParser.cs
- TextChangedEventArgs.cs
- ImageClickEventArgs.cs
- GridViewUpdatedEventArgs.cs
- Positioning.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- OleDbPermission.cs
- WarningException.cs
- WebService.cs
- FileLevelControlBuilderAttribute.cs
- QueryableDataSourceHelper.cs
- Popup.cs
- ModuleElement.cs
- WindowsRebar.cs
- ListItemParagraph.cs
- ToolStripItemClickedEventArgs.cs
- StringReader.cs
- ErrorFormatterPage.cs
- SecurityUtils.cs
- PartialCachingControl.cs
- MailAddress.cs
- XmlSortKeyAccumulator.cs
- SpellerHighlightLayer.cs
- RetriableClipboard.cs
- JoinElimination.cs
- TrackingProfile.cs
- WebControlsSection.cs
- DoubleCollection.cs
- DataIdProcessor.cs
- DataSourceXmlClassAttribute.cs
- AccessDataSourceDesigner.cs
- Pkcs7Recipient.cs
- arc.cs
- PngBitmapEncoder.cs
- X500Name.cs
- MexBindingElement.cs
- HMACRIPEMD160.cs
- WebCodeGenerator.cs
- StaticResourceExtension.cs
- QilExpression.cs
- EventLogPermissionEntryCollection.cs
- TempFiles.cs
- CapabilitiesAssignment.cs
- NativeMethods.cs
- EmptyReadOnlyDictionaryInternal.cs
- COM2ICategorizePropertiesHandler.cs
- BinaryConverter.cs
- SendAgentStatusRequest.cs
- BaseWebProxyFinder.cs
- AuthenticationModulesSection.cs
- XmlTextReader.cs
- _ProxyChain.cs
- PageResolution.cs
- AdornerPresentationContext.cs
- TableRow.cs
- XamlStream.cs
- ConnectionProviderAttribute.cs
- CodeDefaultValueExpression.cs
- CodeNamespaceImport.cs
- _ShellExpression.cs
- Camera.cs
- StateDesigner.LayoutSelectionGlyph.cs
- CompilerCollection.cs
- SqlServer2KCompatibilityAnnotation.cs
- MenuItemAutomationPeer.cs
- InvalidPropValue.cs
- PageAsyncTaskManager.cs
- Dictionary.cs
- ThicknessKeyFrameCollection.cs