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
- DataGridViewRowCancelEventArgs.cs
- ServiceMetadataBehavior.cs
- NeutralResourcesLanguageAttribute.cs
- EncryptedType.cs
- WebAdminConfigurationHelper.cs
- PersonalizationProviderCollection.cs
- CLSCompliantAttribute.cs
- CryptographicAttribute.cs
- StandardBindingCollectionElement.cs
- BrowserDefinitionCollection.cs
- WindowsPen.cs
- WebEventCodes.cs
- EntityCommandExecutionException.cs
- WSDualHttpBindingElement.cs
- ThreadInterruptedException.cs
- GridViewCommandEventArgs.cs
- InfiniteIntConverter.cs
- IfAction.cs
- SafeTokenHandle.cs
- CrossAppDomainChannel.cs
- UriTemplateCompoundPathSegment.cs
- DocumentPageView.cs
- CodeTypeMember.cs
- MatchAttribute.cs
- Tuple.cs
- SoapSchemaImporter.cs
- ColorPalette.cs
- HtmlGenericControl.cs
- UniformGrid.cs
- Process.cs
- HttpRawResponse.cs
- FormsAuthenticationUser.cs
- CompensatableTransactionScopeActivityDesigner.cs
- UnmanagedHandle.cs
- ViewStateException.cs
- CustomError.cs
- CompositeScriptReferenceEventArgs.cs
- OrderPreservingPipeliningSpoolingTask.cs
- ProxyWebPartConnectionCollection.cs
- DiscoveryEndpointElement.cs
- FixedFlowMap.cs
- ShapingEngine.cs
- GlyphingCache.cs
- UserControlDesigner.cs
- VisualTarget.cs
- ConfigXmlText.cs
- COM2PropertyPageUITypeConverter.cs
- Int16Converter.cs
- NamespaceQuery.cs
- CombinedGeometry.cs
- DynamicPropertyHolder.cs
- SpellCheck.cs
- XmlDomTextWriter.cs
- ImageFormatConverter.cs
- XmlSchemaSimpleTypeList.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- CodeRegionDirective.cs
- HMACSHA256.cs
- UpDownBase.cs
- PropertyGroupDescription.cs
- Console.cs
- ThrowHelper.cs
- LeftCellWrapper.cs
- Int32AnimationUsingKeyFrames.cs
- Win32KeyboardDevice.cs
- DockPattern.cs
- ExpressionsCollectionConverter.cs
- AutoGeneratedField.cs
- TagNameToTypeMapper.cs
- PageTheme.cs
- GridViewColumnHeader.cs
- ProfilePropertySettings.cs
- EncoderBestFitFallback.cs
- MetabaseServerConfig.cs
- ColumnMapTranslator.cs
- MouseActionConverter.cs
- GetResponse.cs
- TimeIntervalCollection.cs
- Rule.cs
- XmlSchemaDocumentation.cs
- TableProviderWrapper.cs
- RangeContentEnumerator.cs
- Deflater.cs
- ColorKeyFrameCollection.cs
- IsolatedStorageSecurityState.cs
- SqlConnectionStringBuilder.cs
- _DomainName.cs
- CroppedBitmap.cs
- ReliabilityContractAttribute.cs
- DatatypeImplementation.cs
- DodSequenceMerge.cs
- NonClientArea.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- ItemCheckedEvent.cs
- WebPartVerbsEventArgs.cs
- DesignerCommandSet.cs
- BuildProviderCollection.cs
- TreeNodeStyle.cs
- ClientApiGenerator.cs
- ContextQuery.cs