Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / BitmapScalingModeValidation.cs / 1305600 / BitmapScalingModeValidation.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. // //--------------------------------------------------------------------------- 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) || (value == BitmapScalingMode.Linear) || (value == BitmapScalingMode.Fant) || (value == BitmapScalingMode.NearestNeighbor); } } } // 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
- CharacterMetrics.cs
- RtfNavigator.cs
- FormViewDeletedEventArgs.cs
- DependsOnAttribute.cs
- OAVariantLib.cs
- SQLByte.cs
- CodeSnippetTypeMember.cs
- XmlExtensionFunction.cs
- DataList.cs
- DataSourceControlBuilder.cs
- DiscreteKeyFrames.cs
- MouseGesture.cs
- XmlArrayItemAttributes.cs
- StaticSiteMapProvider.cs
- TrackingDataItem.cs
- MappedMetaModel.cs
- PriorityBindingExpression.cs
- HighContrastHelper.cs
- DBSchemaRow.cs
- WindowsSysHeader.cs
- OutputScopeManager.cs
- ConfigurationStrings.cs
- IndexedEnumerable.cs
- X509SubjectKeyIdentifierClause.cs
- ToolStripItemCollection.cs
- CachedCompositeFamily.cs
- PartialArray.cs
- PageDeviceFont.cs
- regiisutil.cs
- XmlSortKeyAccumulator.cs
- EventProxy.cs
- RowSpanVector.cs
- TripleDES.cs
- NetCodeGroup.cs
- EmbeddedObject.cs
- UTF7Encoding.cs
- MessagePropertyDescription.cs
- DictionarySectionHandler.cs
- WindowsSolidBrush.cs
- ObjectDataSourceView.cs
- SqlCacheDependency.cs
- WebPartDisplayModeCollection.cs
- XmlHierarchicalDataSourceView.cs
- NonBatchDirectoryCompiler.cs
- ResourceDescriptionAttribute.cs
- SqlDataSourceRefreshSchemaForm.cs
- EntityContainerEmitter.cs
- XmlQueryOutput.cs
- ACE.cs
- FactoryMaker.cs
- DesignerDeviceConfig.cs
- PreviewKeyDownEventArgs.cs
- MetadataWorkspace.cs
- JoinElimination.cs
- AuthorizationRuleCollection.cs
- SafePEFileHandle.cs
- DataGridViewTextBoxColumn.cs
- ControlBuilder.cs
- WindowsListBox.cs
- ColorMatrix.cs
- MDIControlStrip.cs
- EntityTransaction.cs
- HtmlGenericControl.cs
- GridItemPattern.cs
- SessionIDManager.cs
- XmlReflectionImporter.cs
- MobileTextWriter.cs
- _HeaderInfoTable.cs
- DependencyObjectType.cs
- HtmlControlAdapter.cs
- HTMLTagNameToTypeMapper.cs
- ICspAsymmetricAlgorithm.cs
- DeobfuscatingStream.cs
- HtmlLink.cs
- ClonableStack.cs
- XmlEntity.cs
- MergeFailedEvent.cs
- serverconfig.cs
- Events.cs
- ValueProviderWrapper.cs
- ScriptingRoleServiceSection.cs
- DtrList.cs
- MultipleViewPattern.cs
- HMACRIPEMD160.cs
- TypeDependencyAttribute.cs
- AsyncCompletedEventArgs.cs
- OleDbDataAdapter.cs
- Size3D.cs
- DataControlLinkButton.cs
- TextOutput.cs
- FileSystemEventArgs.cs
- ObjectDataSourceMethodEventArgs.cs
- ButtonPopupAdapter.cs
- CodePrimitiveExpression.cs
- HwndTarget.cs
- Journal.cs
- HtmlInputCheckBox.cs
- MenuItemCollection.cs
- SpAudioStreamWrapper.cs
- _ListenerRequestStream.cs