Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / System / Windows / Int32Rect.cs / 1305600 / 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
- ClientFormsIdentity.cs
- OptimizerPatterns.cs
- WorkerRequest.cs
- ParameterCollectionEditor.cs
- XmlSchemaInferenceException.cs
- CompositeTypefaceMetrics.cs
- StringSorter.cs
- HtmlElement.cs
- ListViewSelectEventArgs.cs
- ProofTokenCryptoHandle.cs
- ButtonBaseDesigner.cs
- AccessDataSourceView.cs
- SelectionPattern.cs
- SamlAssertion.cs
- FacetDescriptionElement.cs
- WebEvents.cs
- MimeTypeMapper.cs
- ParameterInfo.cs
- DigestTraceRecordHelper.cs
- sitestring.cs
- Calendar.cs
- WindowsImpersonationContext.cs
- DataTable.cs
- WpfSharedBamlSchemaContext.cs
- ToolStripItemDesigner.cs
- BuildResult.cs
- SqlInternalConnection.cs
- StateMachineExecutionState.cs
- LinqDataSourceDisposeEventArgs.cs
- DiscoveryClientProtocol.cs
- WebPartMinimizeVerb.cs
- DbException.cs
- IPipelineRuntime.cs
- ListItemDetailViewAttribute.cs
- SiteMapNode.cs
- FileSystemEventArgs.cs
- RefreshEventArgs.cs
- RegexParser.cs
- CredentialCache.cs
- StaticTextPointer.cs
- MatrixValueSerializer.cs
- _StreamFramer.cs
- XmlnsDictionary.cs
- OracleConnectionFactory.cs
- XmlNodeReader.cs
- MachineKeyConverter.cs
- PolyBezierSegmentFigureLogic.cs
- SqlDependencyListener.cs
- WriteStateInfoBase.cs
- CodeCompiler.cs
- TimeoutException.cs
- X509SubjectKeyIdentifierClause.cs
- AutomationPatternInfo.cs
- XmlDataLoader.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- ByValueEqualityComparer.cs
- SqlErrorCollection.cs
- Triangle.cs
- SpeakInfo.cs
- IssuedSecurityTokenProvider.cs
- SafeArrayRankMismatchException.cs
- EventRecordWrittenEventArgs.cs
- StreamInfo.cs
- IndexerHelper.cs
- Stroke.cs
- SqlConnectionFactory.cs
- ObjectList.cs
- PolyLineSegment.cs
- ProcessManager.cs
- UpdatableWrapper.cs
- PinnedBufferMemoryStream.cs
- SQLDoubleStorage.cs
- WindowsTooltip.cs
- SrgsText.cs
- KeyedCollection.cs
- BuildResultCache.cs
- WebBrowsableAttribute.cs
- ObjectDataSourceStatusEventArgs.cs
- X509Certificate2.cs
- HandleCollector.cs
- Mouse.cs
- WebDisplayNameAttribute.cs
- SafeViewOfFileHandle.cs
- SharedDp.cs
- ToolStripItemGlyph.cs
- BaseTemplateParser.cs
- ByteStream.cs
- Process.cs
- XPathNodeList.cs
- TextServicesCompartmentContext.cs
- HostingEnvironmentException.cs
- TraceUtils.cs
- GroupItem.cs
- DictionaryBase.cs
- WebBrowser.cs
- WebFaultClientMessageInspector.cs
- SqlUtil.cs
- WmlMobileTextWriter.cs
- BuildManagerHost.cs
- PagePropertiesChangingEventArgs.cs