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
- EnumMember.cs
- PingOptions.cs
- BorderGapMaskConverter.cs
- UserControlDesigner.cs
- PassportAuthenticationModule.cs
- HtmlShimManager.cs
- OleDbConnectionFactory.cs
- LinqToSqlWrapper.cs
- ScalarConstant.cs
- ScrollEvent.cs
- DesignTable.cs
- Point3DIndependentAnimationStorage.cs
- SolidBrush.cs
- ListItem.cs
- OutputCacheSection.cs
- ToolStripPanelCell.cs
- SelectorItemAutomationPeer.cs
- __Error.cs
- ValidationHelper.cs
- PageAsyncTaskManager.cs
- ControlUtil.cs
- PointIndependentAnimationStorage.cs
- PanelStyle.cs
- SessionPageStateSection.cs
- DetailsViewAutoFormat.cs
- TimeSpanConverter.cs
- DSASignatureFormatter.cs
- NativeMethods.cs
- PermissionListSet.cs
- NativeMethods.cs
- Filter.cs
- ObjectCloneHelper.cs
- COM2ColorConverter.cs
- DataSourceControlBuilder.cs
- OracleLob.cs
- ToolStripContainerActionList.cs
- FilterableAttribute.cs
- RectangleConverter.cs
- WsdlExporter.cs
- CoreSwitches.cs
- CommandPlan.cs
- AuthenticationSection.cs
- ConfigXmlText.cs
- WindowsComboBox.cs
- Line.cs
- EmptyStringExpandableObjectConverter.cs
- MobilePage.cs
- TaskCanceledException.cs
- ArrangedElement.cs
- WSDualHttpSecurityMode.cs
- QilPatternVisitor.cs
- EventData.cs
- DropDownButton.cs
- DrawingGroupDrawingContext.cs
- AudioException.cs
- FixedTextBuilder.cs
- ByteStack.cs
- Viewport2DVisual3D.cs
- WebPartZoneCollection.cs
- TableItemStyle.cs
- EntitySetBase.cs
- JulianCalendar.cs
- DefaultMergeHelper.cs
- SmiXetterAccessMap.cs
- Button.cs
- ButtonBase.cs
- TypeElement.cs
- TextElementAutomationPeer.cs
- DetailsViewInsertedEventArgs.cs
- GuidConverter.cs
- BinaryUtilClasses.cs
- IList.cs
- ModelProperty.cs
- Int32CollectionValueSerializer.cs
- StreamingContext.cs
- ObjectDataSourceDisposingEventArgs.cs
- TemplateApplicationHelper.cs
- XmlSchemaSequence.cs
- SafeBitVector32.cs
- AuthenticationException.cs
- _HeaderInfoTable.cs
- ListControlDataBindingHandler.cs
- _NestedSingleAsyncResult.cs
- NonNullItemCollection.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- PassportIdentity.cs
- PerformanceCounterCategory.cs
- ExpandCollapseProviderWrapper.cs
- EventPropertyMap.cs
- Transform3DCollection.cs
- ToolTipAutomationPeer.cs
- WorkflowOperationAsyncResult.cs
- CodeFieldReferenceExpression.cs
- AutomationEvent.cs
- QualifierSet.cs
- JournalNavigationScope.cs
- DashStyles.cs
- InputEventArgs.cs
- IsolatedStorageFile.cs
- AsyncOperation.cs