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
- RawStylusActions.cs
- ContextMarshalException.cs
- validationstate.cs
- UnsafeCollabNativeMethods.cs
- Brush.cs
- InputScope.cs
- EntityTypeEmitter.cs
- BitmapEffect.cs
- ViewBox.cs
- hwndwrapper.cs
- InputQueueChannel.cs
- RequiredAttributeAttribute.cs
- CodeAccessPermission.cs
- TimeZone.cs
- TextBoxRenderer.cs
- LostFocusEventManager.cs
- UserControlDesigner.cs
- XmlElementAttributes.cs
- BitmapPalettes.cs
- RotateTransform.cs
- ScanQueryOperator.cs
- ProfileEventArgs.cs
- RichTextBox.cs
- Command.cs
- BinaryConverter.cs
- JsonWriter.cs
- DataGridViewHeaderCell.cs
- ConstraintCollection.cs
- DefinitionUpdate.cs
- RouteData.cs
- DesigntimeLicenseContext.cs
- DataGridViewDataErrorEventArgs.cs
- ThicknessConverter.cs
- Stack.cs
- XmlSchemaFacet.cs
- ActivityExecutorOperation.cs
- DocumentApplicationDocumentViewer.cs
- RootDesignerSerializerAttribute.cs
- __FastResourceComparer.cs
- MutableAssemblyCacheEntry.cs
- MediaCommands.cs
- HtmlEmptyTagControlBuilder.cs
- DataGridPageChangedEventArgs.cs
- StrokeNodeEnumerator.cs
- XmlNodeReader.cs
- Clipboard.cs
- UnknownBitmapDecoder.cs
- PreProcessInputEventArgs.cs
- BitmapEncoder.cs
- DbMetaDataFactory.cs
- Thumb.cs
- _ContextAwareResult.cs
- Preprocessor.cs
- UIElementHelper.cs
- DataBinding.cs
- Assembly.cs
- DayRenderEvent.cs
- XmlSchemaRedefine.cs
- PauseStoryboard.cs
- CodeDomConfigurationHandler.cs
- WindowsListViewGroup.cs
- GlyphRunDrawing.cs
- SectionInformation.cs
- CardSpacePolicyElement.cs
- ButtonColumn.cs
- ObjectStorage.cs
- HttpCapabilitiesEvaluator.cs
- Peer.cs
- AppearanceEditorPart.cs
- AppDomainManager.cs
- RectangleGeometry.cs
- ChannelReliableSession.cs
- ConfigurationLocationCollection.cs
- NullableDecimalAverageAggregationOperator.cs
- LocalIdCollection.cs
- CngUIPolicy.cs
- EventLevel.cs
- LineSegment.cs
- UpdateProgress.cs
- KoreanCalendar.cs
- XmlIncludeAttribute.cs
- grammarelement.cs
- CompositeActivityTypeDescriptorProvider.cs
- OptimalTextSource.cs
- TimelineClockCollection.cs
- BaseProcessor.cs
- CodeGeneratorOptions.cs
- EndpointIdentityExtension.cs
- EdmToObjectNamespaceMap.cs
- ItemCollection.cs
- SerialStream.cs
- ZipIOLocalFileHeader.cs
- CodeObject.cs
- ProfileSection.cs
- DesignerActionPanel.cs
- TeredoHelper.cs
- LinkedResourceCollection.cs
- _AuthenticationState.cs
- ValidationError.cs
- DateTimeConverter2.cs