Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / RotationValidation.cs / 1 / RotationValidation.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.Imaging { 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 IsRotationValid(object valueObject) { Rotation value = (Rotation) valueObject; return (value == Rotation.Rotate0) || (value == Rotation.Rotate90) || (value == Rotation.Rotate180) || (value == Rotation.Rotate270); } } } // 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
- VisualBasicReference.cs
- XamlClipboardData.cs
- SmiTypedGetterSetter.cs
- PlatformCulture.cs
- Variable.cs
- MeasureItemEvent.cs
- LogicalExpressionTypeConverter.cs
- dbdatarecord.cs
- TimelineCollection.cs
- RangeBaseAutomationPeer.cs
- RemotingConfigParser.cs
- ProgressBarAutomationPeer.cs
- SystemWebExtensionsSectionGroup.cs
- Main.cs
- OracleParameter.cs
- ServicePointManager.cs
- CLRBindingWorker.cs
- WorkflowQueueInfo.cs
- SupportsPreviewControlAttribute.cs
- IteratorFilter.cs
- OdbcParameter.cs
- EmptyQuery.cs
- BypassElementCollection.cs
- DbDeleteCommandTree.cs
- CaseInsensitiveOrdinalStringComparer.cs
- JobPageOrder.cs
- ImmComposition.cs
- InfoCardCryptoHelper.cs
- WebPartExportVerb.cs
- JsonStringDataContract.cs
- LongCountAggregationOperator.cs
- UserMapPath.cs
- CompositionTarget.cs
- GregorianCalendarHelper.cs
- Literal.cs
- PairComparer.cs
- _CacheStreams.cs
- EdmTypeAttribute.cs
- OleDbWrapper.cs
- ComplexPropertyEntry.cs
- ContextMenuStrip.cs
- TemplateInstanceAttribute.cs
- VirtualizedItemPattern.cs
- RotateTransform3D.cs
- TextSerializer.cs
- XmlSchemaSimpleTypeRestriction.cs
- TrustManager.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- Bezier.cs
- ObjectReaderCompiler.cs
- XmlTextAttribute.cs
- NumberSubstitution.cs
- WebPartExportVerb.cs
- ServiceDescriptionReflector.cs
- CharacterMetricsDictionary.cs
- XmlFormatWriterGenerator.cs
- HMACSHA256.cs
- TableItemPatternIdentifiers.cs
- NavigationProgressEventArgs.cs
- DatatypeImplementation.cs
- IsolatedStorageFile.cs
- WebPartDescription.cs
- Drawing.cs
- CryptographicAttribute.cs
- ExpandSegmentCollection.cs
- TreeChangeInfo.cs
- IOThreadTimer.cs
- Rotation3DAnimation.cs
- StreamWriter.cs
- RelationshipEnd.cs
- PathParser.cs
- ServiceModelReg.cs
- AssemblyCacheEntry.cs
- Control.cs
- PropertyEmitter.cs
- DataGridViewColumn.cs
- LayoutUtils.cs
- SystemFonts.cs
- CompilationSection.cs
- BookmarkOptionsHelper.cs
- BinaryFormatter.cs
- ContractMapping.cs
- SortKey.cs
- FreeFormDragDropManager.cs
- MediaContextNotificationWindow.cs
- XPathPatternParser.cs
- LookupBindingPropertiesAttribute.cs
- ActiveXSite.cs
- URLMembershipCondition.cs
- LinqDataSourceUpdateEventArgs.cs
- NumberFormatInfo.cs
- ClientTarget.cs
- SqlCacheDependencySection.cs
- PostBackTrigger.cs
- ApplicationFileCodeDomTreeGenerator.cs
- SelectionItemProviderWrapper.cs
- EmptyStringExpandableObjectConverter.cs
- XmlSerializerNamespaces.cs
- Trace.cs
- ColorConverter.cs