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
- DockAndAnchorLayout.cs
- FolderLevelBuildProvider.cs
- coordinator.cs
- COM2FontConverter.cs
- SqlRowUpdatedEvent.cs
- LineGeometry.cs
- TimelineClockCollection.cs
- BinaryNode.cs
- DESCryptoServiceProvider.cs
- BmpBitmapEncoder.cs
- OdbcConnectionOpen.cs
- HashAlgorithm.cs
- LinkLabel.cs
- PenLineCapValidation.cs
- XComponentModel.cs
- StringComparer.cs
- AppDomainFactory.cs
- SystemBrushes.cs
- ChildChangedEventArgs.cs
- ActionMismatchAddressingException.cs
- TreeNode.cs
- SQLResource.cs
- WorkflowFileItem.cs
- ProfileSettings.cs
- Ref.cs
- SafeViewOfFileHandle.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- AutomationPatternInfo.cs
- IndexedString.cs
- OdbcEnvironment.cs
- EventData.cs
- EventLogPropertySelector.cs
- XslCompiledTransform.cs
- XPathDescendantIterator.cs
- SqlCacheDependencyDatabaseCollection.cs
- LogAppendAsyncResult.cs
- SplineKeyFrames.cs
- ScriptReferenceEventArgs.cs
- TdsParser.cs
- MenuStrip.cs
- listitem.cs
- AsyncOperation.cs
- LinqToSqlWrapper.cs
- WebDescriptionAttribute.cs
- FontSizeConverter.cs
- ListViewCancelEventArgs.cs
- SrgsDocument.cs
- CounterSampleCalculator.cs
- HeaderUtility.cs
- Rotation3DAnimationBase.cs
- DataTableTypeConverter.cs
- SiteMapProvider.cs
- DropDownButton.cs
- Metadata.cs
- SqlMetaData.cs
- VirtualPathUtility.cs
- DeviceSpecificChoiceCollection.cs
- RangeBase.cs
- MultiAsyncResult.cs
- UTF32Encoding.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- WindowsListView.cs
- EventListenerClientSide.cs
- XmlNodeList.cs
- NonSerializedAttribute.cs
- PagesSection.cs
- SystemColorTracker.cs
- _ListenerAsyncResult.cs
- DataSourceXmlAttributeAttribute.cs
- SqlXml.cs
- NamespaceCollection.cs
- WebPartEditVerb.cs
- TextDecorationUnitValidation.cs
- DBSqlParserTable.cs
- Schema.cs
- QuaternionKeyFrameCollection.cs
- VBCodeProvider.cs
- DataAdapter.cs
- OleDbEnumerator.cs
- CommandEventArgs.cs
- ResolveMatchesCD1.cs
- TextModifier.cs
- PolicyReader.cs
- FormViewUpdateEventArgs.cs
- BidOverLoads.cs
- LabelEditEvent.cs
- DependencyPropertyAttribute.cs
- ColorMatrix.cs
- TrustLevelCollection.cs
- DataGridViewTopRowAccessibleObject.cs
- BitArray.cs
- ConfigurationStrings.cs
- TailCallAnalyzer.cs
- OutputChannelBinder.cs
- JapaneseCalendar.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- UnitySerializationHolder.cs
- SingleAnimationBase.cs
- AssemblyContextControlItem.cs
- SerializationSectionGroup.cs