Code:
/ 4.0 / 4.0 / 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.
//----------------------------------------------------------------------------
//
// 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
- SecurityKeyEntropyMode.cs
- MiniCustomAttributeInfo.cs
- UIElementCollection.cs
- Delegate.cs
- SynchronousChannel.cs
- GridToolTip.cs
- ObjectListSelectEventArgs.cs
- QEncodedStream.cs
- ToolStripDropDownClosedEventArgs.cs
- Subordinate.cs
- MobileCategoryAttribute.cs
- TemplateColumn.cs
- ProfileProvider.cs
- SetStoryboardSpeedRatio.cs
- XpsInterleavingPolicy.cs
- SoapIncludeAttribute.cs
- DynamicPropertyReader.cs
- StateManagedCollection.cs
- BCLDebug.cs
- ChannelServices.cs
- ParameterModifier.cs
- KoreanLunisolarCalendar.cs
- AdornerDecorator.cs
- EventLogSession.cs
- GenericTypeParameterConverter.cs
- ExpandedProjectionNode.cs
- SchemaLookupTable.cs
- TextTrailingCharacterEllipsis.cs
- StopStoryboard.cs
- MailAddress.cs
- PropertyGeneratedEventArgs.cs
- ConditionalAttribute.cs
- AppliesToBehaviorDecisionTable.cs
- VariableBinder.cs
- Matrix3DStack.cs
- PreservationFileWriter.cs
- ToolStripStatusLabel.cs
- KnownTypes.cs
- GreenMethods.cs
- CancellationHandler.cs
- MD5Cng.cs
- TreeView.cs
- FileIOPermission.cs
- RemoteWebConfigurationHost.cs
- ActionItem.cs
- PagedControl.cs
- EventLogHandle.cs
- ProfessionalColorTable.cs
- EntityCommandCompilationException.cs
- CodeAccessPermission.cs
- HttpListenerPrefixCollection.cs
- MarkupProperty.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- SafeNativeMethods.cs
- HttpApplicationStateBase.cs
- PhysicalFontFamily.cs
- __TransparentProxy.cs
- IPEndPoint.cs
- PeerTransportSecurityElement.cs
- WebPartMinimizeVerb.cs
- EqualityArray.cs
- ElementNotEnabledException.cs
- DataGridColumn.cs
- IndexExpression.cs
- httpstaticobjectscollection.cs
- ColumnWidthChangingEvent.cs
- OrderedDictionaryStateHelper.cs
- TextDecorationLocationValidation.cs
- WsdlInspector.cs
- TextServicesManager.cs
- HiddenFieldPageStatePersister.cs
- ADMembershipUser.cs
- RotateTransform3D.cs
- Lasso.cs
- XmlSchemaSimpleContent.cs
- SqlTrackingService.cs
- SafeNativeMethodsCLR.cs
- DaylightTime.cs
- CustomWebEventKey.cs
- AppliedDeviceFiltersEditor.cs
- EndpointAddressMessageFilterTable.cs
- UriScheme.cs
- PreparingEnlistment.cs
- XmlAtomErrorReader.cs
- Message.cs
- CookielessHelper.cs
- WebControlParameterProxy.cs
- StrongNameKeyPair.cs
- XmlFormatExtensionPrefixAttribute.cs
- DesignerSerializationVisibilityAttribute.cs
- FactoryGenerator.cs
- SafeProcessHandle.cs
- BitmapMetadataEnumerator.cs
- SharedUtils.cs
- Msmq.cs
- HtmlInputRadioButton.cs
- RenderCapability.cs
- TabControlEvent.cs
- SqlDataSource.cs
- XpsSerializationManagerAsync.cs