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
- UniqueConstraint.cs
- XmlSchemaComplexType.cs
- BmpBitmapEncoder.cs
- Model3DGroup.cs
- mda.cs
- DynamicILGenerator.cs
- VScrollProperties.cs
- UnsafeNativeMethods.cs
- PenThread.cs
- VirtualPath.cs
- IntSecurity.cs
- SettingsPropertyIsReadOnlyException.cs
- SspiHelper.cs
- UriTemplateCompoundPathSegment.cs
- MarkerProperties.cs
- Schedule.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- ElementHostPropertyMap.cs
- Odbc32.cs
- DateTimeValueSerializerContext.cs
- WhitespaceRule.cs
- SoapFaultCodes.cs
- ScriptDescriptor.cs
- XmlSchemaAttributeGroupRef.cs
- AutomationEvent.cs
- DeviceContexts.cs
- SimpleBitVector32.cs
- AnnotationDocumentPaginator.cs
- AppearanceEditorPart.cs
- SafeMarshalContext.cs
- ComplexBindingPropertiesAttribute.cs
- SqlUDTStorage.cs
- WmlTextBoxAdapter.cs
- Char.cs
- UriExt.cs
- WebBrowserBase.cs
- ListViewPagedDataSource.cs
- XmlSchemaAnyAttribute.cs
- WindowsAltTab.cs
- IntegerValidatorAttribute.cs
- DynamicResourceExtension.cs
- Screen.cs
- SqlTypeConverter.cs
- ReachNamespaceInfo.cs
- ListViewCancelEventArgs.cs
- PartialCachingAttribute.cs
- fixedPageContentExtractor.cs
- ContentFileHelper.cs
- FixedHighlight.cs
- Normalizer.cs
- PeerCredential.cs
- HScrollBar.cs
- AmbiguousMatchException.cs
- ToolBarButton.cs
- GC.cs
- DNS.cs
- Grant.cs
- BindingManagerDataErrorEventArgs.cs
- XslCompiledTransform.cs
- InternalSafeNativeMethods.cs
- TripleDES.cs
- DataGridViewRowPostPaintEventArgs.cs
- ElementUtil.cs
- EventsTab.cs
- GeneralTransformGroup.cs
- RtfToXamlReader.cs
- ClientRoleProvider.cs
- DataFormats.cs
- WorkflowViewService.cs
- ControlIdConverter.cs
- OLEDB_Enum.cs
- HebrewNumber.cs
- BrowserCapabilitiesCodeGenerator.cs
- SamlSerializer.cs
- RadioButtonAutomationPeer.cs
- CacheOutputQuery.cs
- XmlTextReaderImplHelpers.cs
- OutputCacheProfile.cs
- ConnectionManagementSection.cs
- InputBinding.cs
- CompensatableTransactionScopeActivityDesigner.cs
- WebBrowserNavigatingEventHandler.cs
- SafeIUnknown.cs
- DateTimeStorage.cs
- XamlTypeMapper.cs
- ToolStripDropDownItem.cs
- OdbcInfoMessageEvent.cs
- CachingHintValidation.cs
- SimpleBitVector32.cs
- GridViewRowPresenterBase.cs
- Types.cs
- ActivityExecutorSurrogate.cs
- SimpleRecyclingCache.cs
- DoubleLinkListEnumerator.cs
- ClientCultureInfo.cs
- ToggleButtonAutomationPeer.cs
- ListSortDescriptionCollection.cs
- BinaryHeap.cs
- _CookieModule.cs
- ReferencedCollectionType.cs