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
- SspiNegotiationTokenAuthenticator.cs
- SmiEventSink_Default.cs
- ChangeBlockUndoRecord.cs
- Trigger.cs
- HttpHandlersSection.cs
- DateTimeStorage.cs
- AssemblyInfo.cs
- HttpWrapper.cs
- AppDomainGrammarProxy.cs
- XmlDocument.cs
- DocumentsTrace.cs
- EnvelopedSignatureTransform.cs
- ApplicationSecurityManager.cs
- DataGridViewCellCancelEventArgs.cs
- JsonSerializer.cs
- Select.cs
- AssociationEndMember.cs
- SqlConnectionStringBuilder.cs
- QilInvokeEarlyBound.cs
- DataSourceView.cs
- ContentAlignmentEditor.cs
- NumericUpDownAccelerationCollection.cs
- DeviceSpecificChoiceCollection.cs
- SqlDataSource.cs
- BorderGapMaskConverter.cs
- MethodAccessException.cs
- CheckoutException.cs
- SpeechSynthesizer.cs
- ObjectStateEntryDbDataRecord.cs
- HttpHandlerActionCollection.cs
- WeakReferenceKey.cs
- _AcceptOverlappedAsyncResult.cs
- ExpressionBuilderContext.cs
- PropertyIDSet.cs
- ImageList.cs
- GlyphCache.cs
- Iis7Helper.cs
- ArraySortHelper.cs
- ListParaClient.cs
- Decimal.cs
- _ChunkParse.cs
- MatrixCamera.cs
- ConfigXmlText.cs
- TokenBasedSetEnumerator.cs
- XmlILStorageConverter.cs
- MinMaxParagraphWidth.cs
- Command.cs
- SchemaTableOptionalColumn.cs
- BitmapEffectState.cs
- DockProviderWrapper.cs
- RotateTransform.cs
- MatrixValueSerializer.cs
- XPathAncestorIterator.cs
- Encoder.cs
- GAC.cs
- SerialStream.cs
- TableLayoutPanel.cs
- HtmlInputPassword.cs
- HtmlUtf8RawTextWriter.cs
- COMException.cs
- MethodBuilderInstantiation.cs
- XmlChoiceIdentifierAttribute.cs
- StreamInfo.cs
- ActiveXHelper.cs
- StorageFunctionMapping.cs
- ConsoleTraceListener.cs
- DependencySource.cs
- SqlSupersetValidator.cs
- Stack.cs
- PenThreadWorker.cs
- CodeDirectionExpression.cs
- RightsManagementEncryptionTransform.cs
- ProcessStartInfo.cs
- input.cs
- XmlMemberMapping.cs
- SpeechEvent.cs
- ActivityExecutorSurrogate.cs
- Exceptions.cs
- XPathNodeList.cs
- ElementNotEnabledException.cs
- PropertyInfoSet.cs
- PartitionResolver.cs
- TargetPerspective.cs
- CapabilitiesPattern.cs
- DetailsViewAutoFormat.cs
- DataKeyArray.cs
- ApplyImportsAction.cs
- DataListItemEventArgs.cs
- InvalidChannelBindingException.cs
- PropagatorResult.cs
- Delegate.cs
- SqlCacheDependency.cs
- LoginUtil.cs
- TypeNameParser.cs
- Calendar.cs
- CapabilitiesState.cs
- Nullable.cs
- TraceLevelStore.cs
- XmlStreamStore.cs
- ContentPlaceHolderDesigner.cs