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
- PerformanceCountersElement.cs
- SharedPersonalizationStateInfo.cs
- CreateUserWizard.cs
- WebProxyScriptElement.cs
- ListViewDeletedEventArgs.cs
- VirtualPathUtility.cs
- xmlformatgeneratorstatics.cs
- FixedTextContainer.cs
- CompilationSection.cs
- GridSplitter.cs
- DesignerActionUI.cs
- sqlinternaltransaction.cs
- DataGridRelationshipRow.cs
- ResourceFallbackManager.cs
- PeerMaintainer.cs
- QueueProcessor.cs
- InstanceData.cs
- MouseBinding.cs
- Convert.cs
- AliasExpr.cs
- SymbolMethod.cs
- DrawListViewItemEventArgs.cs
- RectIndependentAnimationStorage.cs
- AmbientProperties.cs
- ChtmlSelectionListAdapter.cs
- SerialPinChanges.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- Math.cs
- HtmlTableCell.cs
- UnsafeNativeMethods.cs
- DependencyObject.cs
- HotCommands.cs
- CommonObjectSecurity.cs
- DataRecordInternal.cs
- PersistenceException.cs
- WindowsRichEdit.cs
- StylusPointProperties.cs
- MimePart.cs
- DateBoldEvent.cs
- Stack.cs
- AuthenticationConfig.cs
- DeviceContext.cs
- ChineseLunisolarCalendar.cs
- DefaultPrintController.cs
- PrincipalPermission.cs
- AttributeConverter.cs
- NativeBuffer.cs
- XmlSerializerAssemblyAttribute.cs
- AssemblyAttributes.cs
- HMACSHA256.cs
- RtfControls.cs
- CodeArrayIndexerExpression.cs
- BaseDataBoundControl.cs
- CacheMemory.cs
- WebConfigurationFileMap.cs
- SmtpReplyReader.cs
- XDeferredAxisSource.cs
- HttpClientCertificate.cs
- XslNumber.cs
- CredentialCache.cs
- XMLDiffLoader.cs
- InfiniteTimeSpanConverter.cs
- AutomationProperty.cs
- EnumUnknown.cs
- DLinqTableProvider.cs
- Geometry.cs
- ViewGenResults.cs
- HttpWebResponse.cs
- LogoValidationException.cs
- EditorZone.cs
- CodeAttributeArgumentCollection.cs
- Parameter.cs
- XmlMtomWriter.cs
- GacUtil.cs
- ManagedIStream.cs
- StringKeyFrameCollection.cs
- selecteditemcollection.cs
- NameValueConfigurationElement.cs
- GiveFeedbackEventArgs.cs
- MappedMetaModel.cs
- ImportContext.cs
- ParameterCollection.cs
- ObjectTag.cs
- XmlDataSourceView.cs
- VoiceSynthesis.cs
- QueryComponents.cs
- HwndProxyElementProvider.cs
- PageHandlerFactory.cs
- NamedObject.cs
- NotifyCollectionChangedEventArgs.cs
- FrameworkReadOnlyPropertyMetadata.cs
- ParentControlDesigner.cs
- ResetableIterator.cs
- SqlSelectStatement.cs
- SimpleApplicationHost.cs
- FixedTextView.cs
- XmlDocumentFragment.cs
- DeliveryRequirementsAttribute.cs
- UnaryExpression.cs
- ReferenceCountedObject.cs