Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / ColorInterpolationModeValidation.cs / 1 / ColorInterpolationModeValidation.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see [....]/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 IsColorInterpolationModeValid(object valueObject) { ColorInterpolationMode value = (ColorInterpolationMode) valueObject; return (value == ColorInterpolationMode.ScRgbLinearInterpolation) || (value == ColorInterpolationMode.SRgbLinearInterpolation); } } } // 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
- ScalarConstant.cs
- RSAPKCS1SignatureDeformatter.cs
- BinaryReader.cs
- BitmapEffectvisualstate.cs
- DataKeyCollection.cs
- _RequestCacheProtocol.cs
- PreservationFileWriter.cs
- InvalidDocumentContentsException.cs
- BindingSource.cs
- X509WindowsSecurityToken.cs
- ProcessHostFactoryHelper.cs
- WindowsToolbarItemAsMenuItem.cs
- SolidColorBrush.cs
- OdbcParameterCollection.cs
- LineUtil.cs
- AccessKeyManager.cs
- ColumnClickEvent.cs
- BinarySerializer.cs
- SymbolUsageManager.cs
- ApplicationServiceHelper.cs
- OdbcReferenceCollection.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- LineServicesCallbacks.cs
- FormatVersion.cs
- PaintValueEventArgs.cs
- EventlogProvider.cs
- Int32RectConverter.cs
- FactoryGenerator.cs
- TrimSurroundingWhitespaceAttribute.cs
- CustomError.cs
- ResourceIDHelper.cs
- AbstractExpressions.cs
- XmlReflectionImporter.cs
- BamlLocalizableResource.cs
- WorkflowDefinitionDispenser.cs
- ListViewItem.cs
- Attributes.cs
- _ContextAwareResult.cs
- ProcessModelInfo.cs
- Decimal.cs
- UserPreferenceChangedEventArgs.cs
- ListViewUpdateEventArgs.cs
- MasterPageParser.cs
- basevalidator.cs
- TextTreeText.cs
- EventLogWatcher.cs
- XmlSchemaSimpleContentExtension.cs
- ConnectionStringsSection.cs
- DateTimeSerializationSection.cs
- Binding.cs
- TriggerActionCollection.cs
- PathTooLongException.cs
- login.cs
- ControlPersister.cs
- TextMarkerSource.cs
- XmlAnyAttributeAttribute.cs
- ArrayListCollectionBase.cs
- SamlAuthorizationDecisionStatement.cs
- TextOnlyOutput.cs
- TabControlDesigner.cs
- CodeConstructor.cs
- LocalizationParserHooks.cs
- CardSpaceSelector.cs
- PasswordRecovery.cs
- SafeCancelMibChangeNotify.cs
- TagMapInfo.cs
- IApplicationTrustManager.cs
- QueryResult.cs
- CacheModeValueSerializer.cs
- TextTreeFixupNode.cs
- ADRoleFactory.cs
- XmlAttributeHolder.cs
- DbTypeMap.cs
- RightsManagementEncryptionTransform.cs
- PasswordTextContainer.cs
- EncoderBestFitFallback.cs
- Certificate.cs
- FixedTextBuilder.cs
- HttpCapabilitiesEvaluator.cs
- DateTimeFormatInfo.cs
- NetDispatcherFaultException.cs
- Thread.cs
- sortedlist.cs
- GlyphShapingProperties.cs
- CodeStatement.cs
- ScopelessEnumAttribute.cs
- basemetadatamappingvisitor.cs
- EncryptedKeyHashIdentifierClause.cs
- CultureSpecificCharacterBufferRange.cs
- AliasExpr.cs
- CommonXSendMessage.cs
- GenericRootAutomationPeer.cs
- RawKeyboardInputReport.cs
- BitFlagsGenerator.cs
- SessionStateSection.cs
- TableLayoutStyleCollection.cs
- ToolTipService.cs
- XmlUTF8TextWriter.cs
- UICuesEvent.cs
- ObjectStateManager.cs