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
- PageMediaSize.cs
- DeriveBytes.cs
- GridItemCollection.cs
- RTLAwareMessageBox.cs
- X500Name.cs
- StorageComplexPropertyMapping.cs
- SynchronizedInputPattern.cs
- XmlCountingReader.cs
- MtomMessageEncodingElement.cs
- CompiledIdentityConstraint.cs
- ApplicationSettingsBase.cs
- PropertyMetadata.cs
- CategoryEditor.cs
- ListControl.cs
- Emitter.cs
- WindowsComboBox.cs
- ToolStripLabel.cs
- streamingZipPartStream.cs
- ApplicationCommands.cs
- SetState.cs
- IntPtr.cs
- MasterPage.cs
- Process.cs
- CodeThrowExceptionStatement.cs
- SocketElement.cs
- InfoCardSymmetricCrypto.cs
- FocusWithinProperty.cs
- querybuilder.cs
- HtmlTableRowCollection.cs
- PropertyInfoSet.cs
- AssemblyBuilderData.cs
- ProviderConnectionPointCollection.cs
- Directory.cs
- Vector3DAnimation.cs
- SectionXmlInfo.cs
- BindingsCollection.cs
- SqlEnums.cs
- MetaTableHelper.cs
- GlyphRun.cs
- AtlasWeb.Designer.cs
- EnvelopedSignatureTransform.cs
- AutomationTextAttribute.cs
- XmlNamespaceMapping.cs
- DataGridCellEditEndingEventArgs.cs
- _DynamicWinsockMethods.cs
- UserThread.cs
- TreeNodeCollection.cs
- GrammarBuilder.cs
- OdbcCommandBuilder.cs
- EnumConverter.cs
- SafeRightsManagementEnvironmentHandle.cs
- VectorValueSerializer.cs
- SystemFonts.cs
- FilterableAttribute.cs
- XmlBindingWorker.cs
- DesignerSerializationOptionsAttribute.cs
- NativeMethods.cs
- SerializerProvider.cs
- CommunicationObjectAbortedException.cs
- BaseTemplateParser.cs
- XmlSerializerVersionAttribute.cs
- PackWebResponse.cs
- SystemColorTracker.cs
- Attributes.cs
- FilteredXmlReader.cs
- ReadOnlyCollectionBase.cs
- FormDesigner.cs
- WindowsHyperlink.cs
- FilterEventArgs.cs
- TreeNodeBindingCollection.cs
- HttpRawResponse.cs
- MultiPageTextView.cs
- FormsAuthenticationUserCollection.cs
- FirstMatchCodeGroup.cs
- RemoteHelper.cs
- Int64.cs
- TargetControlTypeCache.cs
- InvalidFilterCriteriaException.cs
- ComplexTypeEmitter.cs
- SimpleWebHandlerParser.cs
- StylusCollection.cs
- IdentityVerifier.cs
- SecurityValidationBehavior.cs
- Exception.cs
- SqlConnectionHelper.cs
- CoTaskMemHandle.cs
- ToolBarOverflowPanel.cs
- SemaphoreSlim.cs
- HtmlInputButton.cs
- PrimitiveType.cs
- RuleSettingsCollection.cs
- CompilationLock.cs
- CurrencyManager.cs
- CustomCredentialPolicy.cs
- TextRunTypographyProperties.cs
- TextEffectCollection.cs
- TimeIntervalCollection.cs
- ManagementObjectSearcher.cs
- CompositionTarget.cs
- CommandField.cs