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
- DocumentViewerAutomationPeer.cs
- CollectionBase.cs
- RootBuilder.cs
- COM2ExtendedBrowsingHandler.cs
- SectionInput.cs
- WasAdminWrapper.cs
- AspCompat.cs
- GenericPrincipal.cs
- DataContractSet.cs
- GeometryModel3D.cs
- SignedXmlDebugLog.cs
- ArrangedElementCollection.cs
- Synchronization.cs
- XpsResource.cs
- MenuItemStyleCollection.cs
- AddingNewEventArgs.cs
- ImageMetadata.cs
- StackBuilderSink.cs
- RoutedEventValueSerializer.cs
- BitmapCodecInfoInternal.cs
- PipelineComponent.cs
- TreeNodeClickEventArgs.cs
- GenerateTemporaryTargetAssembly.cs
- StringAnimationUsingKeyFrames.cs
- BitmapEncoder.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- AcceleratedTokenAuthenticator.cs
- DocumentAutomationPeer.cs
- Label.cs
- UInt64Converter.cs
- RenderData.cs
- _PooledStream.cs
- EmptyEnumerator.cs
- SystemFonts.cs
- BoolExpression.cs
- TextServicesPropertyRanges.cs
- FormViewDeleteEventArgs.cs
- DataRelationCollection.cs
- AuthenticationService.cs
- BezierSegment.cs
- BitVec.cs
- EUCJPEncoding.cs
- MissingFieldException.cs
- Socket.cs
- XmlSortKeyAccumulator.cs
- DataServiceQueryException.cs
- TransactionsSectionGroup.cs
- loginstatus.cs
- Transform.cs
- MailDefinitionBodyFileNameEditor.cs
- User.cs
- DataAdapter.cs
- ConstraintCollection.cs
- SymmetricKeyWrap.cs
- Assembly.cs
- ScrollEventArgs.cs
- Utilities.cs
- ApplicationContext.cs
- GridToolTip.cs
- MultiByteCodec.cs
- UiaCoreApi.cs
- MergeExecutor.cs
- Compress.cs
- ControlParameter.cs
- RectangleF.cs
- XmlNullResolver.cs
- AttributedMetaModel.cs
- CheckBoxList.cs
- WindowsTokenRoleProvider.cs
- SrgsRule.cs
- StateRuntime.cs
- VisualBrush.cs
- ThreadSafeList.cs
- ContextMenuStrip.cs
- PersonalizationAdministration.cs
- FileDialog_Vista.cs
- GridViewCellAutomationPeer.cs
- Char.cs
- DiscoveryVersion.cs
- MatrixCamera.cs
- AuthenticationModuleElementCollection.cs
- RectangleHotSpot.cs
- ToolStrip.cs
- SqlDataSourceCommandEventArgs.cs
- GZipDecoder.cs
- UnsafeMethods.cs
- ProxyWebPartConnectionCollection.cs
- __Filters.cs
- XmlIlTypeHelper.cs
- precedingquery.cs
- MsdtcClusterUtils.cs
- SerializationFieldInfo.cs
- DynamicDataRoute.cs
- MouseButton.cs
- FragmentQueryProcessor.cs
- hwndwrapper.cs
- DesignerEditorPartChrome.cs
- XmlAttributeAttribute.cs
- SQLInt32Storage.cs
- LassoSelectionBehavior.cs