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
- List.cs
- NavigatingCancelEventArgs.cs
- MarkupCompiler.cs
- IIS7UserPrincipal.cs
- WebPartConnectionsConfigureVerb.cs
- InternalConfigEventArgs.cs
- TemplatePropertyEntry.cs
- SqlBuffer.cs
- RbTree.cs
- SafeReversePInvokeHandle.cs
- HttpModulesSection.cs
- ChangePassword.cs
- RoutingBehavior.cs
- CryptoConfig.cs
- RenamedEventArgs.cs
- RelationshipType.cs
- StrokeNodeData.cs
- CommandBinding.cs
- ZipIOBlockManager.cs
- CodeLinePragma.cs
- WebPart.cs
- TrustManager.cs
- CodeComment.cs
- ForwardPositionQuery.cs
- Double.cs
- SchemaTypeEmitter.cs
- ComboBoxAutomationPeer.cs
- SoapInteropTypes.cs
- DetailsViewPageEventArgs.cs
- DirectoryInfo.cs
- ImageFormatConverter.cs
- HiddenFieldPageStatePersister.cs
- PasswordTextContainer.cs
- HttpResponse.cs
- XomlDesignerLoader.cs
- DebugInfoExpression.cs
- RefreshEventArgs.cs
- isolationinterop.cs
- SqlStream.cs
- EncryptedPackage.cs
- DataGridViewRowCancelEventArgs.cs
- ImageListUtils.cs
- HttpProcessUtility.cs
- ActivationServices.cs
- DataShape.cs
- WebSysDefaultValueAttribute.cs
- TraceRecords.cs
- Padding.cs
- TrustLevel.cs
- DataTrigger.cs
- ISAPIRuntime.cs
- CheckBoxField.cs
- AssignDesigner.xaml.cs
- DPTypeDescriptorContext.cs
- DataGridViewCellLinkedList.cs
- MissingMethodException.cs
- AsyncStreamReader.cs
- SHA384CryptoServiceProvider.cs
- DataServiceQueryProvider.cs
- _BasicClient.cs
- LinkedList.cs
- NavigatingCancelEventArgs.cs
- SafeLocalMemHandle.cs
- ColorConverter.cs
- SelectionList.cs
- EndpointInfoCollection.cs
- PassportAuthentication.cs
- UIntPtr.cs
- SystemNetHelpers.cs
- XamlNamespaceHelper.cs
- BinHexDecoder.cs
- MailAddressParser.cs
- unsafenativemethodsother.cs
- CroppedBitmap.cs
- DataGridViewCellMouseEventArgs.cs
- ResourceDisplayNameAttribute.cs
- PingReply.cs
- BinaryUtilClasses.cs
- ReturnEventArgs.cs
- MobileUITypeEditor.cs
- CommandEventArgs.cs
- QueryRewriter.cs
- MethodCallExpression.cs
- ElementHostPropertyMap.cs
- UrlMappingsModule.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- XmlUtf8RawTextWriter.cs
- RuntimeUtils.cs
- TemplateBamlRecordReader.cs
- Ray3DHitTestResult.cs
- EpmAttributeNameBuilder.cs
- GridViewRow.cs
- PenCursorManager.cs
- MenuEventArgs.cs
- EntityConnection.cs
- ObjectReferenceStack.cs
- KeyValueConfigurationCollection.cs
- ComponentResourceKey.cs
- ProcessHostMapPath.cs
- MetadataHelper.cs