Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / DataGridColumnReorderingEventArgs.cs / 1305600 / DataGridColumnReorderingEventArgs.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.Windows; namespace System.Windows.Controls { ////// Event args used for Column reordering event raised after column header drag-drop /// public class DataGridColumnReorderingEventArgs : DataGridColumnEventArgs { #region Constructors ////// Constructor /// /// public DataGridColumnReorderingEventArgs(DataGridColumn dataGridColumn) : base(dataGridColumn) { } #endregion #region Properties ////// Property to specify whether the Reordering operation should be cancelled /// public bool Cancel { get { return _cancel; } set { _cancel = value; } } ////// The control which would be used as an indicator for drop location during column header drag drop /// public Control DropLocationIndicator { get { return _dropLocationIndicator; } set { _dropLocationIndicator = value; } } ////// The control which would be used as a drag indicator during column header drag drop. /// public Control DragIndicator { get { return _dragIndicator; } set { _dragIndicator = value; } } #endregion #region Data private bool _cancel; private Control _dropLocationIndicator; private Control _dragIndicator; #endregion } } // 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; namespace System.Windows.Controls { ////// Event args used for Column reordering event raised after column header drag-drop /// public class DataGridColumnReorderingEventArgs : DataGridColumnEventArgs { #region Constructors ////// Constructor /// /// public DataGridColumnReorderingEventArgs(DataGridColumn dataGridColumn) : base(dataGridColumn) { } #endregion #region Properties ////// Property to specify whether the Reordering operation should be cancelled /// public bool Cancel { get { return _cancel; } set { _cancel = value; } } ////// The control which would be used as an indicator for drop location during column header drag drop /// public Control DropLocationIndicator { get { return _dropLocationIndicator; } set { _dropLocationIndicator = value; } } ////// The control which would be used as a drag indicator during column header drag drop. /// public Control DragIndicator { get { return _dragIndicator; } set { _dragIndicator = value; } } #endregion #region Data private bool _cancel; private Control _dropLocationIndicator; private Control _dragIndicator; #endregion } } // 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
- DynamicDataRoute.cs
- TableRowsCollectionEditor.cs
- NodeInfo.cs
- CopyNodeSetAction.cs
- WebPartDisplayModeEventArgs.cs
- PackageStore.cs
- PreservationFileWriter.cs
- ElementHostAutomationPeer.cs
- METAHEADER.cs
- SerializationSectionGroup.cs
- EventManager.cs
- PolicyImporterElementCollection.cs
- PropertyPath.cs
- StoryFragments.cs
- ScriptingJsonSerializationSection.cs
- XamlReaderHelper.cs
- AnnotationService.cs
- EventDrivenDesigner.cs
- SqlError.cs
- HyperLinkField.cs
- oledbconnectionstring.cs
- Matrix.cs
- StubHelpers.cs
- AspCompat.cs
- MarkupCompilePass1.cs
- DecimalAnimation.cs
- ExpressionEditorAttribute.cs
- StatusBar.cs
- FixedStringLookup.cs
- Win32.cs
- OleDbConnection.cs
- HandleRef.cs
- ImageKeyConverter.cs
- SchemaSetCompiler.cs
- SimpleTypesSurrogate.cs
- EventWaitHandleSecurity.cs
- Vector3DCollectionConverter.cs
- FormsAuthenticationUserCollection.cs
- SourceLineInfo.cs
- WebSysDisplayNameAttribute.cs
- WebPartEventArgs.cs
- DispatcherOperation.cs
- HtmlElement.cs
- DataGridViewImageCell.cs
- MenuRendererClassic.cs
- XmlUtf8RawTextWriter.cs
- TcpConnectionPool.cs
- UTF8Encoding.cs
- DrawingState.cs
- jithelpers.cs
- InstanceCollisionException.cs
- AuthenticationException.cs
- Authorization.cs
- CacheMemory.cs
- XappLauncher.cs
- SqlProfileProvider.cs
- Console.cs
- ServiceHttpHandlerFactory.cs
- Endpoint.cs
- UrlPropertyAttribute.cs
- ClientUtils.cs
- _TransmitFileOverlappedAsyncResult.cs
- COSERVERINFO.cs
- FormsAuthenticationUser.cs
- OdbcException.cs
- LeaseManager.cs
- WorkflowViewStateService.cs
- FileNotFoundException.cs
- BuildResult.cs
- SiteMapNodeCollection.cs
- UnsafeCollabNativeMethods.cs
- SecurityTokenResolver.cs
- TrustManagerMoreInformation.cs
- FindCriteria.cs
- SqlDataSourceStatusEventArgs.cs
- BrowserCapabilitiesCodeGenerator.cs
- TemplateXamlTreeBuilder.cs
- MdiWindowListStrip.cs
- WmlTextViewAdapter.cs
- IODescriptionAttribute.cs
- ProxyWebPartManager.cs
- SerializerWriterEventHandlers.cs
- BitmapVisualManager.cs
- LocalClientSecuritySettings.cs
- LambdaSerializationException.cs
- TextElementCollectionHelper.cs
- EntityDataSourceContextCreatingEventArgs.cs
- PointAnimationClockResource.cs
- TransformDescriptor.cs
- DataSourceControlBuilder.cs
- HMACSHA512.cs
- ComponentCommands.cs
- ConditionalAttribute.cs
- CanonicalFontFamilyReference.cs
- DataColumn.cs
- BulletChrome.cs
- SimpleLine.cs
- DefaultExpressionVisitor.cs
- MsmqBindingMonitor.cs
- ReferenceEqualityComparer.cs