Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / DataGridCellClipboardEventArgs.cs / 1305600 / DataGridCellClipboardEventArgs.cs
//----------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
namespace System.Windows.Controls
{
///
/// This class encapsulates a cell information necessary for CopyingCellClipboardContent and PastingCellClipboardContent events
///
public class DataGridCellClipboardEventArgs : EventArgs
{
///
/// Construct DataGridCellClipboardEventArgs object
///
///
///
///
public DataGridCellClipboardEventArgs(object item, DataGridColumn column, object content)
{
_item = item;
_column = column;
_content = content;
}
///
/// Content of the cell to be set or get from clipboard
///
public object Content
{
get { return _content; }
set { _content = value; }
}
///
/// DataGrid row item containing the cell
///
public object Item
{
get { return _item; }
}
///
/// DataGridColumn containing the cell
///
public DataGridColumn Column
{
get { return _column; }
}
private object _content;
private object _item;
private DataGridColumn _column;
}
}
// 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.Collections.Generic;
using System.Text;
namespace System.Windows.Controls
{
///
/// This class encapsulates a cell information necessary for CopyingCellClipboardContent and PastingCellClipboardContent events
///
public class DataGridCellClipboardEventArgs : EventArgs
{
///
/// Construct DataGridCellClipboardEventArgs object
///
///
///
///
public DataGridCellClipboardEventArgs(object item, DataGridColumn column, object content)
{
_item = item;
_column = column;
_content = content;
}
///
/// Content of the cell to be set or get from clipboard
///
public object Content
{
get { return _content; }
set { _content = value; }
}
///
/// DataGrid row item containing the cell
///
public object Item
{
get { return _item; }
}
///
/// DataGridColumn containing the cell
///
public DataGridColumn Column
{
get { return _column; }
}
private object _content;
private object _item;
private DataGridColumn _column;
}
}
// 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
- XmlCharCheckingReader.cs
- OciEnlistContext.cs
- ErrorReporting.cs
- ContextMenuStripGroupCollection.cs
- _NetworkingPerfCounters.cs
- TransactedReceiveScope.cs
- NamespaceInfo.cs
- ActivityWithResultValueSerializer.cs
- WebException.cs
- TemplateBindingExpressionConverter.cs
- OleDbMetaDataFactory.cs
- HtmlTable.cs
- TextTreeUndoUnit.cs
- DataGridViewControlCollection.cs
- HighlightVisual.cs
- path.cs
- SystemColors.cs
- EngineSiteSapi.cs
- WebBrowserPermission.cs
- MenuAutomationPeer.cs
- TrackingProfileDeserializationException.cs
- DynamicValueConverter.cs
- Deflater.cs
- CodeNamespaceImportCollection.cs
- ListItemCollection.cs
- OracleInfoMessageEventArgs.cs
- SystemGatewayIPAddressInformation.cs
- XmlRootAttribute.cs
- Cursor.cs
- CompilerResults.cs
- VectorKeyFrameCollection.cs
- NodeFunctions.cs
- MailMessageEventArgs.cs
- ReadOnlyMetadataCollection.cs
- StrokeNodeOperations.cs
- PropertyKey.cs
- TableItemStyle.cs
- SQLBoolean.cs
- _NativeSSPI.cs
- SecurityTokenTypes.cs
- PseudoWebRequest.cs
- XmlKeywords.cs
- AutomationAttributeInfo.cs
- DetailsView.cs
- Window.cs
- ArrayList.cs
- PopupRootAutomationPeer.cs
- BulletedList.cs
- SchemaElementLookUpTable.cs
- FontResourceCache.cs
- DataGridViewCellParsingEventArgs.cs
- WorkflowEventArgs.cs
- ConfigurationSectionGroupCollection.cs
- LinkLabelLinkClickedEvent.cs
- BindToObject.cs
- AnchoredBlock.cs
- UserControl.cs
- _NetworkingPerfCounters.cs
- ClosableStream.cs
- Cell.cs
- TabControlAutomationPeer.cs
- AxisAngleRotation3D.cs
- DesignSurfaceManager.cs
- RoleGroup.cs
- TreeNodeSelectionProcessor.cs
- ConfigurationException.cs
- LinkButton.cs
- InputDevice.cs
- InputMethod.cs
- Vector3DIndependentAnimationStorage.cs
- CharacterHit.cs
- DoubleCollectionConverter.cs
- PlainXmlSerializer.cs
- DeploymentSectionCache.cs
- CreateUserWizard.cs
- CapabilitiesState.cs
- ShaderEffect.cs
- PropagatorResult.cs
- PagePropertiesChangingEventArgs.cs
- HtmlInputReset.cs
- LogLogRecord.cs
- ObjectDataProvider.cs
- ConfigXmlElement.cs
- sqlpipe.cs
- PointAnimationUsingKeyFrames.cs
- GeneralTransform3D.cs
- CompositionTarget.cs
- CapabilitiesAssignment.cs
- BindingWorker.cs
- oledbmetadatacollectionnames.cs
- ClassHandlersStore.cs
- LiteralDesigner.cs
- DiscoveryDocumentReference.cs
- KeyNotFoundException.cs
- OdbcConnectionPoolProviderInfo.cs
- WebConfigurationFileMap.cs
- DocComment.cs
- SemaphoreSecurity.cs
- TableParaClient.cs
- ChameleonKey.cs