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
- DataGridViewCellCancelEventArgs.cs
- DisplayMemberTemplateSelector.cs
- IOException.cs
- Win32KeyboardDevice.cs
- WebBrowserSiteBase.cs
- IconConverter.cs
- DbParameterCollection.cs
- TableParagraph.cs
- XmlCodeExporter.cs
- DrawingGroup.cs
- QilScopedVisitor.cs
- ContentIterators.cs
- OwnerDrawPropertyBag.cs
- DiagnosticTraceSource.cs
- SqlRewriteScalarSubqueries.cs
- SystemSounds.cs
- WindowsStatic.cs
- Root.cs
- ActivationArguments.cs
- PageSetupDialog.cs
- HandledMouseEvent.cs
- SourceElementsCollection.cs
- _LocalDataStoreMgr.cs
- InfoCardTraceRecord.cs
- SiteMapProvider.cs
- JpegBitmapEncoder.cs
- MemberDescriptor.cs
- HtmlInputImage.cs
- WindowsEditBoxRange.cs
- OleDbDataReader.cs
- ETagAttribute.cs
- MenuCommands.cs
- SByteConverter.cs
- CultureInfo.cs
- List.cs
- PointConverter.cs
- TableHeaderCell.cs
- DataGridCellsPanel.cs
- _SingleItemRequestCache.cs
- Unit.cs
- SessionStateContainer.cs
- ImageAutomationPeer.cs
- UnsafeNativeMethods.cs
- ColumnMapVisitor.cs
- ButtonFlatAdapter.cs
- ParameterReplacerVisitor.cs
- LocatorManager.cs
- EventItfInfo.cs
- RunClient.cs
- BinaryObjectWriter.cs
- EmptyStringExpandableObjectConverter.cs
- DataGrid.cs
- Int64.cs
- SkinBuilder.cs
- Track.cs
- ComPersistableTypeElementCollection.cs
- WebBrowserEvent.cs
- LineUtil.cs
- AnnotationResourceCollection.cs
- SudsCommon.cs
- UrlEncodedParameterWriter.cs
- Graph.cs
- GroupBoxRenderer.cs
- SystemIcmpV6Statistics.cs
- SharedStream.cs
- RawMouseInputReport.cs
- FlowDocumentFormatter.cs
- ComEventsSink.cs
- Nullable.cs
- TextLine.cs
- ContractComponent.cs
- Baml2006Reader.cs
- ConnectionPoint.cs
- DirectoryNotFoundException.cs
- ClientScriptManager.cs
- ExtractCollection.cs
- ControlBuilderAttribute.cs
- BuildDependencySet.cs
- URI.cs
- ReferencedAssembly.cs
- Vector3D.cs
- CommonRemoteMemoryBlock.cs
- TraceSection.cs
- ProxyWebPartConnectionCollection.cs
- Highlights.cs
- ListGeneralPage.cs
- MemberAssignmentAnalysis.cs
- DispatchWrapper.cs
- PropertyTabAttribute.cs
- DrawingContextWalker.cs
- XpsPartBase.cs
- ConfigurationElement.cs
- FunctionImportMapping.cs
- SchemaExporter.cs
- Simplifier.cs
- GeneralTransform.cs
- PersistChildrenAttribute.cs
- DependencyObjectType.cs
- SoapIncludeAttribute.cs
- DbMetaDataColumnNames.cs