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
- XmlSchemaProviderAttribute.cs
- DataChangedEventManager.cs
- InfiniteIntConverter.cs
- Application.cs
- OracleLob.cs
- TextParaLineResult.cs
- AssemblyCacheEntry.cs
- InProcStateClientManager.cs
- UnionExpr.cs
- SerializationAttributes.cs
- CustomErrorsSectionWrapper.cs
- AspNetRouteServiceHttpHandler.cs
- CngProperty.cs
- GeneratedView.cs
- ComPlusAuthorization.cs
- CodeDelegateCreateExpression.cs
- EnumBuilder.cs
- CheckedListBox.cs
- StrokeCollection2.cs
- ReadOnlyHierarchicalDataSource.cs
- Range.cs
- BinaryFormatterWriter.cs
- SQLInt32Storage.cs
- DataReceivedEventArgs.cs
- RequiredFieldValidator.cs
- PrefixQName.cs
- CellIdBoolean.cs
- FlowLayout.cs
- MessageBox.cs
- XmlSiteMapProvider.cs
- DataControlCommands.cs
- VoiceObjectToken.cs
- WebPartRestoreVerb.cs
- XPathNodePointer.cs
- DecryptRequest.cs
- EncoderBestFitFallback.cs
- DbProviderFactory.cs
- PolicyUnit.cs
- Serializer.cs
- ToolStripStatusLabel.cs
- httpstaticobjectscollection.cs
- CompositeFontInfo.cs
- PopupRootAutomationPeer.cs
- HtmlEmptyTagControlBuilder.cs
- XPathNode.cs
- WindowsImpersonationContext.cs
- GroupStyle.cs
- ProtectedConfigurationSection.cs
- RSAOAEPKeyExchangeFormatter.cs
- UIElementPropertyUndoUnit.cs
- RouteItem.cs
- FixedSOMGroup.cs
- SortDescription.cs
- ImplicitInputBrush.cs
- SmtpAuthenticationManager.cs
- LicenseContext.cs
- RectangleGeometry.cs
- Camera.cs
- ModelTreeEnumerator.cs
- OleDbException.cs
- SerializationUtilities.cs
- StatusBar.cs
- Int16Storage.cs
- DetailsViewRowCollection.cs
- UnsafeNativeMethods.cs
- MexNamedPipeBindingElement.cs
- WsatServiceCertificate.cs
- TextSchema.cs
- CfgArc.cs
- InvalidAsynchronousStateException.cs
- XmlCharCheckingWriter.cs
- WebPartConnection.cs
- ListQueryResults.cs
- ReadOnlyHierarchicalDataSourceView.cs
- LongSumAggregationOperator.cs
- DataGridViewCellLinkedList.cs
- FileSystemInfo.cs
- _TLSstream.cs
- NetCodeGroup.cs
- Module.cs
- ReadContentAsBinaryHelper.cs
- ThumbButtonInfoCollection.cs
- httpapplicationstate.cs
- GlobalEventManager.cs
- Journal.cs
- CodeMemberMethod.cs
- ErrorTolerantObjectWriter.cs
- FontCacheLogic.cs
- View.cs
- WindowsEditBox.cs
- AttachedPropertyDescriptor.cs
- BitmapCacheBrush.cs
- AuthorizationRule.cs
- DataTransferEventArgs.cs
- UserValidatedEventArgs.cs
- GridViewRowPresenter.cs
- SelectManyQueryOperator.cs
- StrongNameIdentityPermission.cs
- ApplicationContext.cs
- WebControlAdapter.cs