Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- DataTemplate.cs
- StyleBamlRecordReader.cs
- BamlRecords.cs
- NavigationProperty.cs
- FloaterBaseParagraph.cs
- BinHexDecoder.cs
- IndependentlyAnimatedPropertyMetadata.cs
- XmlWrappingReader.cs
- DrawingContext.cs
- XsltSettings.cs
- DataBoundLiteralControl.cs
- TableProvider.cs
- InvalidCastException.cs
- MethodBody.cs
- MetadataProperty.cs
- RuntimeUtils.cs
- Math.cs
- FormViewCommandEventArgs.cs
- SingleAnimationBase.cs
- SortAction.cs
- XPathNodeInfoAtom.cs
- StringArrayEditor.cs
- FontDriver.cs
- ReferentialConstraint.cs
- BorderSidesEditor.cs
- MLangCodePageEncoding.cs
- SpecialNameAttribute.cs
- SpinWait.cs
- DbMetaDataCollectionNames.cs
- ZipIORawDataFileBlock.cs
- ValueOfAction.cs
- InternalPermissions.cs
- AdCreatedEventArgs.cs
- SystemTcpConnection.cs
- SamlAdvice.cs
- XPathExpr.cs
- PageCodeDomTreeGenerator.cs
- ParagraphVisual.cs
- PrimarySelectionAdorner.cs
- ObjectPersistData.cs
- ComponentCommands.cs
- ConcurrencyBehavior.cs
- ProtocolsConfigurationEntry.cs
- InitializationEventAttribute.cs
- PixelFormat.cs
- SqlGenerator.cs
- SqlAliasesReferenced.cs
- DatatypeImplementation.cs
- ProxyWebPartConnectionCollection.cs
- SubMenuStyleCollection.cs
- CheckBoxPopupAdapter.cs
- LocalFileSettingsProvider.cs
- AesManaged.cs
- XmlDataFileEditor.cs
- XpsFilter.cs
- DescriptionAttribute.cs
- ProfileSettings.cs
- glyphs.cs
- DocumentXPathNavigator.cs
- TypographyProperties.cs
- MappingSource.cs
- FormDesigner.cs
- ConstructorBuilder.cs
- CodeMethodReturnStatement.cs
- COM2Enum.cs
- HttpCachePolicy.cs
- IgnoreDeviceFilterElementCollection.cs
- DataGridViewSortCompareEventArgs.cs
- FormViewCommandEventArgs.cs
- SqlCharStream.cs
- UnsafeNativeMethodsCLR.cs
- MetadataFile.cs
- DetailsViewDesigner.cs
- SafeNativeMethods.cs
- DataGridViewImageColumn.cs
- ListGeneralPage.cs
- NotifyIcon.cs
- FixedStringLookup.cs
- EdmSchemaError.cs
- GlyphsSerializer.cs
- TdsParserSessionPool.cs
- CodeParameterDeclarationExpression.cs
- SubMenuStyleCollection.cs
- RequestCachePolicy.cs
- WebPartConnectionsConfigureVerb.cs
- ResourcesGenerator.cs
- PointLightBase.cs
- NotEqual.cs
- FrameDimension.cs
- DataBoundControlAdapter.cs
- HttpDictionary.cs
- HttpCacheParams.cs
- SHA512Managed.cs
- ComplexLine.cs
- BitmapEffect.cs
- FormatterServices.cs
- LeafCellTreeNode.cs
- MbpInfo.cs
- TextBox.cs
- ObservableDictionary.cs