Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Shared / MS / Internal / Generated / RenderingBiasValidation.cs / 1 / RenderingBiasValidation.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 IsRenderingBiasValid(object valueObject) { RenderingBias value = (RenderingBias) valueObject; return (value == RenderingBias.Performance) || (value == RenderingBias.Quality); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// 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 IsRenderingBiasValid(object valueObject) { RenderingBias value = (RenderingBias) valueObject; return (value == RenderingBias.Performance) || (value == RenderingBias.Quality); } } } // 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
- util.cs
- MainMenu.cs
- ColumnClickEvent.cs
- cache.cs
- DocumentNUp.cs
- GatewayDefinition.cs
- PolicyException.cs
- CompleteWizardStep.cs
- CompositeControl.cs
- DES.cs
- InvalidateEvent.cs
- DateTimeSerializationSection.cs
- RuleInfoComparer.cs
- MetadataUtil.cs
- UIElement3DAutomationPeer.cs
- RemotingException.cs
- AnimationLayer.cs
- XmlNamespaceManager.cs
- PathSegment.cs
- InvalidWMPVersionException.cs
- ErrorInfoXmlDocument.cs
- CompositeFontParser.cs
- PropertyToken.cs
- Restrictions.cs
- Assembly.cs
- InkCanvasInnerCanvas.cs
- EventSinkHelperWriter.cs
- ScriptingRoleServiceSection.cs
- CommandPlan.cs
- SqlNodeAnnotations.cs
- DbMetaDataCollectionNames.cs
- BasePropertyDescriptor.cs
- VerificationAttribute.cs
- SqlGatherConsumedAliases.cs
- TextRangeProviderWrapper.cs
- WindowsAuthenticationEventArgs.cs
- ReadOnlyMetadataCollection.cs
- StylusButton.cs
- TextBoxAutomationPeer.cs
- TextDecoration.cs
- ConnectionsZoneAutoFormat.cs
- EncodingStreamWrapper.cs
- SQLBinaryStorage.cs
- ProcessModelInfo.cs
- Enum.cs
- CodeArrayIndexerExpression.cs
- SmtpClient.cs
- MultitargetingHelpers.cs
- FunctionParameter.cs
- DataGridViewCellEventArgs.cs
- NullableConverter.cs
- TextSimpleMarkerProperties.cs
- BooleanFunctions.cs
- GraphicsPath.cs
- StateElementCollection.cs
- InputScopeConverter.cs
- PropertyIdentifier.cs
- TabItemWrapperAutomationPeer.cs
- StateMachineWorkflow.cs
- AggregateNode.cs
- CodeAccessPermission.cs
- AlignmentYValidation.cs
- LocalizationComments.cs
- CodeIdentifiers.cs
- RadialGradientBrush.cs
- PropertyChangingEventArgs.cs
- QueryCursorEventArgs.cs
- ProcessThreadCollection.cs
- ConversionContext.cs
- TypedServiceChannelBuilder.cs
- Perspective.cs
- JsonQueryStringConverter.cs
- SettingsProperty.cs
- CustomDictionarySources.cs
- CommandHelper.cs
- HttpModulesInstallComponent.cs
- ScanQueryOperator.cs
- WorkflowRuntimeServiceElement.cs
- AnnotationResourceCollection.cs
- PartitionResolver.cs
- ListViewInsertEventArgs.cs
- RegisteredArrayDeclaration.cs
- ObjectListGeneralPage.cs
- MonthChangedEventArgs.cs
- CodeStatementCollection.cs
- FilterEventArgs.cs
- backend.cs
- Point3DAnimation.cs
- Cursor.cs
- ResXResourceWriter.cs
- MessageQueueAccessControlEntry.cs
- Rethrow.cs
- CheckBoxStandardAdapter.cs
- PointAnimationUsingKeyFrames.cs
- SqlConnectionPoolProviderInfo.cs
- RowUpdatedEventArgs.cs
- InfoCardTraceRecord.cs
- EasingKeyFrames.cs
- TemplateControlParser.cs
- ButtonChrome.cs