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
- XmlSchemaSimpleTypeUnion.cs
- HttpCookie.cs
- MembershipUser.cs
- UniqueIdentifierService.cs
- DoubleCollectionConverter.cs
- HostingEnvironment.cs
- CodeDirectionExpression.cs
- WebPartZone.cs
- ObjectContext.cs
- DeviceContext.cs
- _TLSstream.cs
- Assembly.cs
- CatalogPart.cs
- SessionParameter.cs
- PolyLineSegmentFigureLogic.cs
- EventLogPermissionAttribute.cs
- Int32Converter.cs
- AccessDataSourceView.cs
- EdmConstants.cs
- SqlDependencyUtils.cs
- ActivityDesigner.cs
- CloudCollection.cs
- DataTableTypeConverter.cs
- BindingSource.cs
- AudioFormatConverter.cs
- ColumnTypeConverter.cs
- ReadOnlyPropertyMetadata.cs
- TextRange.cs
- XmlLinkedNode.cs
- PrintEvent.cs
- WorkflowServiceHost.cs
- SystemWebSectionGroup.cs
- GridViewCancelEditEventArgs.cs
- DodSequenceMerge.cs
- JsonWriterDelegator.cs
- SqlConnection.cs
- RelationshipConstraintValidator.cs
- MsmqMessage.cs
- validationstate.cs
- InputScopeManager.cs
- Canvas.cs
- CDSCollectionETWBCLProvider.cs
- TextRenderingModeValidation.cs
- InstancePersistenceException.cs
- MemberRelationshipService.cs
- TypeDescriptionProvider.cs
- JournalEntryListConverter.cs
- GlyphTypeface.cs
- XmlCustomFormatter.cs
- RoleGroupCollection.cs
- ToolStripPanelRenderEventArgs.cs
- VisualStyleInformation.cs
- XmlParserContext.cs
- HtmlInputSubmit.cs
- LinkedResourceCollection.cs
- SiteMembershipCondition.cs
- AuthenticationConfig.cs
- StateRuntime.cs
- XmlParserContext.cs
- IndentedTextWriter.cs
- ObjectStorage.cs
- CompilerParameters.cs
- PeerCustomResolverElement.cs
- ChtmlTextWriter.cs
- UInt64Converter.cs
- TableRowsCollectionEditor.cs
- DbSourceCommand.cs
- XsltFunctions.cs
- RadioButton.cs
- DesignerTransaction.cs
- SerializationObjectManager.cs
- FrameworkReadOnlyPropertyMetadata.cs
- EventRoute.cs
- AnnotationComponentManager.cs
- ErrorProvider.cs
- MenuItemBindingCollection.cs
- SymbolMethod.cs
- validation.cs
- CounterCreationDataCollection.cs
- XmlCharType.cs
- PermissionSet.cs
- InfoCardCryptoHelper.cs
- TemplatedMailWebEventProvider.cs
- WsatAdminException.cs
- ShimAsPublicXamlType.cs
- ApplicationFileCodeDomTreeGenerator.cs
- SystemThemeKey.cs
- UniqueEventHelper.cs
- StringBuilder.cs
- KeyValuePairs.cs
- MarshalDirectiveException.cs
- Int32AnimationBase.cs
- Exceptions.cs
- ViewBase.cs
- User.cs
- TextServicesCompartmentEventSink.cs
- CategoryEditor.cs
- ParseChildrenAsPropertiesAttribute.cs
- PeerApplicationLaunchInfo.cs
- HtmlInputFile.cs