Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MetadataCache.cs
- _NestedMultipleAsyncResult.cs
- WebConfigurationFileMap.cs
- WhitespaceRuleLookup.cs
- BasicCellRelation.cs
- StylusPlugInCollection.cs
- View.cs
- Figure.cs
- EventMappingSettingsCollection.cs
- Transform3DCollection.cs
- oledbmetadatacollectionnames.cs
- Int16Converter.cs
- RightsManagementEncryptedStream.cs
- Operator.cs
- ClosableStream.cs
- EUCJPEncoding.cs
- RadioButton.cs
- XPathPatternBuilder.cs
- TemplatedAdorner.cs
- DrawingAttributes.cs
- _ShellExpression.cs
- HttpListenerContext.cs
- SecurityTokenParametersEnumerable.cs
- StylusLogic.cs
- CommentAction.cs
- EventEntry.cs
- MatrixTransform.cs
- Tuple.cs
- ProviderConnectionPointCollection.cs
- ValidatorCollection.cs
- GridViewCommandEventArgs.cs
- QuadraticBezierSegment.cs
- LinqDataSourceContextEventArgs.cs
- GroupItem.cs
- PrinterResolution.cs
- ReflectionPermission.cs
- WmlLinkAdapter.cs
- DBPropSet.cs
- BinarySecretKeyIdentifierClause.cs
- GlyphsSerializer.cs
- CodeMethodInvokeExpression.cs
- SecurityTimestamp.cs
- FixedTextView.cs
- _SpnDictionary.cs
- Timer.cs
- ProfilePropertySettings.cs
- XsltContext.cs
- StringCollection.cs
- WindowsSolidBrush.cs
- bidPrivateBase.cs
- ProfileServiceManager.cs
- XmlDataSourceNodeDescriptor.cs
- IssuanceLicense.cs
- EventLogEntry.cs
- NamespaceDisplay.xaml.cs
- HtmlInputFile.cs
- TagPrefixAttribute.cs
- GridViewRow.cs
- MessageFilter.cs
- LoadWorkflowByInstanceKeyCommand.cs
- DataGridViewCellMouseEventArgs.cs
- CompensationDesigner.cs
- serverconfig.cs
- StatusBarItemAutomationPeer.cs
- ThemeInfoAttribute.cs
- WaitForChangedResult.cs
- Atom10ItemFormatter.cs
- MenuItemBinding.cs
- UIntPtr.cs
- ExceptionHandler.cs
- Int32RectConverter.cs
- BlockCollection.cs
- Base64WriteStateInfo.cs
- EraserBehavior.cs
- CollectionConverter.cs
- OleDbParameter.cs
- CodeValidator.cs
- TrackingExtract.cs
- QueryOperationResponseOfT.cs
- SortDescription.cs
- BaseProcessor.cs
- WindowsImpersonationContext.cs
- ControlEvent.cs
- OpenTypeCommon.cs
- LineMetrics.cs
- WindowsAuthenticationModule.cs
- SymmetricSecurityBindingElement.cs
- SoapProtocolReflector.cs
- SecurityPolicySection.cs
- TemplateBaseAction.cs
- InvokeMethodActivity.cs
- Stroke2.cs
- WebServiceMethodData.cs
- DataKeyArray.cs
- WorkflowDefinitionDispenser.cs
- Imaging.cs
- XhtmlBasicLabelAdapter.cs
- ExportFileRequest.cs
- ParameterToken.cs