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
- DefaultHttpHandler.cs
- BlockUIContainer.cs
- DeviceContext.cs
- InternalPolicyElement.cs
- securitycriticaldata.cs
- DateTime.cs
- FindCriteriaApril2005.cs
- AsyncCallback.cs
- InkCanvasFeedbackAdorner.cs
- MetadataUtilsSmi.cs
- DataRecord.cs
- Span.cs
- IntegerValidatorAttribute.cs
- ProfileBuildProvider.cs
- LabelExpression.cs
- DeferredTextReference.cs
- HideDisabledControlAdapter.cs
- HierarchicalDataTemplate.cs
- MailMessageEventArgs.cs
- DbMetaDataCollectionNames.cs
- SystemIcmpV4Statistics.cs
- DistributedTransactionPermission.cs
- SqlCommand.cs
- CellTreeNodeVisitors.cs
- MulticastOption.cs
- EdmFunctionAttribute.cs
- DataTableReader.cs
- PartialCachingAttribute.cs
- Point3DKeyFrameCollection.cs
- BamlRecordReader.cs
- LoginView.cs
- FlagsAttribute.cs
- VisualStyleTypesAndProperties.cs
- CachedResourceDictionaryExtension.cs
- base64Transforms.cs
- TransactionTable.cs
- RawStylusInputCustomDataList.cs
- MonikerBuilder.cs
- FrameSecurityDescriptor.cs
- HierarchicalDataSourceIDConverter.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- ListSourceHelper.cs
- ProviderSettingsCollection.cs
- MimeFormImporter.cs
- Tuple.cs
- EntityObject.cs
- ItemCollection.cs
- UnmanagedMemoryStream.cs
- DateBoldEvent.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- UICuesEvent.cs
- BitmapEffectDrawingContent.cs
- TransactionProxy.cs
- WebPartChrome.cs
- SoundPlayerAction.cs
- HierarchicalDataBoundControlAdapter.cs
- ZipFileInfoCollection.cs
- BaseParaClient.cs
- DataMemberConverter.cs
- EntityDataSourceMemberPath.cs
- DataQuery.cs
- PenLineCapValidation.cs
- WebBrowser.cs
- CompiledRegexRunner.cs
- PropertyValueChangedEvent.cs
- RedistVersionInfo.cs
- StorageMappingItemCollection.cs
- GridViewColumnHeaderAutomationPeer.cs
- ColumnWidthChangingEvent.cs
- DBBindings.cs
- WebPartEditVerb.cs
- SubstitutionList.cs
- RecognizerStateChangedEventArgs.cs
- SocketException.cs
- MeshGeometry3D.cs
- HelpInfo.cs
- XsdDataContractImporter.cs
- tabpagecollectioneditor.cs
- IISMapPath.cs
- PartitionedStreamMerger.cs
- HotCommands.cs
- HttpListenerResponse.cs
- IntPtr.cs
- SqlParameterCollection.cs
- BinaryFormatter.cs
- XmlElementAttributes.cs
- PrintDialogException.cs
- PackWebResponse.cs
- ExceptionRoutedEventArgs.cs
- DataObjectAttribute.cs
- DrawingBrush.cs
- ExpressionBuilderCollection.cs
- DocumentXPathNavigator.cs
- SqlCommand.cs
- CachedTypeface.cs
- Stopwatch.cs
- WebControlsSection.cs
- MailBnfHelper.cs
- AnimationLayer.cs
- ParagraphResult.cs