Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebPartDisplayModeCollection.cs
- SiteMap.cs
- LOSFormatter.cs
- PackWebRequest.cs
- ResizeGrip.cs
- TimersDescriptionAttribute.cs
- BezierSegment.cs
- Win32Exception.cs
- Crypto.cs
- HMACSHA512.cs
- BindingMemberInfo.cs
- XmlDocumentFieldSchema.cs
- DefaultAssemblyResolver.cs
- BaseAddressElementCollection.cs
- UnsafeNetInfoNativeMethods.cs
- HideDisabledControlAdapter.cs
- Brushes.cs
- EmptyCollection.cs
- DrawingContext.cs
- MonthCalendarDesigner.cs
- followingsibling.cs
- cookie.cs
- DbConnectionStringCommon.cs
- Rotation3D.cs
- TextEndOfLine.cs
- EventSinkHelperWriter.cs
- Debug.cs
- CompiledIdentityConstraint.cs
- formatter.cs
- KeyMatchBuilder.cs
- GroupItem.cs
- ExpressionContext.cs
- Section.cs
- SerializationStore.cs
- AdjustableArrowCap.cs
- SqlTransaction.cs
- ZipPackage.cs
- Menu.cs
- ComplexObject.cs
- TabItem.cs
- AttributeCollection.cs
- WorkflowInstance.cs
- ExceptionNotification.cs
- CodeMemberProperty.cs
- TreeViewItemAutomationPeer.cs
- DeleteStoreRequest.cs
- FormsAuthenticationUser.cs
- FlowLayoutPanel.cs
- NativeMethods.cs
- GeometryCollection.cs
- IntellisenseTextBox.designer.cs
- ServiceBusyException.cs
- Slider.cs
- SecurityKeyType.cs
- DataObject.cs
- ParserExtension.cs
- ArgumentNullException.cs
- HostingEnvironmentSection.cs
- AssemblyAssociatedContentFileAttribute.cs
- ColorTransform.cs
- CroppedBitmap.cs
- HashCodeCombiner.cs
- ChildrenQuery.cs
- BrowserTree.cs
- ArgumentDirectionHelper.cs
- XmlNodeChangedEventManager.cs
- SkipStoryboardToFill.cs
- PropVariant.cs
- CommandEventArgs.cs
- ServiceBusyException.cs
- GridItem.cs
- CodeVariableDeclarationStatement.cs
- FontDriver.cs
- TemplateKeyConverter.cs
- DockAndAnchorLayout.cs
- SmiEventStream.cs
- NativeMethods.cs
- FixedElement.cs
- SoapServerProtocol.cs
- SineEase.cs
- TransactionException.cs
- XmlConvert.cs
- HttpCookieCollection.cs
- ConfigXmlText.cs
- StaticContext.cs
- TextBoxView.cs
- SignedXml.cs
- HeaderedContentControl.cs
- XmlWhitespace.cs
- DefaultWorkflowSchedulerService.cs
- ProtocolElementCollection.cs
- DynamicDataManager.cs
- HttpResponse.cs
- DataGridItemEventArgs.cs
- FormsAuthenticationUserCollection.cs
- Point3DAnimationUsingKeyFrames.cs
- DashStyle.cs
- AlphaSortedEnumConverter.cs
- DynamicScriptObject.cs
- StoreAnnotationsMap.cs