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
- BaseParagraph.cs
- Misc.cs
- SpeakCompletedEventArgs.cs
- TimeSpanSecondsConverter.cs
- FillRuleValidation.cs
- TableCellCollection.cs
- TransformerTypeCollection.cs
- ProcessProtocolHandler.cs
- Command.cs
- Token.cs
- Ports.cs
- RegexCode.cs
- FocusTracker.cs
- DataServiceQueryException.cs
- PrivacyNoticeBindingElementImporter.cs
- Imaging.cs
- CheckBoxStandardAdapter.cs
- CachingHintValidation.cs
- BrowserDefinition.cs
- Select.cs
- ErrorFormatter.cs
- _Connection.cs
- Timeline.cs
- CssClassPropertyAttribute.cs
- OdbcConnectionFactory.cs
- dbenumerator.cs
- IdentityHolder.cs
- SortedDictionary.cs
- PopupRootAutomationPeer.cs
- Connector.cs
- BevelBitmapEffect.cs
- ImmutableCollection.cs
- FileDetails.cs
- FormViewUpdatedEventArgs.cs
- TextSelectionHighlightLayer.cs
- LinqDataSource.cs
- InputMethodStateTypeInfo.cs
- ClientEventManager.cs
- ModelTreeManager.cs
- OleDbCommand.cs
- Tokenizer.cs
- XmlParserContext.cs
- WebPartDisplayModeEventArgs.cs
- EntityKeyElement.cs
- StylusShape.cs
- DiscoveryOperationContext.cs
- StateBag.cs
- DesignerDataConnection.cs
- RootNamespaceAttribute.cs
- DataBindingHandlerAttribute.cs
- Point3D.cs
- Wildcard.cs
- XmlNamespaceManager.cs
- UndirectedGraph.cs
- TableLayoutCellPaintEventArgs.cs
- RtfControls.cs
- SqlNodeAnnotations.cs
- Keyboard.cs
- EvidenceBase.cs
- _DigestClient.cs
- DomNameTable.cs
- OdbcConnectionHandle.cs
- InputLanguageSource.cs
- DateTimeConverter.cs
- CryptoStream.cs
- WSHttpSecurity.cs
- COM2PropertyDescriptor.cs
- Menu.cs
- ToolStripPanelDesigner.cs
- DeclarativeCatalogPart.cs
- ReferencedCategoriesDocument.cs
- LayoutEditorPart.cs
- PackageDigitalSignatureManager.cs
- DesignerOptions.cs
- EncodingDataItem.cs
- TransactedReceiveScope.cs
- PenContext.cs
- QuerySettings.cs
- HtmlInputText.cs
- PropertyMap.cs
- PeerContact.cs
- DataRowComparer.cs
- MessageBox.cs
- EntityEntry.cs
- Processor.cs
- XmlSchemaAttribute.cs
- TableRowCollection.cs
- EUCJPEncoding.cs
- FtpCachePolicyElement.cs
- LinkGrep.cs
- InstancePersistenceCommand.cs
- XmlElementAttribute.cs
- SyncOperationState.cs
- BuildProvider.cs
- MetadataArtifactLoaderComposite.cs
- CustomError.cs
- AddingNewEventArgs.cs
- WebCategoryAttribute.cs
- WebConfigurationHostFileChange.cs
- ToolStripSplitButton.cs