Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ColumnWidthChangingEvent.cs / 1305376 / ColumnWidthChangingEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.ComponentModel; ///public class ColumnWidthChangingEventArgs : CancelEventArgs { int columnIndex; int newWidth; /// /// /// Creates a new ColumnWidthChanging event /// public ColumnWidthChangingEventArgs(int columnIndex, int newWidth, bool cancel) : base (cancel) { this.columnIndex = columnIndex; this.newWidth = newWidth; } ////// /// Creates a new ColumnWidthChanging event /// public ColumnWidthChangingEventArgs(int columnIndex, int newWidth) : base() { this.columnIndex = columnIndex; this.newWidth = newWidth; } ////// /// Returns the index of the column header whose width is changing /// public int ColumnIndex { get { return this.columnIndex; } } ////// /// Returns the new width for the column header who is changing /// public int NewWidth { get { return this.newWidth; } set { this.newWidth = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UseAttributeSetsAction.cs
- MetabaseServerConfig.cs
- Pointer.cs
- KnownAssemblyEntry.cs
- PEFileReader.cs
- DataRecordInfo.cs
- XPathException.cs
- ClientRuntimeConfig.cs
- DomainUpDown.cs
- MemoryRecordBuffer.cs
- EmptyImpersonationContext.cs
- WmpBitmapEncoder.cs
- WorkflowOperationInvoker.cs
- ExpressionList.cs
- DefaultTraceListener.cs
- TdsParser.cs
- StrokeIntersection.cs
- ProfileServiceManager.cs
- RelatedView.cs
- BindingList.cs
- CompilerCollection.cs
- PrintDialog.cs
- DocumentGridPage.cs
- DataGridViewUtilities.cs
- XmlSchemaElement.cs
- WebControlAdapter.cs
- XmlSchemaObjectTable.cs
- GenerateHelper.cs
- SiteMapPathDesigner.cs
- ClientRolePrincipal.cs
- WindowsUpDown.cs
- Int32RectValueSerializer.cs
- FixedSOMContainer.cs
- DataGridViewAutoSizeModeEventArgs.cs
- SimpleHandlerBuildProvider.cs
- CustomDictionarySources.cs
- Stack.cs
- SqlTypeConverter.cs
- NavigationExpr.cs
- WSSecureConversation.cs
- CategoryAttribute.cs
- ComponentCodeDomSerializer.cs
- FusionWrap.cs
- DisplayInformation.cs
- Helper.cs
- TextElementCollectionHelper.cs
- Module.cs
- TextSelectionProcessor.cs
- RoutedEventConverter.cs
- Light.cs
- DelegateTypeInfo.cs
- MemberAccessException.cs
- IriParsingElement.cs
- ConfigXmlAttribute.cs
- SamlSerializer.cs
- ListControlBoundActionList.cs
- ManagementObject.cs
- ResolveMatchesMessage11.cs
- TrayIconDesigner.cs
- Utils.cs
- DesignerForm.cs
- WebCategoryAttribute.cs
- TextLine.cs
- RadioButton.cs
- BaseTemplateParser.cs
- CopyNamespacesAction.cs
- StreamInfo.cs
- AsyncDataRequest.cs
- XsltConvert.cs
- SqlUnionizer.cs
- _NegoState.cs
- ShortcutKeysEditor.cs
- AutoGeneratedFieldProperties.cs
- TokenizerHelper.cs
- XmlSiteMapProvider.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- ToolStripDropDownClosingEventArgs.cs
- UiaCoreApi.cs
- TransformedBitmap.cs
- WindowsRichEditRange.cs
- UICuesEvent.cs
- LogicalTreeHelper.cs
- BindingCompleteEventArgs.cs
- Property.cs
- SelectionListComponentEditor.cs
- BamlTreeNode.cs
- GeometryConverter.cs
- InvalidProgramException.cs
- BigInt.cs
- QilList.cs
- SymbolMethod.cs
- AppearanceEditorPart.cs
- AutomationTextAttribute.cs
- ListSortDescription.cs
- ContextBase.cs
- HttpContext.cs
- Literal.cs
- TypeUtil.cs
- AutomationPeer.cs
- ArrayList.cs