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
- ToolStripContextMenu.cs
- MimeReturn.cs
- OleDbFactory.cs
- WsrmTraceRecord.cs
- Membership.cs
- UnmanagedMemoryStream.cs
- ButtonStandardAdapter.cs
- SqlNodeTypeOperators.cs
- LinkLabel.cs
- NodeLabelEditEvent.cs
- DocumentOrderQuery.cs
- UnmanagedMemoryStreamWrapper.cs
- XsdDuration.cs
- DBConnectionString.cs
- IncomingWebRequestContext.cs
- ValidationErrorCollection.cs
- ClientProxyGenerator.cs
- ConnectionStringSettingsCollection.cs
- ParameterToken.cs
- DeflateStream.cs
- TextFormatterImp.cs
- AttributeProviderAttribute.cs
- SingleAnimationBase.cs
- ObservableCollection.cs
- DispatcherFrame.cs
- OdbcHandle.cs
- PassportIdentity.cs
- IsolatedStoragePermission.cs
- GlobalProxySelection.cs
- HelpInfo.cs
- PermissionSetTriple.cs
- InvalidDocumentContentsException.cs
- DocumentsTrace.cs
- OleDbEnumerator.cs
- IISUnsafeMethods.cs
- DelegatingMessage.cs
- XmlSchemaComplexContent.cs
- WindowsScroll.cs
- InstanceKey.cs
- RenderOptions.cs
- Helpers.cs
- SqlXml.cs
- CellParaClient.cs
- X509Utils.cs
- XmlCDATASection.cs
- WebPartTransformer.cs
- MenuItem.cs
- SerialPort.cs
- CssClassPropertyAttribute.cs
- ColorMatrix.cs
- PeerPresenceInfo.cs
- ExtensionDataObject.cs
- Grid.cs
- TileBrush.cs
- DrawingContextDrawingContextWalker.cs
- ContentPosition.cs
- LinqDataSourceHelper.cs
- NamedPermissionSet.cs
- TextRangeEdit.cs
- Exceptions.cs
- TypeInformation.cs
- GcSettings.cs
- WorkflowWebHostingModule.cs
- NavigationCommands.cs
- ComplexLine.cs
- ScriptResourceMapping.cs
- ThreadStaticAttribute.cs
- NodeLabelEditEvent.cs
- FileSystemWatcher.cs
- WebBrowser.cs
- TextElementEnumerator.cs
- baseaxisquery.cs
- EmptyQuery.cs
- EntityTypeBase.cs
- SqlBooleanizer.cs
- PeerName.cs
- DbConnectionPoolGroupProviderInfo.cs
- VisualBrush.cs
- AnnotationStore.cs
- EntityParameterCollection.cs
- SQLResource.cs
- ListSortDescription.cs
- Vector3D.cs
- BaseAddressElement.cs
- SQLStringStorage.cs
- SpotLight.cs
- EntityKeyElement.cs
- BufferedStream.cs
- PromptEventArgs.cs
- StringExpressionSet.cs
- DocumentPageViewAutomationPeer.cs
- _BaseOverlappedAsyncResult.cs
- SectionInformation.cs
- DocumentAutomationPeer.cs
- XmlSerializerNamespaces.cs
- VectorAnimationUsingKeyFrames.cs
- TableLayoutPanelCellPosition.cs
- SvcMapFileLoader.cs
- RemoteWebConfigurationHostServer.cs
- GiveFeedbackEventArgs.cs