Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / LayoutEvent.cs / 1 / LayoutEvent.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms {
using System;
using System.ComponentModel;
///
///
///
public sealed class LayoutEventArgs : EventArgs {
private readonly IComponent affectedComponent;
private readonly string affectedProperty;
///
public LayoutEventArgs(IComponent affectedComponent, string affectedProperty) {
this.affectedComponent = affectedComponent;
this.affectedProperty = affectedProperty;
}
// This ctor required for binary compatibility with RTM.
///
public LayoutEventArgs(Control affectedControl, string affectedProperty)
: this((IComponent)affectedControl, affectedProperty) {
}
///
public IComponent AffectedComponent {
get {
return affectedComponent;
}
}
///
///
/// [To be supplied.]
///
public Control AffectedControl {
get {
return affectedComponent as Control;
}
}
///
///
/// [To be supplied.]
///
public string AffectedProperty {
get {
return affectedProperty;
}
}
}
}
// 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
- COM2ExtendedBrowsingHandler.cs
- QuaternionValueSerializer.cs
- MenuItemBinding.cs
- ParameterToken.cs
- ComAdminInterfaces.cs
- FlowPosition.cs
- VisualBasicSettingsConverter.cs
- XPathAncestorQuery.cs
- ModelTreeManager.cs
- InvalidProgramException.cs
- EntityStoreSchemaGenerator.cs
- ClaimComparer.cs
- ErrorItem.cs
- QilUnary.cs
- ReversePositionQuery.cs
- PersonalizationStateQuery.cs
- ListBindingHelper.cs
- BitmapEffectInputData.cs
- CmsInterop.cs
- MemoryFailPoint.cs
- UriSection.cs
- FrameworkTextComposition.cs
- SchemaObjectWriter.cs
- CheckBoxRenderer.cs
- CodeExpressionCollection.cs
- ContactManager.cs
- MembershipUser.cs
- DataKeyCollection.cs
- TextLine.cs
- DesignBinding.cs
- TransformerInfo.cs
- SynchronizationContext.cs
- ValidatorCollection.cs
- WinEventHandler.cs
- TransactionTable.cs
- TabPage.cs
- Polyline.cs
- ConnectionManager.cs
- ObjectStateFormatter.cs
- Rotation3DAnimation.cs
- AttachedPropertyBrowsableAttribute.cs
- SkewTransform.cs
- ColorContext.cs
- TemplatedEditableDesignerRegion.cs
- ToolBarButtonDesigner.cs
- PropertyMetadata.cs
- CqlBlock.cs
- ExternalDataExchangeService.cs
- MarshalDirectiveException.cs
- Point4D.cs
- ImageSourceConverter.cs
- HostedHttpRequestAsyncResult.cs
- DefaultBinder.cs
- LineBreakRecord.cs
- WaitForChangedResult.cs
- SrgsText.cs
- CheckBoxAutomationPeer.cs
- RoleServiceManager.cs
- WriteableBitmap.cs
- PropertyInfoSet.cs
- TTSEngineProxy.cs
- FromRequest.cs
- StrokeCollection2.cs
- OleStrCAMarshaler.cs
- XPathNodeHelper.cs
- CursorConverter.cs
- SegmentInfo.cs
- ServicePerformanceCounters.cs
- PageStatePersister.cs
- WeakReferenceList.cs
- BrowserCapabilitiesFactory.cs
- SBCSCodePageEncoding.cs
- TextEmbeddedObject.cs
- DataColumnChangeEvent.cs
- TypefaceCollection.cs
- SimpleTypeResolver.cs
- StatusInfoItem.cs
- ACE.cs
- relpropertyhelper.cs
- WebPartVerbCollection.cs
- SmtpDigestAuthenticationModule.cs
- ObjectIDGenerator.cs
- SqlTrackingQuery.cs
- DisplayInformation.cs
- HMACSHA256.cs
- CodeSnippetTypeMember.cs
- ToolStripHighContrastRenderer.cs
- COM2ExtendedUITypeEditor.cs
- CodeDomDecompiler.cs
- DescendentsWalker.cs
- SafeHandles.cs
- WeakKeyDictionary.cs
- WebPartConnectionsCloseVerb.cs
- ListGeneralPage.cs
- HtmlHistory.cs
- XmlSchemaSimpleContent.cs
- CategoryAttribute.cs
- UIElementPropertyUndoUnit.cs
- IndentedTextWriter.cs
- OlePropertyStructs.cs