Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / SweepDirectionValidation.cs / 1 / SweepDirectionValidation.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 { 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
- SynchronizedInputHelper.cs
- HttpContextBase.cs
- PopupRootAutomationPeer.cs
- QueryResponse.cs
- VisualStyleRenderer.cs
- ICspAsymmetricAlgorithm.cs
- OuterGlowBitmapEffect.cs
- RevocationPoint.cs
- TransformerInfo.cs
- SafeLibraryHandle.cs
- UriSection.cs
- Validator.cs
- ExistsInCollection.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- WCFBuildProvider.cs
- XmlNavigatorStack.cs
- FormViewPageEventArgs.cs
- BaseTemplateCodeDomTreeGenerator.cs
- DelegatedStream.cs
- EntityDesignerBuildProvider.cs
- CodeTypeMemberCollection.cs
- RegexTree.cs
- NavigationPropertyEmitter.cs
- LinkUtilities.cs
- RuntimeConfigLKG.cs
- CommandHelpers.cs
- FormsAuthenticationUserCollection.cs
- XmlSchemaAttribute.cs
- FrameworkTextComposition.cs
- XmlCDATASection.cs
- ExcludeFromCodeCoverageAttribute.cs
- BamlBinaryReader.cs
- WebPartChrome.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- FontWeight.cs
- SlotInfo.cs
- PropertyTabAttribute.cs
- Decorator.cs
- UnmanagedHandle.cs
- RouteParametersHelper.cs
- DoneReceivingAsyncResult.cs
- ViewBase.cs
- NativeMethods.cs
- ProfileService.cs
- _NegoState.cs
- WebFormDesignerActionService.cs
- NullExtension.cs
- Expressions.cs
- MobileListItem.cs
- MetaTable.cs
- TextureBrush.cs
- QueueProcessor.cs
- LinqDataSource.cs
- RowBinding.cs
- XamlSerializationHelper.cs
- CodeStatementCollection.cs
- DateTimeSerializationSection.cs
- WindowsIdentity.cs
- messageonlyhwndwrapper.cs
- StatusBar.cs
- StatusBar.cs
- ObjectDataProvider.cs
- ServiceObjectContainer.cs
- WebControlAdapter.cs
- TableDetailsCollection.cs
- CommonGetThemePartSize.cs
- WriteLine.cs
- HyperLinkColumn.cs
- Converter.cs
- RelationshipEndMember.cs
- BitmapImage.cs
- Point3DCollectionConverter.cs
- ListItemCollection.cs
- SqlExpander.cs
- OleDbError.cs
- MarkupProperty.cs
- LinearGradientBrush.cs
- RadioButtonList.cs
- ArrayExtension.cs
- MeshGeometry3D.cs
- WebPartsPersonalizationAuthorization.cs
- DBCSCodePageEncoding.cs
- ApplicationServicesHostFactory.cs
- StylusPoint.cs
- ComboBoxAutomationPeer.cs
- CachedBitmap.cs
- SqlError.cs
- assertwrapper.cs
- _BufferOffsetSize.cs
- ConfigXmlSignificantWhitespace.cs
- TcpServerChannel.cs
- TextRangeEditTables.cs
- QueueAccessMode.cs
- ParallelActivityDesigner.cs
- SplayTreeNode.cs
- RootNamespaceAttribute.cs
- BrowserCapabilitiesFactory.cs
- RelationshipEntry.cs
- XslException.cs
- ContainerAction.cs