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
- BoolExpr.cs
- IdentityHolder.cs
- IItemProperties.cs
- EntityCommandDefinition.cs
- ExternalFile.cs
- SystemTcpConnection.cs
- UnsafeNativeMethods.cs
- ColorContext.cs
- TransactionProxy.cs
- HwndHost.cs
- TextOutput.cs
- DatagridviewDisplayedBandsData.cs
- Funcletizer.cs
- PromptBuilder.cs
- Renderer.cs
- PtsPage.cs
- Grant.cs
- BaseCollection.cs
- SchemaImporterExtension.cs
- WindowInteropHelper.cs
- ClientBuildManager.cs
- XmlChoiceIdentifierAttribute.cs
- RecordBuilder.cs
- ExpressionEvaluator.cs
- TransformedBitmap.cs
- DragEvent.cs
- parserscommon.cs
- ObjectParameter.cs
- AccessibilityApplicationManager.cs
- SettingsProviderCollection.cs
- DefaultBinder.cs
- UnsafeNativeMethods.cs
- WebScriptMetadataFormatter.cs
- PackUriHelper.cs
- UIElement3DAutomationPeer.cs
- LocatorPart.cs
- Propagator.Evaluator.cs
- MimeObjectFactory.cs
- TTSEngineProxy.cs
- PropertyInfoSet.cs
- WorkflowPersistenceService.cs
- CacheManager.cs
- Transform3DGroup.cs
- CounterCreationData.cs
- MemberProjectedSlot.cs
- DetailsViewRowCollection.cs
- GACMembershipCondition.cs
- DataGridColumn.cs
- EntityTypeBase.cs
- Command.cs
- ArcSegment.cs
- GridItemProviderWrapper.cs
- Accessible.cs
- DataGridParentRows.cs
- PackageDocument.cs
- Row.cs
- DataTrigger.cs
- GroupDescription.cs
- SspiSecurityTokenProvider.cs
- StylusShape.cs
- Quaternion.cs
- ScriptingAuthenticationServiceSection.cs
- FontStyle.cs
- ContentDisposition.cs
- GeneratedContractType.cs
- EditorPart.cs
- OleStrCAMarshaler.cs
- ListItemParagraph.cs
- versioninfo.cs
- ObjectAnimationUsingKeyFrames.cs
- InstanceLockLostException.cs
- XpsManager.cs
- ProbeMatches11.cs
- HistoryEventArgs.cs
- ListViewInsertedEventArgs.cs
- StylusPointProperties.cs
- DockAndAnchorLayout.cs
- FormatControl.cs
- ReversePositionQuery.cs
- ConvertersCollection.cs
- GeneralTransform2DTo3D.cs
- UpdateCommandGenerator.cs
- WebChannelFactory.cs
- CalendarDateChangedEventArgs.cs
- Identity.cs
- AnimationLayer.cs
- CommandBindingCollection.cs
- CaseStatement.cs
- Activator.cs
- path.cs
- XmlDataSource.cs
- FocusManager.cs
- MaterializeFromAtom.cs
- DeviceContext2.cs
- GeometryConverter.cs
- TextBoxView.cs
- RtfControls.cs
- IOException.cs
- CompressedStack.cs
- Renderer.cs