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
- RuntimeUtils.cs
- ServiceModelStringsVersion1.cs
- mongolianshape.cs
- Variant.cs
- EntityTypeEmitter.cs
- AddInToken.cs
- FunctionImportMapping.cs
- DataColumnChangeEvent.cs
- QilLiteral.cs
- SubMenuStyleCollection.cs
- UpdateTracker.cs
- UnmanagedMemoryStreamWrapper.cs
- WorkflowApplicationAbortedException.cs
- XPathDescendantIterator.cs
- EncoderParameters.cs
- RepeatButtonAutomationPeer.cs
- FullTextLine.cs
- BufferBuilder.cs
- SecurityCriticalDataForSet.cs
- BooleanKeyFrameCollection.cs
- Graph.cs
- StateMachineDesignerPaint.cs
- PropertyRef.cs
- WaitHandleCannotBeOpenedException.cs
- ConnectionPoolManager.cs
- RoutedUICommand.cs
- PartialCachingControl.cs
- OleDbWrapper.cs
- ForceCopyBuildProvider.cs
- BitmapEffectCollection.cs
- DocumentStream.cs
- httpapplicationstate.cs
- ResourceSetExpression.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- DataGridViewLayoutData.cs
- FlowDocumentPage.cs
- XamlFigureLengthSerializer.cs
- WebPartEditVerb.cs
- XamlSerializationHelper.cs
- Window.cs
- MarshalByRefObject.cs
- ServiceParser.cs
- TextTreeUndoUnit.cs
- LoadedOrUnloadedOperation.cs
- URLMembershipCondition.cs
- Attachment.cs
- hresults.cs
- Util.cs
- TraceSection.cs
- DbMetaDataFactory.cs
- PaginationProgressEventArgs.cs
- SoapIgnoreAttribute.cs
- PointAnimationUsingKeyFrames.cs
- ListViewItemMouseHoverEvent.cs
- AnnotationMap.cs
- DebugView.cs
- WindowsListViewScroll.cs
- ConstraintEnumerator.cs
- PathFigure.cs
- Mouse.cs
- TemplatedEditableDesignerRegion.cs
- XmlSiteMapProvider.cs
- IndentTextWriter.cs
- QueryExtender.cs
- QueryableFilterRepeater.cs
- TextInfo.cs
- UserControl.cs
- CompModSwitches.cs
- ConfigurationStrings.cs
- CodeCompiler.cs
- EventLogSession.cs
- StorageSetMapping.cs
- assertwrapper.cs
- TraceRecord.cs
- BitmapPalette.cs
- BaseHashHelper.cs
- ResourceKey.cs
- StringFormat.cs
- PromptBuilder.cs
- SapiAttributeParser.cs
- MouseEventArgs.cs
- Misc.cs
- ListBase.cs
- FormViewDeleteEventArgs.cs
- PriorityQueue.cs
- VectorConverter.cs
- Color.cs
- SystemIPGlobalProperties.cs
- StreamSecurityUpgradeAcceptorBase.cs
- PerformanceCounterManager.cs
- ClientTarget.cs
- DataGridViewSortCompareEventArgs.cs
- ShellProvider.cs
- SecureStringHasher.cs
- UriExt.cs
- TemplateContainer.cs
- ObjectParameterCollection.cs
- OleDbPropertySetGuid.cs
- SendActivity.cs
- AtomServiceDocumentSerializer.cs