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
- Walker.cs
- CommandManager.cs
- BamlLocalizableResource.cs
- SimpleTypeResolver.cs
- ComboBox.cs
- XmlDataCollection.cs
- DetailsViewRowCollection.cs
- PathFigure.cs
- BindingValueChangedEventArgs.cs
- GridItemCollection.cs
- GridView.cs
- infer.cs
- TypeExtensionSerializer.cs
- SqlNodeAnnotations.cs
- FrameDimension.cs
- SafeFileHandle.cs
- UpdateRecord.cs
- ClrPerspective.cs
- CustomWebEventKey.cs
- Transform3DCollection.cs
- VisualProxy.cs
- ChtmlTextWriter.cs
- TextParentUndoUnit.cs
- ConfigXmlComment.cs
- ConnectorSelectionGlyph.cs
- Perspective.cs
- EnumBuilder.cs
- NamedObject.cs
- ResourceReferenceExpressionConverter.cs
- CFStream.cs
- ToolStripDesignerUtils.cs
- TraceEventCache.cs
- Ray3DHitTestResult.cs
- HtmlTableCell.cs
- SQLByteStorage.cs
- ApplicationServiceManager.cs
- PerspectiveCamera.cs
- MultiBindingExpression.cs
- Rect.cs
- Helper.cs
- DataErrorValidationRule.cs
- FormsAuthenticationCredentials.cs
- TextEditorTables.cs
- TagMapCollection.cs
- StorageEntityTypeMapping.cs
- Accessible.cs
- ObservableCollection.cs
- NativeObjectSecurity.cs
- AssemblyInfo.cs
- HttpDictionary.cs
- TokenBasedSet.cs
- SqlPersonalizationProvider.cs
- recordstate.cs
- FullTextLine.cs
- InternalPolicyElement.cs
- UIElement.cs
- HtmlInputCheckBox.cs
- UIElement.cs
- UnsafeNativeMethods.cs
- XamlFigureLengthSerializer.cs
- BindingNavigator.cs
- VisualTreeUtils.cs
- CryptoHelper.cs
- SafeSecurityHelper.cs
- AppDomainInfo.cs
- ColumnTypeConverter.cs
- SAPICategories.cs
- LinkClickEvent.cs
- DmlSqlGenerator.cs
- AttributeUsageAttribute.cs
- Int64Storage.cs
- CryptoKeySecurity.cs
- NonBatchDirectoryCompiler.cs
- CodeRemoveEventStatement.cs
- BamlResourceSerializer.cs
- Int32AnimationBase.cs
- TabItemWrapperAutomationPeer.cs
- FieldBuilder.cs
- RequestCacheManager.cs
- SmiEventSink_DeferedProcessing.cs
- MissingMemberException.cs
- Decorator.cs
- MenuEventArgs.cs
- SchemaContext.cs
- ObjectSet.cs
- HTMLTextWriter.cs
- HttpCachePolicyWrapper.cs
- ClientType.cs
- ReadOnlyDictionary.cs
- NameValueFileSectionHandler.cs
- InvalidPrinterException.cs
- AddressAccessDeniedException.cs
- DateTime.cs
- safelink.cs
- GatewayDefinition.cs
- ServiceContractGenerator.cs
- SafeFileMappingHandle.cs
- FontInfo.cs
- XmlUtf8RawTextWriter.cs
- ChtmlImageAdapter.cs