Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / ColorInterpolationModeValidation.cs / 1305600 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FactoryRecord.cs
- ContainerFilterService.cs
- KeyConstraint.cs
- NameValuePair.cs
- XsltOutput.cs
- Inline.cs
- IsolatedStorageFilePermission.cs
- IPAddressCollection.cs
- FormatterServices.cs
- BooleanFacetDescriptionElement.cs
- storepermission.cs
- DesignerDataTableBase.cs
- GatewayDefinition.cs
- EntityType.cs
- DataServicePagingProviderWrapper.cs
- XPathBuilder.cs
- TextBlockAutomationPeer.cs
- XmlSchemaComplexContentRestriction.cs
- SrgsGrammar.cs
- OleDbEnumerator.cs
- Point3DAnimationUsingKeyFrames.cs
- DrawingAttributes.cs
- SamlDelegatingWriter.cs
- SerializationException.cs
- CreateUserWizard.cs
- FunctionOverloadResolver.cs
- FrameworkPropertyMetadata.cs
- NullableFloatSumAggregationOperator.cs
- ImageClickEventArgs.cs
- WebBrowserUriTypeConverter.cs
- TdsValueSetter.cs
- XmlSchemaAnnotated.cs
- PolicyUnit.cs
- EmbeddedObject.cs
- ViewKeyConstraint.cs
- BinaryWriter.cs
- FileLogRecord.cs
- StreamAsIStream.cs
- ListItemConverter.cs
- DependencyPropertyKey.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- X500Name.cs
- SoapTypeAttribute.cs
- CqlIdentifiers.cs
- DataSourceUtil.cs
- QuadraticBezierSegment.cs
- ChannelBuilder.cs
- DataGridViewCellParsingEventArgs.cs
- AuthenticationService.cs
- WorkingDirectoryEditor.cs
- MatrixCamera.cs
- DuplexSecurityProtocolFactory.cs
- ExecutedRoutedEventArgs.cs
- DataGridViewCellPaintingEventArgs.cs
- CompositeControl.cs
- userdatakeys.cs
- FixedSOMLineCollection.cs
- DataError.cs
- EncodedStreamFactory.cs
- basecomparevalidator.cs
- DoubleLinkListEnumerator.cs
- StaticExtensionConverter.cs
- AssemblyAttributes.cs
- WebFormDesignerActionService.cs
- infer.cs
- SerializerDescriptor.cs
- ResourceIDHelper.cs
- CodeAttributeDeclaration.cs
- PrimitiveXmlSerializers.cs
- DataGrid.cs
- DataPagerFieldItem.cs
- DeclaredTypeValidator.cs
- PathFigureCollectionConverter.cs
- _AuthenticationState.cs
- AnnotationComponentManager.cs
- PropertyPathConverter.cs
- glyphs.cs
- CodeCommentStatement.cs
- ApplicationSettingsBase.cs
- HtmlGenericControl.cs
- LabelTarget.cs
- TransformerInfoCollection.cs
- BoundField.cs
- _NegoStream.cs
- SingleTagSectionHandler.cs
- SafeRegistryHandle.cs
- DbSetClause.cs
- SrgsOneOf.cs
- SmiTypedGetterSetter.cs
- LogRestartAreaEnumerator.cs
- StateMachine.cs
- EntityDataSourceViewSchema.cs
- TableParagraph.cs
- XmlSchemaInclude.cs
- Camera.cs
- ModuleBuilder.cs
- SmiRequestExecutor.cs
- ButtonField.cs
- ConfigPathUtility.cs
- EncryptedPackage.cs