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
- EntityDataSource.cs
- SqlComparer.cs
- RightsController.cs
- FloaterParagraph.cs
- GatewayDefinition.cs
- GeometryHitTestParameters.cs
- Mappings.cs
- LineSegment.cs
- NonDualMessageSecurityOverHttp.cs
- DefaultValueTypeConverter.cs
- VectorAnimation.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- InvokeBinder.cs
- SafeSecurityHandles.cs
- XmlSerializationGeneratedCode.cs
- WebColorConverter.cs
- WebPartManager.cs
- AdditionalEntityFunctions.cs
- WebAdminConfigurationHelper.cs
- SchemaNamespaceManager.cs
- HttpListenerException.cs
- EdmSchemaError.cs
- HostedImpersonationContext.cs
- TextEditorSpelling.cs
- RuntimeConfigurationRecord.cs
- DecoderExceptionFallback.cs
- CommandField.cs
- WizardStepBase.cs
- _AuthenticationState.cs
- CurrencyWrapper.cs
- XmlSchemaDocumentation.cs
- SByteConverter.cs
- Win32NamedPipes.cs
- ExpressionEditorAttribute.cs
- EntityDataSourceConfigureObjectContextPanel.cs
- HashHelper.cs
- HTTPRemotingHandler.cs
- SequentialUshortCollection.cs
- OraclePermission.cs
- AnimatedTypeHelpers.cs
- InsufficientMemoryException.cs
- XmlEventCache.cs
- PerformanceCounterPermissionEntryCollection.cs
- Transform3DGroup.cs
- BrowserDefinition.cs
- PerformanceCountersElement.cs
- JsonFormatReaderGenerator.cs
- ConfigXmlReader.cs
- StopStoryboard.cs
- LinqDataSourceContextData.cs
- SoapSchemaExporter.cs
- UIElement3D.cs
- XmlDataSource.cs
- XmlPreloadedResolver.cs
- WindowsMenu.cs
- UIAgentInitializationException.cs
- WmpBitmapEncoder.cs
- counter.cs
- SystemMulticastIPAddressInformation.cs
- HtmlUtf8RawTextWriter.cs
- PropertyValueUIItem.cs
- UserControlCodeDomTreeGenerator.cs
- AbandonedMutexException.cs
- BoundField.cs
- ButtonBaseAdapter.cs
- bidPrivateBase.cs
- RecognizedWordUnit.cs
- RoleManagerEventArgs.cs
- TemplateColumn.cs
- DropShadowBitmapEffect.cs
- AppearanceEditorPart.cs
- MouseActionConverter.cs
- Helper.cs
- SystemIPGlobalStatistics.cs
- DataGridViewImageCell.cs
- SystemIPv6InterfaceProperties.cs
- SchemaImporterExtensionsSection.cs
- XmlSchemaAppInfo.cs
- EventSinkHelperWriter.cs
- DesignerTextBoxAdapter.cs
- SharedStatics.cs
- WindowsListBox.cs
- OracleParameter.cs
- ProfileSection.cs
- DynamicResourceExtensionConverter.cs
- MembershipUser.cs
- RelatedCurrencyManager.cs
- PeekCompletedEventArgs.cs
- ActivationServices.cs
- ObjectItemCachedAssemblyLoader.cs
- StreamGeometry.cs
- _CacheStreams.cs
- DiagnosticsConfigurationHandler.cs
- NonBatchDirectoryCompiler.cs
- ValidatorUtils.cs
- XamlParser.cs
- DashStyle.cs
- SmtpReplyReader.cs
- storepermission.cs
- SwitchElementsCollection.cs