Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Shared / MS / Internal / Generated / TileModeValidation.cs / 1 / TileModeValidation.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see http://wiki/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Runtime.InteropServices; using MS.Internal.PresentationCore; #if PRESENTATION_CORE using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; #else using SR=System.Windows.SR; using SRID=System.Windows.SRID; #endif namespace System.Windows.Media { internal static partial class ValidateEnums { ////// Returns whether or not an enumeration instance a valid value. /// This method is designed to be used with ValidateValueCallback, and thus /// matches it's prototype. /// /// /// Enumeration value to validate. /// ///'true' if the enumeration contains a valid value, 'false' otherwise. public static bool IsTileModeValid(object valueObject) { TileMode value = (TileMode) valueObject; return (value == TileMode.None) || (value == TileMode.Tile) || (value == TileMode.FlipX) || (value == TileMode.FlipY) || (value == TileMode.FlipXY); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see http://wiki/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Runtime.InteropServices; using MS.Internal.PresentationCore; #if PRESENTATION_CORE using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; #else using SR=System.Windows.SR; using SRID=System.Windows.SRID; #endif namespace System.Windows.Media { internal static partial class ValidateEnums { ////// Returns whether or not an enumeration instance a valid value. /// This method is designed to be used with ValidateValueCallback, and thus /// matches it's prototype. /// /// /// Enumeration value to validate. /// ///'true' if the enumeration contains a valid value, 'false' otherwise. public static bool IsTileModeValid(object valueObject) { TileMode value = (TileMode) valueObject; return (value == TileMode.None) || (value == TileMode.Tile) || (value == TileMode.FlipX) || (value == TileMode.FlipY) || (value == TileMode.FlipXY); } } } // 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
- XslCompiledTransform.cs
- ToolStripItemCollection.cs
- NetSectionGroup.cs
- HtmlProps.cs
- BigInt.cs
- ExtensionQuery.cs
- ListBase.cs
- PolyLineSegment.cs
- ForeignKeyFactory.cs
- StoragePropertyMapping.cs
- RankException.cs
- PermissionSet.cs
- ValuePattern.cs
- CompilationRelaxations.cs
- LayoutEvent.cs
- Vector3DAnimationBase.cs
- XmlIlVisitor.cs
- DynamicDocumentPaginator.cs
- Mutex.cs
- ProvideValueServiceProvider.cs
- AdCreatedEventArgs.cs
- MediaPlayer.cs
- PackageRelationshipSelector.cs
- SqlPersonalizationProvider.cs
- Rotation3DAnimationUsingKeyFrames.cs
- SharedPerformanceCounter.cs
- QilIterator.cs
- Size.cs
- SamlAuthorizationDecisionClaimResource.cs
- ReceiveErrorHandling.cs
- PartitionResolver.cs
- Marshal.cs
- OdbcError.cs
- DesignerAutoFormatStyle.cs
- EntityDataSourceDesigner.cs
- SqlClientFactory.cs
- Debugger.cs
- PrincipalPermission.cs
- SizeChangedInfo.cs
- TreeNodeStyleCollection.cs
- NotCondition.cs
- SrgsToken.cs
- SqlDataSource.cs
- SynchronizedRandom.cs
- BitmapEffectInputConnector.cs
- XmlEncodedRawTextWriter.cs
- ExceptionUtil.cs
- SecurityState.cs
- clipboard.cs
- PathHelper.cs
- HttpServerProtocol.cs
- XmlSchema.cs
- AppDomainEvidenceFactory.cs
- ColorTransformHelper.cs
- LinearGradientBrush.cs
- OleDbErrorCollection.cs
- AsyncDataRequest.cs
- AddInProcess.cs
- PageCodeDomTreeGenerator.cs
- LicenseContext.cs
- StringFormat.cs
- BinaryParser.cs
- Operator.cs
- CodeDefaultValueExpression.cs
- SqlMethodTransformer.cs
- StateRuntime.cs
- FontFaceLayoutInfo.cs
- DataTablePropertyDescriptor.cs
- WebPartDeleteVerb.cs
- FtpRequestCacheValidator.cs
- InvalidDocumentContentsException.cs
- UdpChannelFactory.cs
- WebServiceResponseDesigner.cs
- DesignTable.cs
- IResourceProvider.cs
- ErrorFormatterPage.cs
- OleDbWrapper.cs
- Maps.cs
- XmlSchemaInferenceException.cs
- Focus.cs
- CopyOfAction.cs
- SubtreeProcessor.cs
- Predicate.cs
- PropertyValueChangedEvent.cs
- BitmapFrame.cs
- TableRow.cs
- RectangleGeometry.cs
- SHA1Managed.cs
- MailDefinition.cs
- Point3DCollectionValueSerializer.cs
- CleanUpVirtualizedItemEventArgs.cs
- SiteMapSection.cs
- OleDbError.cs
- ByteAnimationUsingKeyFrames.cs
- RectangleGeometry.cs
- InheritanceContextChangedEventManager.cs
- ManagementObjectSearcher.cs
- Transactions.cs
- XamlTypeMapper.cs
- _SslStream.cs