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
- DependencyPropertyKind.cs
- Int16AnimationUsingKeyFrames.cs
- OptimizerPatterns.cs
- DBConnectionString.cs
- CurrentChangingEventArgs.cs
- Geometry.cs
- WizardDesigner.cs
- _CookieModule.cs
- Control.cs
- Point3DValueSerializer.cs
- NameTable.cs
- basecomparevalidator.cs
- ExpressionPrinter.cs
- Substitution.cs
- Keywords.cs
- CookieParameter.cs
- DependencyPropertyKind.cs
- ScriptControlDescriptor.cs
- storagemappingitemcollection.viewdictionary.cs
- DataGridViewColumn.cs
- DoubleAnimationUsingKeyFrames.cs
- StorageAssociationTypeMapping.cs
- HostingEnvironmentSection.cs
- DesignerExtenders.cs
- TargetException.cs
- ComponentChangedEvent.cs
- ChangeInterceptorAttribute.cs
- cache.cs
- DrawListViewSubItemEventArgs.cs
- InvalidateEvent.cs
- ConnectorDragDropGlyph.cs
- HtmlContainerControl.cs
- Scripts.cs
- OperatingSystem.cs
- SqlUtils.cs
- PreProcessor.cs
- EnumBuilder.cs
- QilInvoke.cs
- CommonEndpointBehaviorElement.cs
- ToolStripGripRenderEventArgs.cs
- ChtmlCommandAdapter.cs
- AstTree.cs
- DoubleCollection.cs
- XamlGridLengthSerializer.cs
- StoreAnnotationsMap.cs
- IndicCharClassifier.cs
- ProtectedConfigurationSection.cs
- ExpressionConverter.cs
- LineSegment.cs
- StructuredTypeEmitter.cs
- SubMenuStyleCollection.cs
- VectorCollection.cs
- basecomparevalidator.cs
- TextureBrush.cs
- EntityCommandCompilationException.cs
- DataServiceCollectionOfT.cs
- DbBuffer.cs
- UmAlQuraCalendar.cs
- IdentitySection.cs
- SyndicationDeserializer.cs
- Size.cs
- UnsafeNativeMethods.cs
- HTTPNotFoundHandler.cs
- ConnectionsZone.cs
- ImageIndexConverter.cs
- ReferencedType.cs
- DataServiceRequestException.cs
- XmlBinaryReader.cs
- Privilege.cs
- BridgeDataReader.cs
- AmbiguousMatchException.cs
- TemplateKeyConverter.cs
- DataGridViewSelectedCellCollection.cs
- CustomWebEventKey.cs
- HttpProfileBase.cs
- StyleModeStack.cs
- DispatcherHookEventArgs.cs
- TargetControlTypeCache.cs
- ViewGenResults.cs
- DesignerDataRelationship.cs
- WebControl.cs
- VScrollProperties.cs
- StrokeRenderer.cs
- BrowserCapabilitiesFactoryBase.cs
- HttpValueCollection.cs
- EventArgs.cs
- RadioButton.cs
- LogicalExpr.cs
- TargetException.cs
- MetaColumn.cs
- Addressing.cs
- SystemThemeKey.cs
- CustomSignedXml.cs
- XmlEntity.cs
- Serializer.cs
- HttpModulesSection.cs
- HttpAsyncResult.cs
- DataProviderNameConverter.cs
- TaskResultSetter.cs
- XamlNamespaceHelper.cs