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
- GridViewRowCollection.cs
- PersistChildrenAttribute.cs
- IsolatedStorageException.cs
- ItemsControlAutomationPeer.cs
- ZoomingMessageFilter.cs
- VisualBasicDesignerHelper.cs
- ConnectionStringsSection.cs
- EntityTypeEmitter.cs
- AnnotationComponentChooser.cs
- FormsAuthentication.cs
- TraversalRequest.cs
- CatalogZoneAutoFormat.cs
- DataGridColumn.cs
- CodeGenerationManager.cs
- ReadWriteControlDesigner.cs
- FileLoadException.cs
- DataPagerField.cs
- DataFieldConverter.cs
- RuntimeConfig.cs
- FrameworkPropertyMetadata.cs
- ScriptingProfileServiceSection.cs
- FrameworkObject.cs
- tabpagecollectioneditor.cs
- ImmutableObjectAttribute.cs
- GraphicsPath.cs
- ImageListUtils.cs
- TypeUtil.cs
- CachedBitmap.cs
- ColumnMapProcessor.cs
- Pkcs9Attribute.cs
- RoleBoolean.cs
- RegisterInfo.cs
- Config.cs
- SqlNamer.cs
- SynchronousChannelMergeEnumerator.cs
- ImmutablePropertyDescriptorGridEntry.cs
- srgsitem.cs
- BaseUriHelper.cs
- HwndMouseInputProvider.cs
- SqlDependencyUtils.cs
- UnmanagedMarshal.cs
- ShaderEffect.cs
- NavigationEventArgs.cs
- WebPartEditorOkVerb.cs
- HostExecutionContextManager.cs
- WinEventQueueItem.cs
- PermissionListSet.cs
- FormsIdentity.cs
- TypeResolvingOptions.cs
- SubclassTypeValidatorAttribute.cs
- EncryptedKeyIdentifierClause.cs
- OutputCacheSettingsSection.cs
- RightsManagementEncryptionTransform.cs
- VectorAnimation.cs
- ExpressionVisitor.cs
- TypeBuilderInstantiation.cs
- ConstraintEnumerator.cs
- AssemblyInfo.cs
- ToolStripTemplateNode.cs
- CustomLineCap.cs
- Select.cs
- DocumentPaginator.cs
- WebScriptMetadataInstanceContextProvider.cs
- BypassElementCollection.cs
- CustomErrorCollection.cs
- TableHeaderCell.cs
- MetadataResolver.cs
- ArithmeticException.cs
- CommandSet.cs
- EmptyQuery.cs
- MutexSecurity.cs
- DesignerCommandSet.cs
- BrowserDefinition.cs
- BinarySecretSecurityToken.cs
- ADMembershipUser.cs
- HtmlMobileTextWriter.cs
- Parameter.cs
- basenumberconverter.cs
- EnvironmentPermission.cs
- ValidationErrorCollection.cs
- MarkupCompiler.cs
- KeyNotFoundException.cs
- VerticalAlignConverter.cs
- GeometryDrawing.cs
- ExclusiveHandleList.cs
- SchemaImporter.cs
- StaticFileHandler.cs
- TextPointer.cs
- FrameworkElement.cs
- ImageAttributes.cs
- ComMethodElementCollection.cs
- SqlGatherProducedAliases.cs
- PageContentAsyncResult.cs
- HostingEnvironmentWrapper.cs
- TransactionTable.cs
- MarkupWriter.cs
- WeakRefEnumerator.cs
- DelegatingConfigHost.cs
- XmlLoader.cs
- ExceptionHandlerDesigner.cs