Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / AutoResizedEvent.cs / 1305600 / AutoResizedEvent.cs
using System;
using System.Collections;
using System.Windows.Threading;
using System.Windows.Media;
using System.Runtime.InteropServices;
using MS.Win32;
namespace System.Windows
{
///
/// Handler for the AutoResized event on HwndSource.
///
public delegate void AutoResizedEventHandler(object sender, AutoResizedEventArgs e);
///
/// Event arguments for the AutoResized event on HwndSource.
///
public class AutoResizedEventArgs : EventArgs
{
///
/// Creates a new AutoResized event argument.
///
/// The new size of the HwndSource.
public AutoResizedEventArgs(Size size)
{
_size = size;
}
///
/// The new size of the HwndSource.
///
public Size Size
{
get
{
return _size;
}
}
private Size _size;
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Collections;
using System.Windows.Threading;
using System.Windows.Media;
using System.Runtime.InteropServices;
using MS.Win32;
namespace System.Windows
{
///
/// Handler for the AutoResized event on HwndSource.
///
public delegate void AutoResizedEventHandler(object sender, AutoResizedEventArgs e);
///
/// Event arguments for the AutoResized event on HwndSource.
///
public class AutoResizedEventArgs : EventArgs
{
///
/// Creates a new AutoResized event argument.
///
/// The new size of the HwndSource.
public AutoResizedEventArgs(Size size)
{
_size = size;
}
///
/// The new size of the HwndSource.
///
public Size Size
{
get
{
return _size;
}
}
private Size _size;
}
}
// 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
- XmlCompatibilityReader.cs
- LineBreak.cs
- SqlCacheDependencyDatabase.cs
- WebPartChrome.cs
- BufferAllocator.cs
- PrimitiveCodeDomSerializer.cs
- IOThreadScheduler.cs
- BaseDataListPage.cs
- PolicyLevel.cs
- PaintValueEventArgs.cs
- IgnorePropertiesAttribute.cs
- HMACSHA384.cs
- WarningException.cs
- FormViewInsertEventArgs.cs
- State.cs
- DesignerForm.cs
- GridSplitter.cs
- ThreadWorkerController.cs
- CodeTypeParameter.cs
- DockAndAnchorLayout.cs
- PolyLineSegment.cs
- LineSegment.cs
- SubMenuStyleCollection.cs
- HttpProfileBase.cs
- LambdaCompiler.Address.cs
- GetUserPreferenceRequest.cs
- XmlNamedNodeMap.cs
- webeventbuffer.cs
- CollectionConverter.cs
- EventHandlersStore.cs
- SchemaElementDecl.cs
- SHA384.cs
- BindingSourceDesigner.cs
- TemplateControlBuildProvider.cs
- PeerNameRecordCollection.cs
- SoapInteropTypes.cs
- DetailsViewUpdateEventArgs.cs
- ScrollChangedEventArgs.cs
- EmulateRecognizeCompletedEventArgs.cs
- HandlerElement.cs
- ConfigurationPropertyAttribute.cs
- TypeSource.cs
- SimpleHandlerBuildProvider.cs
- BitmapImage.cs
- Operators.cs
- EventLogEntryCollection.cs
- XmlCompatibilityReader.cs
- ManagementObjectCollection.cs
- FormViewDeleteEventArgs.cs
- ToolStripSplitStackLayout.cs
- MessageQueueKey.cs
- AppDomainProtocolHandler.cs
- PassportPrincipal.cs
- TreeView.cs
- SecondaryIndex.cs
- coordinatorscratchpad.cs
- ArgIterator.cs
- UniqueIdentifierService.cs
- _Win32.cs
- WebBrowserContainer.cs
- MergablePropertyAttribute.cs
- _StreamFramer.cs
- FlowNode.cs
- ContextDataSourceContextData.cs
- BindingManagerDataErrorEventArgs.cs
- SmtpClient.cs
- DataGridViewLinkCell.cs
- ConfigXmlSignificantWhitespace.cs
- XmlSchemaObjectCollection.cs
- TrackingProfile.cs
- MultipartContentParser.cs
- DrawItemEvent.cs
- ConnectionStringSettings.cs
- GroupItemAutomationPeer.cs
- X509ThumbprintKeyIdentifierClause.cs
- GridViewPageEventArgs.cs
- SortableBindingList.cs
- IERequestCache.cs
- GenericXmlSecurityToken.cs
- _HelperAsyncResults.cs
- PathSegment.cs
- SpecialNameAttribute.cs
- HttpListenerPrefixCollection.cs
- SQlBooleanStorage.cs
- Visual3DCollection.cs
- VirtualDirectoryMappingCollection.cs
- CopyCodeAction.cs
- ScrollEventArgs.cs
- XmlSchemaAny.cs
- NavigatorOutput.cs
- ProxyWebPart.cs
- TreeNodeBinding.cs
- ISSmlParser.cs
- ManualResetEvent.cs
- XDRSchema.cs
- RoleManagerSection.cs
- RuleCache.cs
- ImageButton.cs
- Utils.cs
- ObjRef.cs