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
- UntrustedRecipientException.cs
- PointAnimationUsingKeyFrames.cs
- OperatingSystem.cs
- TimeStampChecker.cs
- SynchronizationScope.cs
- MemoryRecordBuffer.cs
- SystemWebCachingSectionGroup.cs
- DataServiceProcessingPipeline.cs
- _DisconnectOverlappedAsyncResult.cs
- BaseDataListDesigner.cs
- DataBindEngine.cs
- SolidColorBrush.cs
- Int32Rect.cs
- XmlCharCheckingReader.cs
- RoutedEventValueSerializer.cs
- basecomparevalidator.cs
- assertwrapper.cs
- HorizontalAlignConverter.cs
- HandledEventArgs.cs
- HtmlTernaryTree.cs
- XmlSchema.cs
- FontFaceLayoutInfo.cs
- LinkConverter.cs
- DecimalAnimation.cs
- XmlSchemaAnnotated.cs
- ShapingEngine.cs
- ArgIterator.cs
- ServiceHostFactory.cs
- IndependentAnimationStorage.cs
- HitTestDrawingContextWalker.cs
- HtmlGenericControl.cs
- EditCommandColumn.cs
- RegisteredScript.cs
- DesignParameter.cs
- _ListenerResponseStream.cs
- RectAnimationUsingKeyFrames.cs
- TextHidden.cs
- ConfigurationValues.cs
- LayoutUtils.cs
- RichTextBoxConstants.cs
- DataObjectPastingEventArgs.cs
- EntityUtil.cs
- Vector.cs
- PointAnimationClockResource.cs
- Mappings.cs
- RecipientInfo.cs
- Dictionary.cs
- AnnotationAdorner.cs
- FormViewCommandEventArgs.cs
- CodeAttributeArgument.cs
- SqlDependency.cs
- loginstatus.cs
- Token.cs
- RelationshipSet.cs
- CollectionBase.cs
- Matrix3D.cs
- PagesSection.cs
- GlyphRunDrawing.cs
- SelfIssuedAuthRSACryptoProvider.cs
- ADMembershipProvider.cs
- SettingsProperty.cs
- ResourceAssociationSetEnd.cs
- securitycriticaldataClass.cs
- DesignBindingEditor.cs
- CapiNative.cs
- SourceSwitch.cs
- RangeValueProviderWrapper.cs
- AuthenticationManager.cs
- ListViewGroup.cs
- MatrixConverter.cs
- QuadraticBezierSegment.cs
- SecurityPolicySection.cs
- WsdlImporterElement.cs
- ZipPackagePart.cs
- SmiEventSink.cs
- CroppedBitmap.cs
- Attributes.cs
- ImageListUtils.cs
- VirtualPath.cs
- WebPartZoneBase.cs
- RegexWriter.cs
- ScopelessEnumAttribute.cs
- _NegoState.cs
- InputMethodStateTypeInfo.cs
- LinearGradientBrush.cs
- AnimationTimeline.cs
- XhtmlBasicTextViewAdapter.cs
- FacetEnabledSchemaElement.cs
- OperationFormatStyle.cs
- HttpServerVarsCollection.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- SoapCommonClasses.cs
- ImageCodecInfo.cs
- DelegateBodyWriter.cs
- IPAddress.cs
- RoleManagerModule.cs
- StorageBasedPackageProperties.cs
- ITextView.cs
- CompensationParticipant.cs
- XsltCompileContext.cs