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
- BufferBuilder.cs
- StrongNameMembershipCondition.cs
- PathGeometry.cs
- PersonalizationState.cs
- HttpHandlersSection.cs
- Brush.cs
- AssemblyName.cs
- ExpressionValueEditor.cs
- Visitor.cs
- XPathAncestorQuery.cs
- ColumnWidthChangingEvent.cs
- RijndaelManaged.cs
- ConfigurationStrings.cs
- RotateTransform3D.cs
- HttpServerVarsCollection.cs
- EdmValidator.cs
- ApplicationHost.cs
- DuplicateDetector.cs
- GlyphTypeface.cs
- IndicFontClient.cs
- FindCriteria.cs
- Decorator.cs
- BaseParaClient.cs
- GeneratedContractType.cs
- MultiTrigger.cs
- FileLevelControlBuilderAttribute.cs
- querybuilder.cs
- Span.cs
- JsonFormatWriterGenerator.cs
- fixedPageContentExtractor.cs
- ServiceOperationHelpers.cs
- UrlMapping.cs
- PackageProperties.cs
- Viewport3DAutomationPeer.cs
- ReflectionPermission.cs
- Fx.cs
- StringFormat.cs
- DifferencingCollection.cs
- XmlnsCompatibleWithAttribute.cs
- SecurityManager.cs
- WrappedReader.cs
- EventData.cs
- Comparer.cs
- CompoundFileReference.cs
- ParagraphResult.cs
- SubtreeProcessor.cs
- log.cs
- ImageField.cs
- XmlStreamStore.cs
- Validator.cs
- DelegatingTypeDescriptionProvider.cs
- ForeignKeyConstraint.cs
- UserPersonalizationStateInfo.cs
- OdbcConnectionPoolProviderInfo.cs
- TemplatePagerField.cs
- DodSequenceMerge.cs
- FileLoadException.cs
- StringResourceManager.cs
- VisualBrush.cs
- login.cs
- XamlWriter.cs
- OdbcConnectionPoolProviderInfo.cs
- CheckBoxField.cs
- XPathArrayIterator.cs
- SoapAttributes.cs
- ToolStripArrowRenderEventArgs.cs
- DocumentViewerBase.cs
- ContentType.cs
- PngBitmapDecoder.cs
- PhysicalAddress.cs
- ProfileInfo.cs
- mediapermission.cs
- IntPtr.cs
- TreeNodeCollection.cs
- CurrencyManager.cs
- AxWrapperGen.cs
- Message.cs
- OperationFormatter.cs
- Msec.cs
- TableProvider.cs
- VideoDrawing.cs
- SqlServices.cs
- DynamicResourceExtensionConverter.cs
- HandlerFactoryWrapper.cs
- QueryResults.cs
- DCSafeHandle.cs
- EntityViewGenerationAttribute.cs
- ConnectionPoint.cs
- FlowLayout.cs
- PostBackOptions.cs
- EntityDataSourceWrapper.cs
- DateTimeFormat.cs
- FlowDocumentScrollViewer.cs
- GestureRecognizer.cs
- MetadataFile.cs
- UniqueIdentifierService.cs
- NoneExcludedImageIndexConverter.cs
- HttpServerVarsCollection.cs
- HtmlPageAdapter.cs
- ReferentialConstraint.cs