Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / 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 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 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. //---------------------------------------------------------------------------- // //// 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 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
- ReflectEventDescriptor.cs
- ColumnResizeUndoUnit.cs
- DataMisalignedException.cs
- WorkflowQueue.cs
- metadatamappinghashervisitor.cs
- DataSourceControlBuilder.cs
- XsdDateTime.cs
- ListViewUpdateEventArgs.cs
- InkCanvasInnerCanvas.cs
- CompressEmulationStream.cs
- Evidence.cs
- ModelPerspective.cs
- UnhandledExceptionEventArgs.cs
- EncoderParameters.cs
- ReadWriteSpinLock.cs
- KeyManager.cs
- URI.cs
- XPathNavigator.cs
- EllipticalNodeOperations.cs
- DbConnectionHelper.cs
- Message.cs
- updatecommandorderer.cs
- LinkClickEvent.cs
- XmlIlGenerator.cs
- XmlCharCheckingReader.cs
- XmlDomTextWriter.cs
- SpecialNameAttribute.cs
- FilteredReadOnlyMetadataCollection.cs
- BuilderPropertyEntry.cs
- MeasureData.cs
- MarshalDirectiveException.cs
- AssemblyAttributes.cs
- EntityRecordInfo.cs
- EntityModelSchemaGenerator.cs
- CommandID.cs
- ContextMenu.cs
- DeviceContext2.cs
- SystemUdpStatistics.cs
- XmlException.cs
- PropertyTab.cs
- Semaphore.cs
- MatrixUtil.cs
- WindowsSpinner.cs
- BitHelper.cs
- TextTreeTextElementNode.cs
- SafeFileMapViewHandle.cs
- KnownBoxes.cs
- ipaddressinformationcollection.cs
- NTAccount.cs
- ThreadNeutralSemaphore.cs
- MatchAllMessageFilter.cs
- SecurityDocument.cs
- XmlWriter.cs
- OverflowException.cs
- NativeActivityContext.cs
- CodeCatchClause.cs
- ListViewInsertEventArgs.cs
- StoreContentChangedEventArgs.cs
- FixedElement.cs
- RecognizedWordUnit.cs
- WebPartConnectionsConnectVerb.cs
- TextCompositionEventArgs.cs
- FormattedTextSymbols.cs
- ServiceInfo.cs
- SQLBinaryStorage.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- RectValueSerializer.cs
- ServiceObjectContainer.cs
- MenuEventArgs.cs
- TreeNodeBindingDepthConverter.cs
- _AutoWebProxyScriptWrapper.cs
- SyndicationFeedFormatter.cs
- MaskInputRejectedEventArgs.cs
- NetCodeGroup.cs
- IsolatedStorageFileStream.cs
- Vertex.cs
- MatcherBuilder.cs
- RangeValidator.cs
- DefaultDiscoveryService.cs
- UIElementParagraph.cs
- CodeLinePragma.cs
- EdmFunctionAttribute.cs
- BinaryUtilClasses.cs
- TypeConverter.cs
- StorageEntityContainerMapping.cs
- HMAC.cs
- EntityViewGenerator.cs
- AssemblyBuilderData.cs
- ContextMenuStrip.cs
- DoubleConverter.cs
- DesignSurfaceEvent.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- StreamDocument.cs
- TraceHandlerErrorFormatter.cs
- RTTypeWrapper.cs
- ImageCodecInfoPrivate.cs
- WSSecureConversation.cs
- Stack.cs
- BamlLocalizationDictionary.cs
- ExpressionValueEditor.cs