Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / BitmapScalingModeValidation.cs / 1 / BitmapScalingModeValidation.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see [....]/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Runtime.InteropServices; using MS.Internal.PresentationCore; #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 { 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 IsBitmapScalingModeValid(object valueObject) { BitmapScalingMode value = (BitmapScalingMode) valueObject; return (value == BitmapScalingMode.Unspecified) || (value == BitmapScalingMode.LowQuality) || (value == BitmapScalingMode.HighQuality); } } } // 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
- BuildManager.cs
- IdnMapping.cs
- Win32.cs
- IndependentAnimationStorage.cs
- MediaScriptCommandRoutedEventArgs.cs
- SystemIPGlobalProperties.cs
- OLEDB_Util.cs
- XmlHierarchyData.cs
- ComboBoxDesigner.cs
- ClientSession.cs
- FlowSwitchLink.cs
- GenericXmlSecurityToken.cs
- LineProperties.cs
- NamespaceCollection.cs
- ContentElementAutomationPeer.cs
- BackgroundWorker.cs
- MappingSource.cs
- DebuggerAttributes.cs
- PerformanceCounter.cs
- ThaiBuddhistCalendar.cs
- ColorMatrix.cs
- ServiceBehaviorElement.cs
- LocatorPartList.cs
- cookiecontainer.cs
- TimeStampChecker.cs
- EntityClassGenerator.cs
- _Rfc2616CacheValidators.cs
- TransactionFlowElement.cs
- BoolLiteral.cs
- AsyncOperationManager.cs
- DocumentPage.cs
- MasterPageCodeDomTreeGenerator.cs
- XhtmlBasicLabelAdapter.cs
- DynamicMethod.cs
- DeflateStream.cs
- Metadata.cs
- HebrewCalendar.cs
- DBCSCodePageEncoding.cs
- FontFamily.cs
- ConfigurationLocationCollection.cs
- SingletonConnectionReader.cs
- CodeSnippetExpression.cs
- AuthenticationModulesSection.cs
- MatrixUtil.cs
- ResourceDictionary.cs
- ContentOperations.cs
- TextViewSelectionProcessor.cs
- ViewGenResults.cs
- CommandManager.cs
- AssemblyAttributesGoHere.cs
- SecuritySessionFilter.cs
- DSASignatureDeformatter.cs
- GenericPrincipal.cs
- RenderDataDrawingContext.cs
- OwnerDrawPropertyBag.cs
- Attachment.cs
- Int16KeyFrameCollection.cs
- PersonalizableTypeEntry.cs
- Substitution.cs
- DataServiceHostFactory.cs
- InteropAutomationProvider.cs
- AssemblySettingAttributes.cs
- EntityViewGenerationConstants.cs
- ResourceCategoryAttribute.cs
- _NetworkingPerfCounters.cs
- ToolboxItemFilterAttribute.cs
- KeyNotFoundException.cs
- ConfigurationException.cs
- Model3D.cs
- TabItemAutomationPeer.cs
- TemplateContentLoader.cs
- TextureBrush.cs
- ParameterModifier.cs
- PeerCustomResolverBindingElement.cs
- ListBox.cs
- Rotation3D.cs
- RuleSetDialog.Designer.cs
- DeviceContext2.cs
- XmlUTF8TextWriter.cs
- DataSysAttribute.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ExpressionParser.cs
- SecurityDocument.cs
- TypeCollectionDesigner.xaml.cs
- Paragraph.cs
- KeyValueConfigurationCollection.cs
- RuntimeArgumentHandle.cs
- hwndwrapper.cs
- ProxyAssemblyNotLoadedException.cs
- SubpageParagraph.cs
- UpdateManifestForBrowserApplication.cs
- ProtocolViolationException.cs
- OdbcDataReader.cs
- ColorConvertedBitmap.cs
- ConsoleCancelEventArgs.cs
- HttpServerUtilityBase.cs
- ServiceOperation.cs
- BaseCollection.cs
- SqlTriggerContext.cs
- Timer.cs