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
- FormsAuthentication.cs
- UnsupportedPolicyOptionsException.cs
- WebBrowserBase.cs
- StatusBar.cs
- CorrelationKey.cs
- HttpListenerElement.cs
- Type.cs
- LZCodec.cs
- HttpCapabilitiesEvaluator.cs
- DebugView.cs
- XmlUtil.cs
- RoutedUICommand.cs
- EffectiveValueEntry.cs
- UnsafeNativeMethods.cs
- DataGridViewColumnHeaderCell.cs
- DrawingAttributeSerializer.cs
- PropertyItemInternal.cs
- MeshGeometry3D.cs
- ExpressionVisitor.cs
- BitmapEffectState.cs
- TextBoxBase.cs
- SaveFileDialogDesigner.cs
- ResourceReader.cs
- IsolatedStorageSecurityState.cs
- DockPatternIdentifiers.cs
- RadioButton.cs
- ScopedKnownTypes.cs
- HttpListenerContext.cs
- CTreeGenerator.cs
- RoleService.cs
- FigureHelper.cs
- SelectedPathEditor.cs
- _Rfc2616CacheValidators.cs
- GridToolTip.cs
- ReceiveSecurityHeaderEntry.cs
- SingleAnimationBase.cs
- CancelRequestedRecord.cs
- CacheDict.cs
- LoginStatusDesigner.cs
- FutureFactory.cs
- OptimalBreakSession.cs
- SessionStateSection.cs
- SerializationSectionGroup.cs
- UpdateRecord.cs
- DPCustomTypeDescriptor.cs
- TreeBuilder.cs
- CodeNamespaceImportCollection.cs
- HtmlEmptyTagControlBuilder.cs
- Validator.cs
- CodeTypeReference.cs
- HtmlElementCollection.cs
- CompiledQueryCacheKey.cs
- WpfMemberInvoker.cs
- CurrencyManager.cs
- GPStream.cs
- RequestSecurityToken.cs
- SqlServer2KCompatibilityAnnotation.cs
- RefreshPropertiesAttribute.cs
- TreeWalker.cs
- PartitionerStatic.cs
- ProjectionPlanCompiler.cs
- QilFactory.cs
- UserControl.cs
- BigInt.cs
- ControlUtil.cs
- MultiAsyncResult.cs
- UmAlQuraCalendar.cs
- BamlTreeUpdater.cs
- VisualStateChangedEventArgs.cs
- SourceElementsCollection.cs
- BuilderInfo.cs
- MetaChildrenColumn.cs
- ColumnWidthChangedEvent.cs
- XamlReaderConstants.cs
- LabelDesigner.cs
- OptimizerPatterns.cs
- HttpConfigurationSystem.cs
- UnitySerializationHolder.cs
- DispatcherProcessingDisabled.cs
- XamlReaderHelper.cs
- DebugView.cs
- HttpResponseBase.cs
- DBConcurrencyException.cs
- EntitySqlQueryBuilder.cs
- UniqueTransportManagerRegistration.cs
- ConfigurationProperty.cs
- HandlerBase.cs
- ProfileGroupSettings.cs
- XmlUrlResolver.cs
- CmsInterop.cs
- EncoderParameters.cs
- QilInvoke.cs
- SafeRightsManagementQueryHandle.cs
- UIPropertyMetadata.cs
- TypeViewSchema.cs
- XmlFormatMapping.cs
- SortQuery.cs
- StringSource.cs
- QilExpression.cs
- DataServiceResponse.cs