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
- HtmlElementErrorEventArgs.cs
- UpdateEventArgs.cs
- SqlBinder.cs
- SafeLibraryHandle.cs
- NavigationWindowAutomationPeer.cs
- TextCollapsingProperties.cs
- SimpleTypeResolver.cs
- newitemfactory.cs
- TraceData.cs
- VideoDrawing.cs
- RelationshipEnd.cs
- ScrollBar.cs
- TraceEventCache.cs
- ScrollEventArgs.cs
- SubpageParagraph.cs
- XmlSerializerNamespaces.cs
- MemoryStream.cs
- GeneralTransformCollection.cs
- LockedBorderGlyph.cs
- DrawingContextDrawingContextWalker.cs
- GridViewSelectEventArgs.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- SafeRegistryKey.cs
- CodeConditionStatement.cs
- RelatedPropertyManager.cs
- BlurBitmapEffect.cs
- MaterialGroup.cs
- PointCollectionValueSerializer.cs
- input.cs
- WinFormsComponentEditor.cs
- ISAPIRuntime.cs
- SafeEventLogWriteHandle.cs
- wmiutil.cs
- TypeKeyValue.cs
- ClientSettings.cs
- Int32AnimationBase.cs
- GenericArgumentsUpdater.cs
- autovalidator.cs
- HttpConfigurationSystem.cs
- TrackBar.cs
- GradientStopCollection.cs
- AbstractSvcMapFileLoader.cs
- DesignerForm.cs
- AtomPub10ServiceDocumentFormatter.cs
- FtpWebResponse.cs
- TextBoxBase.cs
- SeekStoryboard.cs
- latinshape.cs
- PrintPreviewDialog.cs
- TaiwanLunisolarCalendar.cs
- TableItemPatternIdentifiers.cs
- SmiContextFactory.cs
- Opcode.cs
- MissingSatelliteAssemblyException.cs
- JoinTreeSlot.cs
- IdentityHolder.cs
- InputLanguageSource.cs
- MetadataFile.cs
- ReflectionUtil.cs
- OracleBinary.cs
- Separator.cs
- Point3DConverter.cs
- TransportDefaults.cs
- GridViewUpdatedEventArgs.cs
- Semaphore.cs
- DependencyPropertyAttribute.cs
- BitmapSourceSafeMILHandle.cs
- XmlAttributes.cs
- XPathDocumentIterator.cs
- CreateUserErrorEventArgs.cs
- StorageModelBuildProvider.cs
- TextRangeEditTables.cs
- StatusBarItem.cs
- LinearQuaternionKeyFrame.cs
- OdbcUtils.cs
- RuleElement.cs
- TracingConnection.cs
- DiagnosticTrace.cs
- MergeLocalizationDirectives.cs
- StylusPointDescription.cs
- RegexGroupCollection.cs
- CommunicationObject.cs
- EntityDataSource.cs
- QueryAsyncResult.cs
- SHA256Cng.cs
- SafeLibraryHandle.cs
- LowerCaseStringConverter.cs
- ProgressBar.cs
- TdsParserStaticMethods.cs
- BoundColumn.cs
- Crypto.cs
- CodeChecksumPragma.cs
- AttachedPropertiesService.cs
- UpdateExpressionVisitor.cs
- DirectoryNotFoundException.cs
- SharedUtils.cs
- DataGridViewTextBoxEditingControl.cs
- DeviceContexts.cs
- NavigationPropertySingletonExpression.cs
- IPAddress.cs