Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / ShaderRenderModeValidation.cs / 1305600 / ShaderRenderModeValidation.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. // //--------------------------------------------------------------------------- #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.Effects { 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 IsShaderRenderModeValid(object valueObject) { ShaderRenderMode value = (ShaderRenderMode) valueObject; return (value == ShaderRenderMode.Auto) || (value == ShaderRenderMode.SoftwareOnly) || (value == ShaderRenderMode.HardwareOnly); } } } // 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
- NetworkCredential.cs
- SymDocumentType.cs
- ContainerUtilities.cs
- XhtmlTextWriter.cs
- _HTTPDateParse.cs
- NullableConverter.cs
- BaseComponentEditor.cs
- PrintControllerWithStatusDialog.cs
- SoapAttributes.cs
- LinqDataSourceContextEventArgs.cs
- TrustLevel.cs
- Persist.cs
- SQLDecimalStorage.cs
- PointHitTestResult.cs
- odbcmetadatacolumnnames.cs
- ModuleConfigurationInfo.cs
- XmlSchemaException.cs
- ExceptionUtil.cs
- CacheMode.cs
- DataBindEngine.cs
- SecurityProtocol.cs
- ElapsedEventArgs.cs
- DataSourceCache.cs
- TextTreeExtractElementUndoUnit.cs
- Evidence.cs
- SettingsPropertyCollection.cs
- SafeMemoryMappedViewHandle.cs
- MulticastNotSupportedException.cs
- SimpleFileLog.cs
- TextServicesProperty.cs
- StreamReader.cs
- TextDecorationLocationValidation.cs
- RegexRunnerFactory.cs
- DataGridViewRowPostPaintEventArgs.cs
- ButtonRenderer.cs
- ItemsControlAutomationPeer.cs
- TripleDESCryptoServiceProvider.cs
- ChangePasswordAutoFormat.cs
- VectorValueSerializer.cs
- ToolStripProgressBar.cs
- PrinterResolution.cs
- ListViewCommandEventArgs.cs
- ObjectAnimationBase.cs
- basevalidator.cs
- SetStoryboardSpeedRatio.cs
- ReadOnlyCollectionBuilder.cs
- ParsedAttributeCollection.cs
- CreateUserWizard.cs
- XmlProcessingInstruction.cs
- XmlSchemaObjectTable.cs
- NamespaceMapping.cs
- FormViewInsertedEventArgs.cs
- XPathPatternBuilder.cs
- SafeHandles.cs
- BamlReader.cs
- FixedSOMTableRow.cs
- ScriptControl.cs
- CharacterString.cs
- Crypto.cs
- FrameworkElement.cs
- ExpressionEditorAttribute.cs
- WaitHandleCannotBeOpenedException.cs
- GridItemPattern.cs
- Comparer.cs
- WeakRefEnumerator.cs
- ScriptIgnoreAttribute.cs
- FlowDocument.cs
- DragEventArgs.cs
- ThaiBuddhistCalendar.cs
- ValidationSummaryDesigner.cs
- ListViewGroupItemCollection.cs
- QueryMath.cs
- DeflateStream.cs
- TableCell.cs
- TextTrailingWordEllipsis.cs
- QueueProcessor.cs
- LinqDataSourceDeleteEventArgs.cs
- HttpHostedTransportConfiguration.cs
- CatalogPartChrome.cs
- RichTextBox.cs
- DataBindEngine.cs
- SqlNodeAnnotation.cs
- FormView.cs
- GridViewAutomationPeer.cs
- GifBitmapDecoder.cs
- RawStylusInput.cs
- DataControlPagerLinkButton.cs
- X509ImageLogo.cs
- DispatchWrapper.cs
- ProcessProtocolHandler.cs
- Int32CAMarshaler.cs
- PropertyConverter.cs
- DurationConverter.cs
- GridViewCommandEventArgs.cs
- Vector3DConverter.cs
- ListViewHitTestInfo.cs
- cookiecontainer.cs
- AutoSizeToolBoxItem.cs
- Int32Converter.cs
- ToolStripTemplateNode.cs