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
- XomlDesignerLoader.cs
- LinkButton.cs
- BaseParser.cs
- WindowsStartMenu.cs
- Int32RectValueSerializer.cs
- ToolStripSystemRenderer.cs
- ValueTable.cs
- XsdValidatingReader.cs
- ThemeDictionaryExtension.cs
- ConnectionPoint.cs
- AutoSizeComboBox.cs
- SetterBaseCollection.cs
- OutOfMemoryException.cs
- RoleGroup.cs
- DataGridColumnFloatingHeader.cs
- HyperLinkField.cs
- _PooledStream.cs
- AccessDataSourceView.cs
- ContainerControl.cs
- PreProcessInputEventArgs.cs
- EventBuilder.cs
- OleDbDataReader.cs
- DateTimeOffsetStorage.cs
- ProcessThread.cs
- TrackingCondition.cs
- SoapRpcServiceAttribute.cs
- ViewGenResults.cs
- XPathDocumentIterator.cs
- SymbolEqualComparer.cs
- SerializationTrace.cs
- QueryReaderSettings.cs
- TransformGroup.cs
- SmiSettersStream.cs
- WindowsListBox.cs
- SignedXml.cs
- XhtmlBasicValidatorAdapter.cs
- RuleSettingsCollection.cs
- VoiceSynthesis.cs
- ReferenceEqualityComparer.cs
- SchemaMerger.cs
- OleDbConnection.cs
- AlgoModule.cs
- CacheOutputQuery.cs
- ApplyTemplatesAction.cs
- ImportCatalogPart.cs
- TdsParserHelperClasses.cs
- DrawingImage.cs
- OperatingSystem.cs
- ControlCommandSet.cs
- RandomDelaySendsAsyncResult.cs
- HWStack.cs
- DispatchChannelSink.cs
- OutputCacheProfileCollection.cs
- SrgsDocumentParser.cs
- GeneralTransform2DTo3DTo2D.cs
- EditorPartChrome.cs
- SspiHelper.cs
- ping.cs
- StorageFunctionMapping.cs
- SafeEventLogWriteHandle.cs
- FormViewInsertEventArgs.cs
- ServicesExceptionNotHandledEventArgs.cs
- DataGridViewRowEventArgs.cs
- DetailsViewCommandEventArgs.cs
- SymLanguageType.cs
- Reference.cs
- Int32Collection.cs
- Matrix3DStack.cs
- graph.cs
- QueryOpeningEnumerator.cs
- BasicExpandProvider.cs
- FrameworkTemplate.cs
- UrlMappingCollection.cs
- DynamicExpression.cs
- AsymmetricSignatureFormatter.cs
- SerializeAbsoluteContext.cs
- MonthCalendar.cs
- AssemblyNameProxy.cs
- WebMethodAttribute.cs
- GroupLabel.cs
- IconConverter.cs
- CatalogZoneBase.cs
- CallbackHandler.cs
- HostingEnvironmentSection.cs
- XmlSchemaAnyAttribute.cs
- ProtectedConfiguration.cs
- PerformanceCounterPermissionAttribute.cs
- IgnoreDeviceFilterElement.cs
- RunClient.cs
- _AcceptOverlappedAsyncResult.cs
- EncryptedData.cs
- FolderLevelBuildProvider.cs
- LoginUtil.cs
- categoryentry.cs
- CountdownEvent.cs
- TimelineClockCollection.cs
- FileLogRecordEnumerator.cs
- DynamicRenderer.cs
- WorkflowTransactionOptions.cs
- TreeNodeCollection.cs