Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- PageCodeDomTreeGenerator.cs
- GeneralTransform3D.cs
- Content.cs
- securitycriticaldataClass.cs
- InputLanguageCollection.cs
- SelfIssuedAuthAsymmetricKey.cs
- OpCodes.cs
- AmbientLight.cs
- MenuBindingsEditor.cs
- OuterGlowBitmapEffect.cs
- indexingfiltermarshaler.cs
- SafeNativeMemoryHandle.cs
- Stacktrace.cs
- jithelpers.cs
- ParameterCollection.cs
- XmlAttributeCollection.cs
- ChtmlPageAdapter.cs
- DataKey.cs
- tooltip.cs
- Pts.cs
- HostVisual.cs
- PageRequestManager.cs
- XmlAttributes.cs
- ManagementBaseObject.cs
- ImageAutomationPeer.cs
- TextRunCache.cs
- ColorTransformHelper.cs
- SubtreeProcessor.cs
- PeerNameResolver.cs
- FlowDocumentReader.cs
- NullableDoubleSumAggregationOperator.cs
- SqlBuffer.cs
- ImageListImageEditor.cs
- Match.cs
- WebPartManager.cs
- DataServiceContext.cs
- MiniMapControl.xaml.cs
- ErrorFormatter.cs
- MembershipSection.cs
- SecurityAlgorithmSuiteConverter.cs
- StringFormat.cs
- DefaultBindingPropertyAttribute.cs
- FontStretches.cs
- DbXmlEnabledProviderManifest.cs
- Popup.cs
- WorkflowEventArgs.cs
- ByteStorage.cs
- WindowsButton.cs
- SurrogateChar.cs
- CodeNamespace.cs
- DbLambda.cs
- ProjectionCamera.cs
- SqlGatherConsumedAliases.cs
- NameValuePair.cs
- BitmapPalette.cs
- ArrayExtension.cs
- NeutralResourcesLanguageAttribute.cs
- StatusBarPanel.cs
- FaultConverter.cs
- TimeZone.cs
- OrderingInfo.cs
- BoolExpressionVisitors.cs
- Image.cs
- IDReferencePropertyAttribute.cs
- WorkflowCreationContext.cs
- Positioning.cs
- EventRouteFactory.cs
- DSACryptoServiceProvider.cs
- PropertyManager.cs
- InkCanvasSelection.cs
- ComponentResourceManager.cs
- ItemsPanelTemplate.cs
- GrammarBuilder.cs
- ByteAnimation.cs
- MembershipSection.cs
- ExeContext.cs
- IndexedEnumerable.cs
- AdPostCacheSubstitution.cs
- MissingManifestResourceException.cs
- XmlAnyAttributeAttribute.cs
- DBCommandBuilder.cs
- RunWorkerCompletedEventArgs.cs
- ByteKeyFrameCollection.cs
- DatePicker.cs
- BindableAttribute.cs
- DateBoldEvent.cs
- EncryptedKey.cs
- LocalValueEnumerator.cs
- ProfileWorkflowElement.cs
- CollectionConverter.cs
- RequiredFieldValidator.cs
- ToolStripDropTargetManager.cs
- UpDownBase.cs
- ApplicationDirectory.cs
- TextProperties.cs
- Point3DCollection.cs
- MouseOverProperty.cs
- PrimitiveXmlSerializers.cs
- jithelpers.cs
- MetadataSection.cs