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
- XmlTextReader.cs
- XmlNamespaceMappingCollection.cs
- ExpressionStringBuilder.cs
- WindowsListViewGroupHelper.cs
- FixedBufferAttribute.cs
- PkcsUtils.cs
- TraceHwndHost.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- _DigestClient.cs
- DependencyPropertyHelper.cs
- ObjectToModelValueConverter.cs
- LingerOption.cs
- exports.cs
- TypeUtil.cs
- WSHttpSecurityElement.cs
- elementinformation.cs
- TextReturnReader.cs
- ImageConverter.cs
- X509Certificate.cs
- UnauthorizedWebPart.cs
- DataBindingCollection.cs
- MyContact.cs
- TakeOrSkipWhileQueryOperator.cs
- ArithmeticException.cs
- SiteMapNodeCollection.cs
- HwndProxyElementProvider.cs
- XPathSelectionIterator.cs
- HelloOperation11AsyncResult.cs
- Dump.cs
- XmlParserContext.cs
- Configuration.cs
- NoneExcludedImageIndexConverter.cs
- AvTraceDetails.cs
- ExceptionRoutedEventArgs.cs
- DataServiceContext.cs
- ComponentCache.cs
- ResumeStoryboard.cs
- XmlStreamStore.cs
- FontConverter.cs
- Object.cs
- PropertyGroupDescription.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- ConfigurationStrings.cs
- CodeMemberMethod.cs
- TableCell.cs
- ImageSource.cs
- CompModSwitches.cs
- IsolatedStorageFilePermission.cs
- TableCell.cs
- XmlAttribute.cs
- ExternalException.cs
- RadioButtonBaseAdapter.cs
- CompModSwitches.cs
- CanonicalXml.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- WebPartDescription.cs
- HttpRequestCacheValidator.cs
- AssemblyHash.cs
- LoginUtil.cs
- UrlPropertyAttribute.cs
- WebPartVerbCollection.cs
- SimpleMailWebEventProvider.cs
- InternalControlCollection.cs
- CssTextWriter.cs
- EventLogPermissionEntry.cs
- SignatureDescription.cs
- RedistVersionInfo.cs
- DefaultAsyncDataDispatcher.cs
- TableItemStyle.cs
- CompilerScopeManager.cs
- ProxyFragment.cs
- ArgumentException.cs
- ListControlConvertEventArgs.cs
- InkPresenterAutomationPeer.cs
- SourceCollection.cs
- Transactions.cs
- ConfigXmlDocument.cs
- XmlDocumentType.cs
- PropertyMap.cs
- SqlServices.cs
- XPathDescendantIterator.cs
- _Semaphore.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ActivationProxy.cs
- ContainerAction.cs
- Subtree.cs
- UmAlQuraCalendar.cs
- FileChangeNotifier.cs
- RegionIterator.cs
- DocumentViewer.cs
- PeerNameRegistration.cs
- HttpRequestCacheValidator.cs
- WsatTransactionInfo.cs
- BrowserCapabilitiesCodeGenerator.cs
- HScrollProperties.cs
- PackagePartCollection.cs
- SelectionChangedEventArgs.cs
- DLinqColumnProvider.cs
- DoubleAnimationBase.cs
- Facet.cs