Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / ColumnWidthChangingEvent.cs / 1 / 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. //------------------------------------------------------------------------------ //// 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
- FullTextLine.cs
- DocumentAutomationPeer.cs
- SecurityState.cs
- HtmlInputHidden.cs
- UpdatePanel.cs
- FontWeightConverter.cs
- XsdSchemaFileEditor.cs
- WebReferenceCollection.cs
- XmlSequenceWriter.cs
- DataGridViewTextBoxEditingControl.cs
- SingleObjectCollection.cs
- XmlReflectionMember.cs
- PopOutPanel.cs
- ApplyImportsAction.cs
- pingexception.cs
- PropertyValueUIItem.cs
- OleDbEnumerator.cs
- UserNamePasswordValidator.cs
- DataViewManager.cs
- RegexMatchCollection.cs
- ThumbButtonInfo.cs
- XmlSchemaAttribute.cs
- TableNameAttribute.cs
- PrintController.cs
- ItemsChangedEventArgs.cs
- Internal.cs
- TreeNodeMouseHoverEvent.cs
- DbXmlEnabledProviderManifest.cs
- XmlSchemaInfo.cs
- ManifestResourceInfo.cs
- SecurityState.cs
- Converter.cs
- GenerateTemporaryTargetAssembly.cs
- Gdiplus.cs
- GlobalId.cs
- TextShapeableCharacters.cs
- CodeMemberEvent.cs
- InvalidDocumentContentsException.cs
- ZipIOExtraFieldElement.cs
- SerializationInfo.cs
- UrlEncodedParameterWriter.cs
- TablePattern.cs
- NameScopePropertyAttribute.cs
- UserNameSecurityToken.cs
- SByteConverter.cs
- MetadataResolver.cs
- UidManager.cs
- MergeExecutor.cs
- ClientSettingsProvider.cs
- StateItem.cs
- ControlPropertyNameConverter.cs
- figurelength.cs
- DocumentOrderQuery.cs
- FormatterServicesNoSerializableCheck.cs
- UnauthorizedAccessException.cs
- NamedPipeAppDomainProtocolHandler.cs
- DataBindingCollection.cs
- DataGrid.cs
- UnaryExpression.cs
- FillErrorEventArgs.cs
- AutomationPropertyInfo.cs
- Quaternion.cs
- ToolStripPanel.cs
- ClientEventManager.cs
- BinaryMethodMessage.cs
- ConfigurationErrorsException.cs
- OdbcFactory.cs
- SequenceDesigner.cs
- ChameleonKey.cs
- ZipIOBlockManager.cs
- PageContent.cs
- CompModSwitches.cs
- Pkcs9Attribute.cs
- BrowserDefinitionCollection.cs
- TranslateTransform3D.cs
- Table.cs
- StringInfo.cs
- XsltArgumentList.cs
- InputLanguageManager.cs
- CommandBindingCollection.cs
- DesigntimeLicenseContextSerializer.cs
- AssociatedControlConverter.cs
- XmlAttributeProperties.cs
- MouseButtonEventArgs.cs
- XmlSchemaSimpleTypeList.cs
- C14NUtil.cs
- SafeRegistryKey.cs
- MissingMethodException.cs
- WindowsRebar.cs
- HtmlDocument.cs
- TransactionContextManager.cs
- TypedOperationInfo.cs
- MostlySingletonList.cs
- MulticastDelegate.cs
- HeaderUtility.cs
- JapaneseCalendar.cs
- ScriptControlManager.cs
- VerificationException.cs
- PrivilegeNotHeldException.cs
- DetailsViewInsertedEventArgs.cs