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
- SingleTagSectionHandler.cs
- NGCSerializationManager.cs
- HtmlMeta.cs
- EndpointConfigContainer.cs
- WeakReadOnlyCollection.cs
- XmlLangPropertyAttribute.cs
- ParameterCollection.cs
- DesignTable.cs
- CriticalFileToken.cs
- SqlWriter.cs
- ChtmlTextWriter.cs
- Substitution.cs
- StickyNoteHelper.cs
- CodeAttributeDeclarationCollection.cs
- XhtmlBasicFormAdapter.cs
- PaperSize.cs
- ExtensionQuery.cs
- ParentControlDesigner.cs
- PathFigure.cs
- DataGridColumnCollection.cs
- XmlSchemaSet.cs
- QueryResult.cs
- TextEmbeddedObject.cs
- MergeLocalizationDirectives.cs
- BitmapImage.cs
- SafeSecurityHandles.cs
- SslStream.cs
- ObjectKeyFrameCollection.cs
- LocalizationComments.cs
- DataGridViewCell.cs
- ReceiveSecurityHeader.cs
- ScrollableControl.cs
- CssStyleCollection.cs
- WebReference.cs
- StreamInfo.cs
- BaseCAMarshaler.cs
- SchemaNotation.cs
- BorderGapMaskConverter.cs
- PenLineCapValidation.cs
- XmlILOptimizerVisitor.cs
- DropShadowEffect.cs
- SpellerStatusTable.cs
- ToolBarTray.cs
- OnOperation.cs
- UInt64Converter.cs
- Environment.cs
- UpdatePanelTrigger.cs
- EventWaitHandleSecurity.cs
- VersionedStream.cs
- InputBinder.cs
- SchemaDeclBase.cs
- DataGridViewCheckBoxCell.cs
- OperatingSystem.cs
- ContentWrapperAttribute.cs
- TypeInitializationException.cs
- XmlImplementation.cs
- Action.cs
- CharEntityEncoderFallback.cs
- Exception.cs
- DataContractSerializerSection.cs
- Literal.cs
- Descriptor.cs
- SetState.cs
- CompositionTarget.cs
- NativeMethods.cs
- DataGridViewColumnConverter.cs
- BitmapFrameDecode.cs
- ExecutionContext.cs
- TimeSpanFormat.cs
- XPathNavigatorReader.cs
- ExecutionEngineException.cs
- RadioButton.cs
- Compiler.cs
- SystemThemeKey.cs
- FrameSecurityDescriptor.cs
- TableHeaderCell.cs
- ModelFunction.cs
- XmlTextWriter.cs
- XsltFunctions.cs
- VisualStyleElement.cs
- Multiply.cs
- QueryPrefixOp.cs
- SubqueryTrackingVisitor.cs
- AnimationStorage.cs
- _IPv4Address.cs
- ConstructorBuilder.cs
- ItemsPanelTemplate.cs
- DialogWindow.cs
- DrawingContextWalker.cs
- HttpProxyCredentialType.cs
- ServicePointManagerElement.cs
- BodyGlyph.cs
- BuildProvidersCompiler.cs
- ServiceOperation.cs
- TrackingAnnotationCollection.cs
- SafeThreadHandle.cs
- InlinedAggregationOperator.cs
- ColorTransformHelper.cs
- OutputCacheSettingsSection.cs
- XmlSchemaChoice.cs