Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / RotationValidation.cs / 1305600 / RotationValidation.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see http://wiki/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
- UriSection.cs
- Substitution.cs
- PersonalizationProviderHelper.cs
- Selection.cs
- ConfigXmlSignificantWhitespace.cs
- ObjectQueryState.cs
- MenuBase.cs
- FlowLayoutSettings.cs
- TagMapCollection.cs
- PropVariant.cs
- FacetValueContainer.cs
- SiteMapHierarchicalDataSourceView.cs
- HttpFormatExtensions.cs
- AccessorTable.cs
- SoapExtensionTypeElement.cs
- MessageRpc.cs
- TabControlToolboxItem.cs
- SerializationBinder.cs
- UnionCodeGroup.cs
- PostBackTrigger.cs
- AutomationProperty.cs
- AppSettingsSection.cs
- SoapIncludeAttribute.cs
- ElementHost.cs
- EventInfo.cs
- Line.cs
- _FtpControlStream.cs
- ToolStripSeparator.cs
- PackagePartCollection.cs
- Point4DValueSerializer.cs
- BoolLiteral.cs
- ModelFactory.cs
- DistributedTransactionPermission.cs
- BrowserCapabilitiesFactory.cs
- SiteMapHierarchicalDataSourceView.cs
- UnmanagedHandle.cs
- ParserContext.cs
- ParameterCollectionEditorForm.cs
- WindowsScrollBar.cs
- TextEffectResolver.cs
- EnumBuilder.cs
- Delay.cs
- PermissionListSet.cs
- ListBindingConverter.cs
- HuffModule.cs
- ProfileService.cs
- UIElement.cs
- TextEncodedRawTextWriter.cs
- DocumentManager.cs
- ItemCheckEvent.cs
- VisualStyleInformation.cs
- FontWeights.cs
- ArgumentValidation.cs
- TrackBarRenderer.cs
- DatagridviewDisplayedBandsData.cs
- HijriCalendar.cs
- Receive.cs
- XmlNodeReader.cs
- TimelineClockCollection.cs
- AuthorizationContext.cs
- SQLBoolean.cs
- AsyncResult.cs
- WindowsListView.cs
- HebrewCalendar.cs
- QuaternionAnimation.cs
- MulticastDelegate.cs
- MediaSystem.cs
- Decimal.cs
- IntPtr.cs
- RecognizerBase.cs
- CTreeGenerator.cs
- DataTransferEventArgs.cs
- DocumentManager.cs
- SequentialOutput.cs
- RayMeshGeometry3DHitTestResult.cs
- ParallelActivityDesigner.cs
- SqlUnionizer.cs
- ProviderIncompatibleException.cs
- LogEntryHeaderSerializer.cs
- DBSqlParserColumn.cs
- HttpValueCollection.cs
- GeometryCollection.cs
- XmlUTF8TextReader.cs
- DataRecord.cs
- BitmapEffectDrawing.cs
- SafeHandles.cs
- NativeMethods.cs
- HtmlInputRadioButton.cs
- ListBoxItem.cs
- XmlSchemaParticle.cs
- DataSourceSelectArguments.cs
- HttpModulesSection.cs
- RSAPKCS1SignatureDeformatter.cs
- SqlDataSourceStatusEventArgs.cs
- PrivilegedConfigurationManager.cs
- ConstNode.cs
- RegisterInfo.cs
- hresults.cs
- DataTableReaderListener.cs
- RoutedPropertyChangedEventArgs.cs