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
- WebBaseEventKeyComparer.cs
- SelectedGridItemChangedEvent.cs
- ReachDocumentReferenceSerializerAsync.cs
- DrawingBrush.cs
- XamlToRtfWriter.cs
- PermissionAttributes.cs
- ClrProviderManifest.cs
- XamlVector3DCollectionSerializer.cs
- DataGridViewCellValueEventArgs.cs
- SqlTrackingWorkflowInstance.cs
- ColumnHeader.cs
- GroupJoinQueryOperator.cs
- Rights.cs
- WebSysDisplayNameAttribute.cs
- XmlArrayItemAttributes.cs
- DrawingBrush.cs
- ProcessingInstructionAction.cs
- FrameworkTemplate.cs
- PolicyChain.cs
- GridViewUpdatedEventArgs.cs
- TextView.cs
- BinarySecretKeyIdentifierClause.cs
- SmtpDigestAuthenticationModule.cs
- TypeInitializationException.cs
- TraceFilter.cs
- SafeNativeHandle.cs
- MimeBasePart.cs
- LogArchiveSnapshot.cs
- CapabilitiesUse.cs
- UserValidatedEventArgs.cs
- codemethodreferenceexpression.cs
- PopOutPanel.cs
- TextUtf8RawTextWriter.cs
- Brush.cs
- ModifierKeysConverter.cs
- ContentValidator.cs
- EntityDataSourceContextCreatedEventArgs.cs
- SingleStorage.cs
- DateBoldEvent.cs
- FileFormatException.cs
- XmlHierarchyData.cs
- TableLayoutPanelCodeDomSerializer.cs
- RegisteredExpandoAttribute.cs
- VerificationAttribute.cs
- TrackingParameters.cs
- MemberCollection.cs
- PagePropertiesChangingEventArgs.cs
- Int64KeyFrameCollection.cs
- State.cs
- PageHandlerFactory.cs
- IPEndPointCollection.cs
- DocumentScope.cs
- FieldDescriptor.cs
- InputGestureCollection.cs
- XmlNavigatorFilter.cs
- ResXResourceWriter.cs
- LoadedEvent.cs
- XmlArrayItemAttribute.cs
- datacache.cs
- Application.cs
- OleDbErrorCollection.cs
- DbReferenceCollection.cs
- DrawingContextDrawingContextWalker.cs
- AttributeSetAction.cs
- Grant.cs
- XPathSelfQuery.cs
- BevelBitmapEffect.cs
- GlyphingCache.cs
- ZeroOpNode.cs
- DelegateHelpers.cs
- SelectionChangedEventArgs.cs
- PreProcessInputEventArgs.cs
- AsymmetricSignatureFormatter.cs
- ScaleTransform.cs
- TextDecoration.cs
- ObjectDisposedException.cs
- XPathSingletonIterator.cs
- AnimatedTypeHelpers.cs
- OraclePermissionAttribute.cs
- ContainerAction.cs
- GridViewRowCollection.cs
- EventLogConfiguration.cs
- XMLSchema.cs
- MenuAdapter.cs
- CodeCompileUnit.cs
- ApplicationActivator.cs
- TextSpanModifier.cs
- FormsAuthenticationUser.cs
- UnsafeNativeMethods.cs
- UnsafeNativeMethods.cs
- QilXmlWriter.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- DemultiplexingClientMessageFormatter.cs
- BinarySerializer.cs
- SubMenuStyle.cs
- SliderAutomationPeer.cs
- EntityDataSourceWizardForm.cs
- VectorCollection.cs
- BooleanAnimationUsingKeyFrames.cs
- TagPrefixInfo.cs