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
- DBNull.cs
- ColorConvertedBitmapExtension.cs
- DBDataPermissionAttribute.cs
- SourceSwitch.cs
- ConfigurationStrings.cs
- DataGridParentRows.cs
- IDispatchConstantAttribute.cs
- KeyGesture.cs
- SID.cs
- FieldMetadata.cs
- CommentEmitter.cs
- GroupDescription.cs
- WebPartVerbsEventArgs.cs
- IODescriptionAttribute.cs
- XmlSchemaAnnotation.cs
- RuntimeIdentifierPropertyAttribute.cs
- ConsoleKeyInfo.cs
- CustomErrorCollection.cs
- HttpGetServerProtocol.cs
- ColorTransformHelper.cs
- TextBoxRenderer.cs
- Set.cs
- ToolStripItemImageRenderEventArgs.cs
- RelatedView.cs
- TrackBar.cs
- SessionEndedEventArgs.cs
- FontEditor.cs
- GestureRecognitionResult.cs
- DataMisalignedException.cs
- PromptBuilder.cs
- SafeThemeHandle.cs
- IconHelper.cs
- EtwProvider.cs
- ToolStripComboBox.cs
- DrawingAttributesDefaultValueFactory.cs
- ZipIOModeEnforcingStream.cs
- GridViewCommandEventArgs.cs
- TextTreeNode.cs
- LinqDataSourceStatusEventArgs.cs
- PhonemeEventArgs.cs
- DbProviderFactory.cs
- listviewsubitemcollectioneditor.cs
- GenericsInstances.cs
- ResourceLoader.cs
- EntitySqlQueryState.cs
- StreamReader.cs
- InputMethodStateTypeInfo.cs
- SpeechRecognitionEngine.cs
- assemblycache.cs
- ScaleTransform.cs
- ConstantCheck.cs
- TypeDescriptionProviderAttribute.cs
- ListItemCollection.cs
- HttpProtocolImporter.cs
- tabpagecollectioneditor.cs
- SettingsPropertyIsReadOnlyException.cs
- SoapObjectWriter.cs
- CurrencyManager.cs
- KnownColorTable.cs
- ThumbAutomationPeer.cs
- SqlClientMetaDataCollectionNames.cs
- BrowserTree.cs
- ColorConvertedBitmap.cs
- Guid.cs
- LinearGradientBrush.cs
- EntityProxyTypeInfo.cs
- ContainerActivationHelper.cs
- EndpointAddressAugust2004.cs
- XLinq.cs
- FrameworkElementAutomationPeer.cs
- KeyBinding.cs
- InvalidDataContractException.cs
- HtmlControlDesigner.cs
- StoryFragments.cs
- LicenseProviderAttribute.cs
- HtmlShim.cs
- OutKeywords.cs
- ToolBarButton.cs
- InheritanceAttribute.cs
- TargetControlTypeCache.cs
- PageSetupDialog.cs
- HierarchicalDataSourceIDConverter.cs
- StubHelpers.cs
- SafeThemeHandle.cs
- IPAddress.cs
- WmlTextBoxAdapter.cs
- Context.cs
- SessionPageStateSection.cs
- SplineKeyFrames.cs
- PeerContact.cs
- DesignerTransactionCloseEvent.cs
- DetailsView.cs
- SoapElementAttribute.cs
- TextShapeableCharacters.cs
- MarkerProperties.cs
- ExpressionHelper.cs
- PropertyGeneratedEventArgs.cs
- MailWebEventProvider.cs
- XmlSchemaValidator.cs
- Size3DConverter.cs