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
- SafeSecurityHelper.cs
- StylusPointPropertyInfo.cs
- SourceItem.cs
- SmtpClient.cs
- PersonalizationStateInfoCollection.cs
- XmlSchemaType.cs
- GenericPrincipal.cs
- DocumentSequence.cs
- _LazyAsyncResult.cs
- ScriptMethodAttribute.cs
- ClassDataContract.cs
- WindowsStartMenu.cs
- ToolZone.cs
- WebMethodAttribute.cs
- JsonXmlDataContract.cs
- EntitySetRetriever.cs
- SafeLibraryHandle.cs
- Rect3DConverter.cs
- WindowsGraphics.cs
- XmlAttributeCache.cs
- BindingRestrictions.cs
- TextEffect.cs
- BasicViewGenerator.cs
- XmlDataFileEditor.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- FixedBufferAttribute.cs
- EntityClientCacheKey.cs
- SafeHandles.cs
- BindingValueChangedEventArgs.cs
- TcpTransportManager.cs
- PriorityRange.cs
- PrinterResolution.cs
- StringAnimationUsingKeyFrames.cs
- PaintEvent.cs
- ContainerParaClient.cs
- DocumentViewerConstants.cs
- GeneratedView.cs
- DBSchemaTable.cs
- FileUpload.cs
- ReaderWriterLock.cs
- IssuanceLicense.cs
- CodeMemberMethod.cs
- Int32CAMarshaler.cs
- ButtonBaseAutomationPeer.cs
- PreservationFileReader.cs
- List.cs
- MouseCaptureWithinProperty.cs
- DBSchemaRow.cs
- ListControlStringCollectionEditor.cs
- URIFormatException.cs
- WmlTextViewAdapter.cs
- AnonymousIdentificationModule.cs
- DbConnectionStringCommon.cs
- TextViewBase.cs
- StylusDownEventArgs.cs
- base64Transforms.cs
- DrawingVisual.cs
- TcpSocketManager.cs
- FrameworkElementFactoryMarkupObject.cs
- ThreadAttributes.cs
- GenericParameterDataContract.cs
- MultiByteCodec.cs
- MaskedTextBox.cs
- StructuredTypeInfo.cs
- SafeHandle.cs
- ExpressionVisitorHelpers.cs
- RawKeyboardInputReport.cs
- PointAnimationUsingPath.cs
- EdmScalarPropertyAttribute.cs
- relpropertyhelper.cs
- PropertyDescriptors.cs
- Journaling.cs
- SelectorItemAutomationPeer.cs
- DateTimeConverter2.cs
- AlphaSortedEnumConverter.cs
- WindowsComboBox.cs
- SqlMethods.cs
- CodeGen.cs
- SchemaComplexType.cs
- PropertyGridCommands.cs
- HttpModulesSection.cs
- XPathAncestorQuery.cs
- ObjectFullSpanRewriter.cs
- WebPermission.cs
- TreeView.cs
- EllipseGeometry.cs
- AnnotationComponentManager.cs
- Vector3dCollection.cs
- RowUpdatingEventArgs.cs
- recordstatefactory.cs
- DeploymentSectionCache.cs
- AcceleratedTokenProvider.cs
- Viewport2DVisual3D.cs
- LogWriteRestartAreaAsyncResult.cs
- MessageLogger.cs
- Enum.cs
- Message.cs
- PassportIdentity.cs
- MessageDecoder.cs
- ActivityExecutorOperation.cs