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
- SafeNativeMethodsMilCoreApi.cs
- ControlBuilderAttribute.cs
- Rijndael.cs
- ThicknessAnimationUsingKeyFrames.cs
- ValuePattern.cs
- EventPropertyMap.cs
- EventTrigger.cs
- CallbackValidator.cs
- FontDriver.cs
- FocusTracker.cs
- EventListener.cs
- SoapProtocolImporter.cs
- XmlNodeChangedEventManager.cs
- StopStoryboard.cs
- ClientUrlResolverWrapper.cs
- MeasureData.cs
- Executor.cs
- EdmEntityTypeAttribute.cs
- SoapMessage.cs
- ActivityTrace.cs
- Crc32.cs
- TemplateControlParser.cs
- DecimalAnimationBase.cs
- LabelLiteral.cs
- UTF8Encoding.cs
- DPCustomTypeDescriptor.cs
- Int32.cs
- UserControlParser.cs
- Wildcard.cs
- DeflateInput.cs
- ViewPort3D.cs
- BamlLocalizabilityResolver.cs
- HtmlInputReset.cs
- HighlightOverlayGlyph.cs
- MustUnderstandBehavior.cs
- ResizeBehavior.cs
- FixedSOMPageElement.cs
- FixedPage.cs
- Rfc2898DeriveBytes.cs
- RawStylusInputCustomData.cs
- AlphabeticalEnumConverter.cs
- IConvertible.cs
- InheritanceContextChangedEventManager.cs
- BitmapEffectGroup.cs
- OutputCacheSettings.cs
- StateChangeEvent.cs
- SerializationTrace.cs
- CultureInfo.cs
- DataBoundControlAdapter.cs
- HttpCapabilitiesSectionHandler.cs
- X509ChainElement.cs
- FontEmbeddingManager.cs
- CultureInfoConverter.cs
- Scheduling.cs
- WebServiceEnumData.cs
- WebHttpEndpoint.cs
- UriWriter.cs
- ListItemCollection.cs
- CustomGrammar.cs
- RemotingServices.cs
- HttpWebResponse.cs
- AssemblyNameProxy.cs
- ConfigurationLocationCollection.cs
- MsmqProcessProtocolHandler.cs
- TextEndOfSegment.cs
- _ProxyChain.cs
- TextViewBase.cs
- OdbcCommand.cs
- PathFigure.cs
- CacheMode.cs
- MouseButtonEventArgs.cs
- TextureBrush.cs
- ApplicationSecurityManager.cs
- CancelEventArgs.cs
- Menu.cs
- TextTreeNode.cs
- WebPartVerb.cs
- ChangePassword.cs
- EntityReference.cs
- AspCompat.cs
- CodeGen.cs
- WebMessageEncodingBindingElement.cs
- StateMachineAction.cs
- HtmlTernaryTree.cs
- XmlHierarchyData.cs
- FixedSOMLineCollection.cs
- ToolStripActionList.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- Exception.cs
- SqlDataSourceCache.cs
- CellTreeNodeVisitors.cs
- BaseUriHelper.cs
- DetailsViewRowCollection.cs
- SyndicationItem.cs
- KeyPullup.cs
- ImageDrawing.cs
- Crc32Helper.cs
- PreviousTrackingServiceAttribute.cs
- ConnectionProviderAttribute.cs
- StylusDevice.cs