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
- IdentitySection.cs
- TreeNodeBindingCollection.cs
- OutputScopeManager.cs
- TextElementCollection.cs
- MultiBindingExpression.cs
- ObjectContextServiceProvider.cs
- Stack.cs
- Base64Decoder.cs
- ConnectionInterfaceCollection.cs
- LabelLiteral.cs
- NativeConfigurationLoader.cs
- HtmlGenericControl.cs
- HtmlInputRadioButton.cs
- ItemContainerGenerator.cs
- Table.cs
- QilScopedVisitor.cs
- AssertFilter.cs
- CannotUnloadAppDomainException.cs
- ThreadSafeList.cs
- XPathSelfQuery.cs
- AdornerPresentationContext.cs
- SqlCommand.cs
- CLSCompliantAttribute.cs
- unitconverter.cs
- LabelEditEvent.cs
- _FixedSizeReader.cs
- InputScopeConverter.cs
- LinqToSqlWrapper.cs
- LightweightEntityWrapper.cs
- TraceSource.cs
- OdbcDataReader.cs
- AnnotationMap.cs
- _CacheStreams.cs
- Nullable.cs
- HMACMD5.cs
- HwndTarget.cs
- AuthenticatingEventArgs.cs
- InvalidPropValue.cs
- Expr.cs
- SoundPlayerAction.cs
- GridViewColumnHeader.cs
- BindingList.cs
- BooleanSwitch.cs
- DynamicDiscoSearcher.cs
- CodeDirectoryCompiler.cs
- ReferencedCollectionType.cs
- _TransmitFileOverlappedAsyncResult.cs
- HttpDebugHandler.cs
- ExpressionVisitor.cs
- HttpModuleCollection.cs
- Drawing.cs
- PasswordRecovery.cs
- PathGeometry.cs
- EntitySetDataBindingList.cs
- CompilerScope.cs
- DoubleAnimationUsingPath.cs
- Utils.cs
- PerfCounterSection.cs
- PageCatalogPart.cs
- ResourceManagerWrapper.cs
- BaseCodeDomTreeGenerator.cs
- ServicePointManager.cs
- ConfigViewGenerator.cs
- Code.cs
- CultureSpecificCharacterBufferRange.cs
- ParagraphVisual.cs
- PersonalizableTypeEntry.cs
- XmlSerializerNamespaces.cs
- SafeFileMappingHandle.cs
- EdgeModeValidation.cs
- QueryGenerator.cs
- Int32CollectionConverter.cs
- SocketAddress.cs
- TableLayout.cs
- SplitContainer.cs
- _KerberosClient.cs
- SecurityHelper.cs
- SortExpressionBuilder.cs
- GenericAuthenticationEventArgs.cs
- TextEffectCollection.cs
- AdornerLayer.cs
- Signature.cs
- XmlSchemaObjectCollection.cs
- ListComponentEditor.cs
- oledbmetadatacollectionnames.cs
- TcpServerChannel.cs
- GridViewColumn.cs
- ApplicationManager.cs
- XmlSchemaSimpleContentExtension.cs
- CodeAssignStatement.cs
- EntityDataSourceQueryBuilder.cs
- ControlBuilderAttribute.cs
- VirtualDirectoryMappingCollection.cs
- EntityDataSourceReferenceGroup.cs
- AssemblyAttributes.cs
- AppDomainProtocolHandler.cs
- XsltArgumentList.cs
- PointAnimationUsingPath.cs
- FaultCallbackWrapper.cs
- SQLUtility.cs