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
- TimeZoneInfo.cs
- precedingquery.cs
- EventLogReader.cs
- TrustManagerPromptUI.cs
- BamlCollectionHolder.cs
- WindowsAltTab.cs
- MaskedTextProvider.cs
- ReferencedAssembly.cs
- SqlProviderServices.cs
- X509Certificate2.cs
- XhtmlConformanceSection.cs
- ComplexTypeEmitter.cs
- _SafeNetHandles.cs
- ShaderEffect.cs
- StrongNameKeyPair.cs
- Panel.cs
- RefType.cs
- GlyphElement.cs
- CharConverter.cs
- IMembershipProvider.cs
- VersionUtil.cs
- BypassElement.cs
- KeyValueConfigurationCollection.cs
- StandardCommands.cs
- DataGridViewCellValueEventArgs.cs
- HtmlControlPersistable.cs
- PersistChildrenAttribute.cs
- KeyPressEvent.cs
- GridViewPageEventArgs.cs
- SoapEnvelopeProcessingElement.cs
- OracleNumber.cs
- ScriptMethodAttribute.cs
- UnsettableComboBox.cs
- SocketPermission.cs
- ReadOnlyDictionary.cs
- MsmqChannelFactoryBase.cs
- EventWaitHandle.cs
- WindowsGraphicsCacheManager.cs
- VideoDrawing.cs
- input.cs
- SqlLiftWhereClauses.cs
- IOException.cs
- JsonQNameDataContract.cs
- InputLangChangeRequestEvent.cs
- ElapsedEventArgs.cs
- GregorianCalendar.cs
- WithParamAction.cs
- InProcStateClientManager.cs
- CapabilitiesState.cs
- PixelShader.cs
- _CookieModule.cs
- SemanticBasicElement.cs
- XpsPackagingException.cs
- HostedTransportConfigurationManager.cs
- VarRemapper.cs
- BitmapEffectOutputConnector.cs
- SendSecurityHeaderElementContainer.cs
- BamlLocalizationDictionary.cs
- GetImportedCardRequest.cs
- CodeObject.cs
- SHA512Managed.cs
- SqlDataSourceCommandEventArgs.cs
- Event.cs
- SqlClientFactory.cs
- TakeOrSkipWhileQueryOperator.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- XmlValidatingReader.cs
- AstNode.cs
- CodeTypeDeclarationCollection.cs
- CompositeControl.cs
- RadioButtonFlatAdapter.cs
- ScrollBarAutomationPeer.cs
- WindowClosedEventArgs.cs
- HMACSHA256.cs
- SqlConnectionStringBuilder.cs
- SByteStorage.cs
- GridSplitterAutomationPeer.cs
- XPathExpr.cs
- SQLBoolean.cs
- Cell.cs
- TaskFormBase.cs
- HandleValueEditor.cs
- MultiPropertyDescriptorGridEntry.cs
- ConstrainedDataObject.cs
- MetadataHelper.cs
- StringTraceRecord.cs
- XmlSiteMapProvider.cs
- ClientSettings.cs
- MemoryMappedView.cs
- ToolBarButtonClickEvent.cs
- AuthorizationRuleCollection.cs
- Action.cs
- DataGridPagingPage.cs
- MemberDomainMap.cs
- RectKeyFrameCollection.cs
- FontFaceLayoutInfo.cs
- RolePrincipal.cs
- EventListener.cs
- SimpleTypeResolver.cs
- AutoGeneratedField.cs