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
- CustomAttribute.cs
- XmlUtil.cs
- UnsafeNativeMethods.cs
- InternalEnumValidatorAttribute.cs
- TdsParserStaticMethods.cs
- AttachedAnnotationChangedEventArgs.cs
- SQLDecimalStorage.cs
- IdentityValidationException.cs
- CodeDomSerializerException.cs
- ObjectIDGenerator.cs
- EllipseGeometry.cs
- CharConverter.cs
- TypeAccessException.cs
- NetPipeSectionData.cs
- SQLGuid.cs
- IISMapPath.cs
- SqlBuilder.cs
- FlowDocumentView.cs
- ACE.cs
- XNodeValidator.cs
- BinaryUtilClasses.cs
- _BasicClient.cs
- HyperLinkDataBindingHandler.cs
- CollectionExtensions.cs
- FilterEventArgs.cs
- ObjectListDataBindEventArgs.cs
- ParamArrayAttribute.cs
- TimeoutTimer.cs
- RelationshipType.cs
- Inline.cs
- ScaleTransform3D.cs
- DataGridTable.cs
- WsatServiceAddress.cs
- ZoneButton.cs
- InvokeGenerator.cs
- PnrpPermission.cs
- ClientConfigurationHost.cs
- UIntPtr.cs
- ChannelBinding.cs
- FileUpload.cs
- XPathException.cs
- Italic.cs
- SessionEndedEventArgs.cs
- ProgressiveCrcCalculatingStream.cs
- InitializationEventAttribute.cs
- PaintValueEventArgs.cs
- HtmlImageAdapter.cs
- WindowsToolbarAsMenu.cs
- HttpHostedTransportConfiguration.cs
- FillErrorEventArgs.cs
- ZipIOModeEnforcingStream.cs
- TrackPointCollection.cs
- RequestCachingSection.cs
- DBSqlParserColumnCollection.cs
- CommandDevice.cs
- MessageBox.cs
- XmlNodeReader.cs
- XmlSchemaSimpleContentExtension.cs
- TypeSystem.cs
- SimpleRecyclingCache.cs
- HitTestFilterBehavior.cs
- SoapCodeExporter.cs
- GeometryValueSerializer.cs
- CompilationPass2TaskInternal.cs
- StylusEventArgs.cs
- RuntimeWrappedException.cs
- DashStyle.cs
- ReadOnlyDataSource.cs
- RegexRunnerFactory.cs
- UnsafeNativeMethods.cs
- MachineKeySection.cs
- Pkcs9Attribute.cs
- ComponentSerializationService.cs
- jithelpers.cs
- ContextConfiguration.cs
- StringResourceManager.cs
- Label.cs
- TreeNodeCollection.cs
- XmlNamespaceDeclarationsAttribute.cs
- EntryIndex.cs
- EncryptedKeyIdentifierClause.cs
- EventDescriptor.cs
- IgnoreSection.cs
- ChangeInterceptorAttribute.cs
- Scene3D.cs
- DataGridViewCellParsingEventArgs.cs
- ItemContainerGenerator.cs
- OleDbConnectionFactory.cs
- ObjectDataSourceMethodEventArgs.cs
- DiagnosticSection.cs
- SerializableAuthorizationContext.cs
- UriWriter.cs
- LoginAutoFormat.cs
- ClickablePoint.cs
- StoreContentChangedEventArgs.cs
- ItemsPanelTemplate.cs
- SqlClientWrapperSmiStreamChars.cs
- WmpBitmapEncoder.cs
- RuntimeVariablesExpression.cs
- OciEnlistContext.cs