Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / DataGridPreparingCellForEditEventArgs.cs / 1305600 / DataGridPreparingCellForEditEventArgs.cs
//----------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
using System.Windows;
using System.Windows.Input;
namespace System.Windows.Controls
{
///
/// Provides information about a cell that has just entered edit mode.
///
public class DataGridPreparingCellForEditEventArgs : EventArgs
{
///
/// Constructs a new instance of these event arguments.
///
/// The column of the cell that just entered edit mode.
/// The row container that contains the cell container that just entered edit mode.
/// The event arguments, if any, that led to the cell being placed in edit mode.
/// The cell container that just entered edit mode.
/// The editing element within the cell container.
public DataGridPreparingCellForEditEventArgs(DataGridColumn column, DataGridRow row, RoutedEventArgs editingEventArgs, FrameworkElement editingElement)
{
_dataGridColumn = column;
_dataGridRow = row;
_editingEventArgs = editingEventArgs;
_editingElement = editingElement;
}
///
/// The column of the cell that just entered edit mode.
///
public DataGridColumn Column
{
get { return _dataGridColumn; }
}
///
/// The row container that contains the cell container that just entered edit mode.
///
public DataGridRow Row
{
get { return _dataGridRow; }
}
///
/// The event arguments, if any, that led to the cell being placed in edit mode.
///
public RoutedEventArgs EditingEventArgs
{
get { return _editingEventArgs; }
}
///
/// The editing element within the cell container.
///
public FrameworkElement EditingElement
{
get { return _editingElement; }
}
private DataGridColumn _dataGridColumn;
private DataGridRow _dataGridRow;
private RoutedEventArgs _editingEventArgs;
private FrameworkElement _editingElement;
}
}
// 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
- WebConfigurationHostFileChange.cs
- XmlTextAttribute.cs
- PresentationSource.cs
- CodeBinaryOperatorExpression.cs
- FixedSOMContainer.cs
- StrokeNodeEnumerator.cs
- SafeBuffer.cs
- FormatConvertedBitmap.cs
- ResponseStream.cs
- PropertyMetadata.cs
- ValuePatternIdentifiers.cs
- GenericEnumerator.cs
- RightsDocument.cs
- DocumentSignatureManager.cs
- ObjectAnimationBase.cs
- CodeRemoveEventStatement.cs
- TreeNodeStyleCollection.cs
- PassportAuthentication.cs
- PageThemeParser.cs
- HeaderCollection.cs
- ProgressBarHighlightConverter.cs
- ObjectDataSourceView.cs
- UniqueEventHelper.cs
- OdbcErrorCollection.cs
- OptionalColumn.cs
- SplineQuaternionKeyFrame.cs
- QilVisitor.cs
- DeclarativeConditionsCollection.cs
- BindingNavigator.cs
- Opcode.cs
- SID.cs
- IisTraceListener.cs
- TagNameToTypeMapper.cs
- ResolveNameEventArgs.cs
- FamilyTypefaceCollection.cs
- ListViewSortEventArgs.cs
- AsymmetricKeyExchangeDeformatter.cs
- PhoneCall.cs
- HopperCache.cs
- ListViewInsertionMark.cs
- TreeIterator.cs
- basecomparevalidator.cs
- OracleFactory.cs
- Overlapped.cs
- InterleavedZipPartStream.cs
- RadialGradientBrush.cs
- InternalRelationshipCollection.cs
- VariantWrapper.cs
- TableItemProviderWrapper.cs
- TextSearch.cs
- SchemaElementLookUpTableEnumerator.cs
- SubqueryRules.cs
- ActivityDesignerHelper.cs
- StreamBodyWriter.cs
- SEHException.cs
- XmlParserContext.cs
- DiscreteKeyFrames.cs
- FontCacheLogic.cs
- Enlistment.cs
- SqlUdtInfo.cs
- XmlElementAttribute.cs
- HttpRuntime.cs
- ColumnMapVisitor.cs
- DetailsViewRow.cs
- XmlNamedNodeMap.cs
- WindowsPrincipal.cs
- GetWinFXPath.cs
- KnownTypes.cs
- DataMisalignedException.cs
- NamespaceMapping.cs
- XmlSerializableReader.cs
- Rule.cs
- DelegatingTypeDescriptionProvider.cs
- JoinSymbol.cs
- Function.cs
- LoadedOrUnloadedOperation.cs
- DefaultPrintController.cs
- ReflectEventDescriptor.cs
- TypeDependencyAttribute.cs
- SelectionChangedEventArgs.cs
- AssemblyCollection.cs
- Bold.cs
- TraceFilter.cs
- TextRangeAdaptor.cs
- FormsAuthenticationUserCollection.cs
- PkcsMisc.cs
- SmiTypedGetterSetter.cs
- PropertyDescriptor.cs
- RangeValuePattern.cs
- WindowVisualStateTracker.cs
- BaseParser.cs
- UncommonField.cs
- HttpInputStream.cs
- DetailsViewInsertedEventArgs.cs
- AttributeCollection.cs
- ObjectParameter.cs
- FormViewPageEventArgs.cs
- WebPartDeleteVerb.cs
- MemberCollection.cs
- CustomExpressionEventArgs.cs