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
- HtmlInputSubmit.cs
- LineServicesCallbacks.cs
- CompilerState.cs
- EntityKeyElement.cs
- ModifierKeysValueSerializer.cs
- ButtonRenderer.cs
- designeractionlistschangedeventargs.cs
- DetailsViewModeEventArgs.cs
- SmtpReplyReader.cs
- PropertyEmitterBase.cs
- GlyphCollection.cs
- SByteStorage.cs
- HttpCapabilitiesEvaluator.cs
- DetailsView.cs
- DataBinder.cs
- OleDbDataAdapter.cs
- EncoderNLS.cs
- ColorConverter.cs
- DefaultProxySection.cs
- AdornerPresentationContext.cs
- KnownTypesProvider.cs
- UnsafeNativeMethodsMilCoreApi.cs
- ToolStripContainer.cs
- ByteStack.cs
- FileLoadException.cs
- ScrollableControlDesigner.cs
- XmlSerializerVersionAttribute.cs
- DefinitionBase.cs
- TextTrailingCharacterEllipsis.cs
- BitmapCodecInfo.cs
- ImplicitInputBrush.cs
- SecurityRuntime.cs
- StreamInfo.cs
- FormViewDeleteEventArgs.cs
- JsonEncodingStreamWrapper.cs
- QuaternionRotation3D.cs
- DateTimeFormatInfoScanner.cs
- ReferencedType.cs
- StringInfo.cs
- PerspectiveCamera.cs
- WindowsToolbarAsMenu.cs
- WebEvents.cs
- XmlNodeReader.cs
- Normalizer.cs
- TargetException.cs
- DataTrigger.cs
- XmlSerializerObjectSerializer.cs
- PageHandlerFactory.cs
- Int16KeyFrameCollection.cs
- XmlElement.cs
- SpeechDetectedEventArgs.cs
- InfoCardArgumentException.cs
- VisualBrush.cs
- GlobalId.cs
- PageContent.cs
- PersonalizablePropertyEntry.cs
- ListControl.cs
- TreeViewImageIndexConverter.cs
- ThreadInterruptedException.cs
- OrderingInfo.cs
- XmlNodeChangedEventArgs.cs
- TextRangeBase.cs
- StrongNameSignatureInformation.cs
- CodeThrowExceptionStatement.cs
- InputMethod.cs
- KeyGestureConverter.cs
- Workspace.cs
- DesigntimeLicenseContext.cs
- SqlFacetAttribute.cs
- LinqDataSourceInsertEventArgs.cs
- HandleCollector.cs
- DocComment.cs
- BamlTreeUpdater.cs
- ControlEvent.cs
- XmlSchemaChoice.cs
- InstalledFontCollection.cs
- SqlDataSourceStatusEventArgs.cs
- ConnectivityStatus.cs
- Annotation.cs
- RegexRunner.cs
- TokenBasedSet.cs
- Latin1Encoding.cs
- XmlSchemaExporter.cs
- Models.cs
- ToolStripRendererSwitcher.cs
- TextTreeObjectNode.cs
- SqlRowUpdatedEvent.cs
- CodeSnippetTypeMember.cs
- WebPartZoneAutoFormat.cs
- TypeDescriptionProviderAttribute.cs
- XmlArrayItemAttributes.cs
- HtmlElementEventArgs.cs
- CurrentChangedEventManager.cs
- DeviceContext2.cs
- Tracer.cs
- ProxyAttribute.cs
- BevelBitmapEffect.cs
- BaseTypeViewSchema.cs
- bindurihelper.cs
- BooleanSwitch.cs