Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- CodeMemberProperty.cs
- ProtectedProviderSettings.cs
- MenuAutoFormat.cs
- VisualBrush.cs
- _SingleItemRequestCache.cs
- JavaScriptString.cs
- XmlSchemaGroupRef.cs
- PrimarySelectionAdorner.cs
- CategoryAttribute.cs
- PingOptions.cs
- DocumentViewerAutomationPeer.cs
- Graph.cs
- TrustManagerPromptUI.cs
- XhtmlBasicLinkAdapter.cs
- XmlSiteMapProvider.cs
- HttpSocketManager.cs
- XmlSerializationReader.cs
- GeneralTransform.cs
- MessageQueueAccessControlEntry.cs
- ResourceExpressionBuilder.cs
- PrintPreviewDialog.cs
- Serializer.cs
- SolidBrush.cs
- DetailsViewCommandEventArgs.cs
- XmlToDatasetMap.cs
- DesignerWidgets.cs
- ipaddressinformationcollection.cs
- MsdtcWrapper.cs
- RotateTransform3D.cs
- SessionChannels.cs
- SR.Designer.cs
- Rotation3D.cs
- HtmlInputSubmit.cs
- TabControlAutomationPeer.cs
- XmlValidatingReaderImpl.cs
- AuthenticationSection.cs
- DataTableReaderListener.cs
- New.cs
- ObjectCache.cs
- HtmlElement.cs
- BamlRecordReader.cs
- RadioButtonFlatAdapter.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- RecognizedWordUnit.cs
- WindowsRebar.cs
- ExpressionCopier.cs
- RepeaterItem.cs
- DataFormats.cs
- AttributeProviderAttribute.cs
- Visual3DCollection.cs
- DefaultParameterValueAttribute.cs
- SchemaImporterExtensionElement.cs
- DesignBindingEditor.cs
- DependencyPropertyChangedEventArgs.cs
- SafeCancelMibChangeNotify.cs
- TdsRecordBufferSetter.cs
- XPathExpr.cs
- DataGridViewCellStyleConverter.cs
- RefreshPropertiesAttribute.cs
- FilterEventArgs.cs
- _emptywebproxy.cs
- CommentEmitter.cs
- ThicknessAnimation.cs
- CacheAxisQuery.cs
- AppDomainCompilerProxy.cs
- ElementsClipboardData.cs
- CallInfo.cs
- StringExpressionSet.cs
- StrongNameIdentityPermission.cs
- CustomCategoryAttribute.cs
- TextView.cs
- TimerEventSubscriptionCollection.cs
- XsltLibrary.cs
- XpsPackagingException.cs
- ScrollBar.cs
- HatchBrush.cs
- ParenthesizePropertyNameAttribute.cs
- ListViewSortEventArgs.cs
- PeerCollaborationPermission.cs
- GeometryHitTestParameters.cs
- ServerIdentity.cs
- DesigntimeLicenseContextSerializer.cs
- SynchronousChannelMergeEnumerator.cs
- IndexingContentUnit.cs
- FacetDescription.cs
- DBBindings.cs
- SEHException.cs
- Image.cs
- Switch.cs
- SecurityManager.cs
- ResourceCollectionInfo.cs
- EmissiveMaterial.cs
- ExeConfigurationFileMap.cs
- SpnegoTokenAuthenticator.cs
- DBAsyncResult.cs
- EdmProperty.cs
- StaticContext.cs
- UpWmlMobileTextWriter.cs
- ComponentSerializationService.cs
- RegistrySecurity.cs