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
- TypeSource.cs
- HttpRuntimeSection.cs
- XslException.cs
- ServiceDefaults.cs
- ReturnEventArgs.cs
- InternalControlCollection.cs
- IntegerValidator.cs
- StackSpiller.Generated.cs
- TreeNode.cs
- AssociationSet.cs
- RowUpdatingEventArgs.cs
- PropertyEntry.cs
- CommandField.cs
- IsolatedStorageFile.cs
- DataRelation.cs
- GroupStyle.cs
- SafeHandles.cs
- Matrix.cs
- DefaultProxySection.cs
- XPathNodePointer.cs
- SmtpAuthenticationManager.cs
- SerializationAttributes.cs
- While.cs
- CustomAttributeFormatException.cs
- OrderedDictionary.cs
- TempFiles.cs
- FontConverter.cs
- TreeNode.cs
- ProtocolsSection.cs
- FunctionDescription.cs
- QueryCacheKey.cs
- XamlRtfConverter.cs
- ComponentDispatcherThread.cs
- GifBitmapDecoder.cs
- KeyToListMap.cs
- NativeMethods.cs
- ErrorRuntimeConfig.cs
- SoapAttributeOverrides.cs
- PassportPrincipal.cs
- CommandValueSerializer.cs
- NativeMethods.cs
- FontStyle.cs
- StylusButtonCollection.cs
- MarkupCompiler.cs
- Subtree.cs
- CollectionAdapters.cs
- CodeMethodReturnStatement.cs
- ListItemConverter.cs
- TextContainerChangeEventArgs.cs
- TimerEventSubscriptionCollection.cs
- ElementFactory.cs
- ResolveNameEventArgs.cs
- NullReferenceException.cs
- TableItemPattern.cs
- TransactionOptions.cs
- SqlRowUpdatingEvent.cs
- ResourceWriter.cs
- IDReferencePropertyAttribute.cs
- RecognizedWordUnit.cs
- MediaElement.cs
- ITextView.cs
- XNodeNavigator.cs
- LinearGradientBrush.cs
- RestHandler.cs
- SessionSwitchEventArgs.cs
- EmptyImpersonationContext.cs
- DataSpaceManager.cs
- QuaternionConverter.cs
- EntitySqlQueryBuilder.cs
- ScrollableControl.cs
- RequestDescription.cs
- QilReference.cs
- CompilerScope.cs
- TypeUsage.cs
- MailWebEventProvider.cs
- TypeDependencyAttribute.cs
- ProfileEventArgs.cs
- HtmlTableRow.cs
- Type.cs
- PartialCachingAttribute.cs
- WebHttpSecurityElement.cs
- RuleProcessor.cs
- UnmanagedMemoryStream.cs
- Cursors.cs
- DashStyles.cs
- UserThread.cs
- XPathScanner.cs
- DataViewManagerListItemTypeDescriptor.cs
- DataGridAutoFormatDialog.cs
- MergeLocalizationDirectives.cs
- CompleteWizardStep.cs
- CodeCatchClauseCollection.cs
- SymDocumentType.cs
- UserControlBuildProvider.cs
- ManualResetEvent.cs
- DateTimeEditor.cs
- DataTableExtensions.cs
- BinaryVersion.cs
- XpsColorContext.cs
- RevocationPoint.cs