Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / SweepDirectionValidation.cs / 1305600 / SweepDirectionValidation.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 { 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 IsSweepDirectionValid(object valueObject) { SweepDirection value = (SweepDirection) valueObject; return (value == SweepDirection.Counterclockwise) || (value == SweepDirection.Clockwise); } } } // 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
- DragDeltaEventArgs.cs
- DocumentAutomationPeer.cs
- CacheSection.cs
- ETagAttribute.cs
- ResourceAssociationSetEnd.cs
- TreeNodeStyleCollection.cs
- TransformCollection.cs
- ServiceNameElement.cs
- _ShellExpression.cs
- PageSettings.cs
- AssemblyResourceLoader.cs
- MsmqProcessProtocolHandler.cs
- InputLangChangeRequestEvent.cs
- SourceSwitch.cs
- Listbox.cs
- DataGridItemEventArgs.cs
- KnownBoxes.cs
- Geometry3D.cs
- LicenseProviderAttribute.cs
- BooleanFacetDescriptionElement.cs
- XPathCompileException.cs
- BindingMemberInfo.cs
- Rect3D.cs
- LoginDesignerUtil.cs
- CardSpaceSelector.cs
- ZipIOBlockManager.cs
- LinkedList.cs
- ListView.cs
- GeometryHitTestResult.cs
- DefaultTypeArgumentAttribute.cs
- TextServicesDisplayAttribute.cs
- SqlXml.cs
- NegotiateStream.cs
- DragDrop.cs
- QilScopedVisitor.cs
- CompositeActivityTypeDescriptorProvider.cs
- FigureParagraph.cs
- IsolatedStoragePermission.cs
- LocalizationParserHooks.cs
- WebPartConnectionsCancelEventArgs.cs
- BufferedWebEventProvider.cs
- Set.cs
- UnhandledExceptionEventArgs.cs
- ArcSegment.cs
- Win32SafeHandles.cs
- RequiredFieldValidator.cs
- HtmlShim.cs
- SystemWebExtensionsSectionGroup.cs
- TimeStampChecker.cs
- PlainXmlSerializer.cs
- Boolean.cs
- Matrix.cs
- ParserContext.cs
- IriParsingElement.cs
- GACIdentityPermission.cs
- SecurityKeyType.cs
- CompositeCollection.cs
- ConfigurationPropertyCollection.cs
- _CacheStreams.cs
- TransformerConfigurationWizardBase.cs
- Version.cs
- SafeSecurityHelper.cs
- DataServiceException.cs
- MethodRental.cs
- RSAPKCS1SignatureDeformatter.cs
- FileVersionInfo.cs
- FileDetails.cs
- StringKeyFrameCollection.cs
- DataGridViewCellEventArgs.cs
- NameTable.cs
- AspNetSynchronizationContext.cs
- UInt16Storage.cs
- HandledEventArgs.cs
- HtmlLink.cs
- ValueCollectionParameterReader.cs
- GC.cs
- CompressedStack.cs
- DataGridViewCellStyle.cs
- ServiceKnownTypeAttribute.cs
- HttpHandler.cs
- CompileXomlTask.cs
- CodeNamespaceImportCollection.cs
- FormsIdentity.cs
- SmtpFailedRecipientException.cs
- LineGeometry.cs
- SqlNotificationRequest.cs
- LocalizedNameDescriptionPair.cs
- FontStretch.cs
- ImageClickEventArgs.cs
- TypeDependencyAttribute.cs
- InfoCardBaseException.cs
- GenericRootAutomationPeer.cs
- ElementProxy.cs
- CodeExporter.cs
- SerializationStore.cs
- SQlBooleanStorage.cs
- WebPartConnectionsCancelVerb.cs
- RPIdentityRequirement.cs
- UnsafeNativeMethods.cs
- Errors.cs