Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- ZipIOExtraFieldElement.cs
- XsdDuration.cs
- _CommandStream.cs
- HtmlCalendarAdapter.cs
- TimeManager.cs
- LinearKeyFrames.cs
- ConfigurationStrings.cs
- PageThemeBuildProvider.cs
- ProxyAttribute.cs
- EndpointDiscoveryMetadata11.cs
- InProcStateClientManager.cs
- WebPartsPersonalizationAuthorization.cs
- ThemeableAttribute.cs
- ComponentTray.cs
- FieldDescriptor.cs
- DiscoveryDocumentLinksPattern.cs
- GridViewUpdateEventArgs.cs
- ActivityCodeGenerator.cs
- regiisutil.cs
- Wildcard.cs
- Membership.cs
- XhtmlTextWriter.cs
- SecurityContext.cs
- StreamAsIStream.cs
- ExceptionUtil.cs
- OSEnvironmentHelper.cs
- FrameworkTemplate.cs
- AsyncResult.cs
- OracleConnectionFactory.cs
- DataServiceClientException.cs
- LineSegment.cs
- Label.cs
- ClientData.cs
- Root.cs
- SmiContextFactory.cs
- EmptyImpersonationContext.cs
- Message.cs
- AnnotationHighlightLayer.cs
- BaseValidator.cs
- CookieParameter.cs
- StringConverter.cs
- MailHeaderInfo.cs
- SqlDataSourceView.cs
- WindowsAuthenticationEventArgs.cs
- WebConfigurationFileMap.cs
- AdornerHitTestResult.cs
- FileUpload.cs
- WindowsStatic.cs
- PieceNameHelper.cs
- QilInvokeLateBound.cs
- MenuItem.cs
- StringValueSerializer.cs
- AutomationPropertyInfo.cs
- EntityProviderServices.cs
- BooleanProjectedSlot.cs
- StructuredTypeInfo.cs
- SqlEnums.cs
- XmlSerializerNamespaces.cs
- XhtmlBasicCommandAdapter.cs
- UrlAuthFailedErrorFormatter.cs
- Fx.cs
- RawAppCommandInputReport.cs
- OutOfProcStateClientManager.cs
- XmlSchemaComplexContentExtension.cs
- FrameworkContextData.cs
- PageRanges.cs
- LogWriteRestartAreaAsyncResult.cs
- ValueChangedEventManager.cs
- PropertyChangeTracker.cs
- CodePrimitiveExpression.cs
- EmissiveMaterial.cs
- BitmapMetadataEnumerator.cs
- Int32CAMarshaler.cs
- MD5CryptoServiceProvider.cs
- DoubleLinkListEnumerator.cs
- exports.cs
- InternalConfigRoot.cs
- BindingSourceDesigner.cs
- ProfileManager.cs
- Pair.cs
- SqlDataSourceSelectingEventArgs.cs
- UserControlParser.cs
- ImageConverter.cs
- ThrowHelper.cs
- SqlBinder.cs
- dataSvcMapFileLoader.cs
- EmbeddedMailObjectsCollection.cs
- ResourceDescriptionAttribute.cs
- externdll.cs
- TreeIterators.cs
- PrePrepareMethodAttribute.cs
- SqlCacheDependencyDatabase.cs
- HWStack.cs
- Int16AnimationBase.cs
- NonVisualControlAttribute.cs
- HandoffBehavior.cs
- SqlAliaser.cs
- PermissionRequestEvidence.cs
- VectorKeyFrameCollection.cs
- _SslStream.cs