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
- XmlNamedNodeMap.cs
- ThemeDirectoryCompiler.cs
- Exceptions.cs
- DrawItemEvent.cs
- ListViewItem.cs
- MaterialGroup.cs
- CompiledRegexRunnerFactory.cs
- XmlSerializationReader.cs
- _SafeNetHandles.cs
- ValueUnavailableException.cs
- Annotation.cs
- SchemaInfo.cs
- GC.cs
- OrderablePartitioner.cs
- HandleCollector.cs
- TreeViewAutomationPeer.cs
- DataGridToolTip.cs
- PipeSecurity.cs
- activationcontext.cs
- OdbcCommandBuilder.cs
- CompiledQueryCacheEntry.cs
- HttpHeaderCollection.cs
- EventLevel.cs
- XmlAnyElementAttributes.cs
- AnimatedTypeHelpers.cs
- Overlapped.cs
- GAC.cs
- VisualStyleInformation.cs
- ColorConverter.cs
- NativeDirectoryServicesQueryAPIs.cs
- GlobalProxySelection.cs
- HttpConfigurationContext.cs
- OrCondition.cs
- HeaderedItemsControl.cs
- ParseNumbers.cs
- SchemaLookupTable.cs
- WebPartMenuStyle.cs
- ThreadStaticAttribute.cs
- NonBatchDirectoryCompiler.cs
- ResXBuildProvider.cs
- SafeSerializationManager.cs
- Grammar.cs
- DesignColumn.cs
- DetailsViewInsertEventArgs.cs
- HMACMD5.cs
- TaskFileService.cs
- ListViewDataItem.cs
- SmiTypedGetterSetter.cs
- SqlParameter.cs
- Random.cs
- SamlSubject.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- ManagementInstaller.cs
- WebHttpSecurity.cs
- ListItemCollection.cs
- FilteredAttributeCollection.cs
- PaintEvent.cs
- PeerContact.cs
- GeometryGroup.cs
- MemberNameValidator.cs
- DragEvent.cs
- ExpressionNode.cs
- ControlBuilderAttribute.cs
- ConfigUtil.cs
- AppSettingsExpressionBuilder.cs
- TraceXPathNavigator.cs
- CorrelationResolver.cs
- SystemFonts.cs
- GeneralTransform3DGroup.cs
- ClientSession.cs
- UrlAuthFailureHandler.cs
- FullTextLine.cs
- MouseActionConverter.cs
- Button.cs
- IPHostEntry.cs
- ResourceDefaultValueAttribute.cs
- DateTimeConverter.cs
- DataBindingList.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- TextLineResult.cs
- TableRow.cs
- Trigger.cs
- DrawingBrush.cs
- WebConfigurationFileMap.cs
- PluralizationService.cs
- JournalEntry.cs
- Compilation.cs
- TextDecorationUnitValidation.cs
- RSAPKCS1SignatureFormatter.cs
- SelectionItemProviderWrapper.cs
- BezierSegment.cs
- Ticks.cs
- UIElement3D.cs
- UrlMappingCollection.cs
- XmlAttribute.cs
- GiveFeedbackEventArgs.cs
- TakeQueryOptionExpression.cs
- ItemCheckEvent.cs
- ExtensionQuery.cs
- PolyLineSegment.cs