Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / TileModeValidation.cs / 1305600 / 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
- TrackingProfileSerializer.cs
- ProcessHostServerConfig.cs
- ElementMarkupObject.cs
- TreeView.cs
- FontStretchConverter.cs
- ThemeDirectoryCompiler.cs
- ObjectContextServiceProvider.cs
- ClientConfigurationHost.cs
- SafeArrayRankMismatchException.cs
- IDataContractSurrogate.cs
- BaseTemplateParser.cs
- ObservableCollection.cs
- RenderData.cs
- PropertyManager.cs
- ContainerControl.cs
- EncodingDataItem.cs
- SymDocumentType.cs
- XamlStyleSerializer.cs
- DocumentXPathNavigator.cs
- WindowsStartMenu.cs
- NullNotAllowedCollection.cs
- ProtocolsConfiguration.cs
- ILGenerator.cs
- XmlNodeList.cs
- ActivityInstance.cs
- EntityDescriptor.cs
- SizeFConverter.cs
- Activator.cs
- Int16Storage.cs
- StylusOverProperty.cs
- XmlSchemaComplexContent.cs
- ExponentialEase.cs
- Timer.cs
- PeekCompletedEventArgs.cs
- Context.cs
- UriWriter.cs
- XmlUtil.cs
- Decimal.cs
- TraceSection.cs
- MdiWindowListItemConverter.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- SqlWebEventProvider.cs
- NativeMethods.cs
- TypedTableHandler.cs
- ExternalException.cs
- EnumBuilder.cs
- XmlTextEncoder.cs
- Stylesheet.cs
- AuthenticatedStream.cs
- XmlSchemaChoice.cs
- MemberPath.cs
- DataIdProcessor.cs
- ProgressBar.cs
- Closure.cs
- XmlSchemaException.cs
- StandardMenuStripVerb.cs
- SessionEndingEventArgs.cs
- SqlGenerator.cs
- UseLicense.cs
- OleDbConnectionFactory.cs
- ElementsClipboardData.cs
- StrokeFIndices.cs
- MediaSystem.cs
- MsmqMessageSerializationFormat.cs
- SynchronizationLockException.cs
- AuthenticateEventArgs.cs
- WarningException.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- XmlSerializerNamespaces.cs
- SimpleApplicationHost.cs
- XmlILAnnotation.cs
- JsonQNameDataContract.cs
- RegexParser.cs
- DeviceContext2.cs
- PageContentCollection.cs
- ButtonBaseAutomationPeer.cs
- CompModHelpers.cs
- MatrixConverter.cs
- VirtualizingPanel.cs
- httpstaticobjectscollection.cs
- LoginName.cs
- HtmlTableRowCollection.cs
- SHA1Managed.cs
- CheckBox.cs
- CategoryNameCollection.cs
- IndicCharClassifier.cs
- ContainerTracking.cs
- ApplicationFileParser.cs
- NodeFunctions.cs
- DetailsViewRowCollection.cs
- BufferedReceiveManager.cs
- ExtensionSurface.cs
- ExpressionTable.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- ISO2022Encoding.cs
- SiteMapNode.cs
- ResourceSetExpression.cs
- ProfileProvider.cs
- CmsUtils.cs
- ImageAnimator.cs