Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Base / System / Windows / Int32Rect.cs / 1 / Int32Rect.cs
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2001, 2002 // // File: Int32Rect.cs //----------------------------------------------------------------------------- using System; using System.Diagnostics; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Reflection; using System.Text; using System.Collections; using System.Globalization; using MS.Internal; using System.Windows; using System.Windows.Media; using System.Runtime.InteropServices; using System.Security; using System.Security.Permissions; namespace System.Windows { ////// Int32Rect - The primitive which represents an integer rectangle. /// public partial struct Int32Rect { #region Constructors ////// Constructor which sets the initial values to the values of the parameters. /// public Int32Rect(Int32 x, Int32 y, Int32 width, Int32 height) { _x = x; _y = y; _width = width; _height = height; } #endregion Constructors #region Statics ////// Empty - a static property which provides an Empty Int32Rectangle. /// public static Int32Rect Empty { get { return s_empty; } } #endregion Statics #region Public Properties ////// IsEmpty - this returns true if this Int32Rect is the Empty integer rectangle. /// public bool IsEmpty { get { return (_x == 0) && (_y == 0) && (_width == 0) && (_height == 0); } } #endregion Public Properties #region Public Methods #endregion Private Methods #region Private Fields private readonly static Int32Rect s_empty = new Int32Rect(0,0,0,0); #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2001, 2002 // // File: Int32Rect.cs //----------------------------------------------------------------------------- using System; using System.Diagnostics; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Reflection; using System.Text; using System.Collections; using System.Globalization; using MS.Internal; using System.Windows; using System.Windows.Media; using System.Runtime.InteropServices; using System.Security; using System.Security.Permissions; namespace System.Windows { ////// Int32Rect - The primitive which represents an integer rectangle. /// public partial struct Int32Rect { #region Constructors ////// Constructor which sets the initial values to the values of the parameters. /// public Int32Rect(Int32 x, Int32 y, Int32 width, Int32 height) { _x = x; _y = y; _width = width; _height = height; } #endregion Constructors #region Statics ////// Empty - a static property which provides an Empty Int32Rectangle. /// public static Int32Rect Empty { get { return s_empty; } } #endregion Statics #region Public Properties ////// IsEmpty - this returns true if this Int32Rect is the Empty integer rectangle. /// public bool IsEmpty { get { return (_x == 0) && (_y == 0) && (_width == 0) && (_height == 0); } } #endregion Public Properties #region Public Methods #endregion Private Methods #region Private Fields private readonly static Int32Rect s_empty = new Int32Rect(0,0,0,0); #endregion Private Fields } } // 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
- TypedCompletedAsyncResult.cs
- TypedReference.cs
- ValidatorUtils.cs
- webproxy.cs
- TypeValidationEventArgs.cs
- BitmapEffect.cs
- TableItemStyle.cs
- HwndProxyElementProvider.cs
- MetadataItemEmitter.cs
- StreamingContext.cs
- ToolStripTemplateNode.cs
- InProcStateClientManager.cs
- OpenTypeLayoutCache.cs
- EntityProviderServices.cs
- FontSizeConverter.cs
- StringConverter.cs
- ManipulationInertiaStartingEventArgs.cs
- KeyInstance.cs
- DesignDataSource.cs
- ExplicitDiscriminatorMap.cs
- FileDialog_Vista.cs
- MediaContextNotificationWindow.cs
- HealthMonitoringSection.cs
- ReflectionUtil.cs
- Stacktrace.cs
- BinaryUtilClasses.cs
- MenuStrip.cs
- TypeNameConverter.cs
- CompiledRegexRunnerFactory.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- TypeConverterValueSerializer.cs
- InkPresenter.cs
- BooleanFunctions.cs
- EdmValidator.cs
- NavigationHelper.cs
- ConfigurationErrorsException.cs
- MultipartIdentifier.cs
- mediaclock.cs
- TimeoutTimer.cs
- VirtualPathUtility.cs
- SqlReferenceCollection.cs
- AlphabetConverter.cs
- PropertyManager.cs
- FloaterBaseParaClient.cs
- HtmlInputText.cs
- HorizontalAlignConverter.cs
- DataControlImageButton.cs
- XmlArrayItemAttributes.cs
- ZipIOFileItemStream.cs
- Exception.cs
- ExtractorMetadata.cs
- XmlTypeMapping.cs
- DiscoveryMessageSequence11.cs
- ISFClipboardData.cs
- CodeDefaultValueExpression.cs
- XamlBrushSerializer.cs
- BitmapEffectOutputConnector.cs
- CodePropertyReferenceExpression.cs
- GeometryModel3D.cs
- ModelServiceImpl.cs
- PageStatePersister.cs
- _SafeNetHandles.cs
- TrackingQueryElement.cs
- WindowsScrollBarBits.cs
- ConsoleEntryPoint.cs
- DSASignatureDeformatter.cs
- DependencySource.cs
- SqlClientPermission.cs
- Identifier.cs
- ScrollBarAutomationPeer.cs
- ButtonBaseAutomationPeer.cs
- StorageMappingFragment.cs
- BeginStoryboard.cs
- LineSegment.cs
- HealthMonitoringSectionHelper.cs
- SettingsContext.cs
- ParserOptions.cs
- WpfKnownTypeInvoker.cs
- ThreadStateException.cs
- ResetableIterator.cs
- MediaTimeline.cs
- VectorCollectionValueSerializer.cs
- DataGridViewColumnStateChangedEventArgs.cs
- WebSysDescriptionAttribute.cs
- cookie.cs
- SQLGuid.cs
- FilterableAttribute.cs
- SimpleBitVector32.cs
- UrlMapping.cs
- StdValidatorsAndConverters.cs
- Code.cs
- Column.cs
- SqlPersonalizationProvider.cs
- ListSurrogate.cs
- TrustExchangeException.cs
- PolyLineSegmentFigureLogic.cs
- WmlLabelAdapter.cs
- UserCancellationException.cs
- XpsTokenContext.cs
- SpeechRecognitionEngine.cs