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
- DiagnosticsConfiguration.cs
- MethodRental.cs
- MdImport.cs
- ForwardPositionQuery.cs
- If.cs
- ProfileGroupSettingsCollection.cs
- AvTrace.cs
- SqlRecordBuffer.cs
- ConfigurationValues.cs
- TextClipboardData.cs
- HierarchicalDataBoundControl.cs
- StorageTypeMapping.cs
- TypeConverterHelper.cs
- Unit.cs
- XmlNamespaceManager.cs
- CacheChildrenQuery.cs
- NameObjectCollectionBase.cs
- ScrollProperties.cs
- IndentedWriter.cs
- TokenBasedSet.cs
- HtmlInputControl.cs
- FixedPosition.cs
- TypeBinaryExpression.cs
- DummyDataSource.cs
- AutomationPattern.cs
- ColorTransformHelper.cs
- TransactionContextValidator.cs
- XmlArrayItemAttribute.cs
- JsonXmlDataContract.cs
- WindowHideOrCloseTracker.cs
- WebConfigurationFileMap.cs
- ResolveMatchesApril2005.cs
- Effect.cs
- TimeSpanValidatorAttribute.cs
- DBDataPermissionAttribute.cs
- DispatcherHooks.cs
- XmlSchemaAttribute.cs
- __TransparentProxy.cs
- DbConnectionStringCommon.cs
- InitializationEventAttribute.cs
- ItemsControl.cs
- HijriCalendar.cs
- SafeFileHandle.cs
- DataGridViewColumnCollectionDialog.cs
- TreeNodeSelectionProcessor.cs
- BufferBuilder.cs
- TableLayoutPanelCellPosition.cs
- MobileControlsSectionHelper.cs
- DataGridViewCellEventArgs.cs
- VectorKeyFrameCollection.cs
- StylusPoint.cs
- QilVisitor.cs
- Brush.cs
- DataGridViewCellLinkedList.cs
- StatusBarPanelClickEvent.cs
- ServiceContractViewControl.Designer.cs
- XmlReaderSettings.cs
- SamlEvidence.cs
- ColumnCollection.cs
- XmlTextReader.cs
- Pts.cs
- HyperLink.cs
- XmlUtil.cs
- WeakEventManager.cs
- BitmapMetadataBlob.cs
- DataRowChangeEvent.cs
- Popup.cs
- DirectoryInfo.cs
- EraserBehavior.cs
- AnnotationHelper.cs
- FlatButtonAppearance.cs
- ToolStripControlHost.cs
- SharedUtils.cs
- Compiler.cs
- TransformedBitmap.cs
- AvTraceDetails.cs
- TrustSection.cs
- EventProxy.cs
- DashStyles.cs
- TimeSpan.cs
- DragStartedEventArgs.cs
- AlphaSortedEnumConverter.cs
- StringHandle.cs
- FontStyles.cs
- HideDisabledControlAdapter.cs
- Helper.cs
- NativeMethods.cs
- DynamicContractTypeBuilder.cs
- ConfigDefinitionUpdates.cs
- PageCatalogPart.cs
- NoPersistScope.cs
- EntityContainer.cs
- AbandonedMutexException.cs
- ActivityExecutorDelegateInfo.cs
- Behavior.cs
- ECDsaCng.cs
- TailCallAnalyzer.cs
- Typeface.cs
- PropertyEmitter.cs
- DataTableCollection.cs