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
- ValueQuery.cs
- EventDescriptor.cs
- TableCell.cs
- ToolZone.cs
- HttpCapabilitiesSectionHandler.cs
- SymmetricAlgorithm.cs
- DeviceContext.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- Brush.cs
- RuleSettings.cs
- Oid.cs
- SymLanguageType.cs
- BooleanStorage.cs
- BuildResultCache.cs
- VectorCollectionConverter.cs
- MiniMapControl.xaml.cs
- UnaryExpression.cs
- ImageCollectionCodeDomSerializer.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- SqlConnectionManager.cs
- ExecutedRoutedEventArgs.cs
- ContentPresenter.cs
- XhtmlBasicPanelAdapter.cs
- remotingproxy.cs
- PermissionSet.cs
- RectangleGeometry.cs
- AdornedElementPlaceholder.cs
- DataGridCaption.cs
- BindingSource.cs
- PageFunction.cs
- ObjectSecurity.cs
- MetadataPropertyvalue.cs
- EncoderParameter.cs
- Point3DConverter.cs
- QuaternionAnimationBase.cs
- DynamicRendererThreadManager.cs
- __Error.cs
- RtfControls.cs
- HTMLTextWriter.cs
- MessageDecoder.cs
- BindingContext.cs
- PeerToPeerException.cs
- StatusBarDrawItemEvent.cs
- SelectedCellsChangedEventArgs.cs
- LogExtentCollection.cs
- QueryParameter.cs
- TimerEventSubscriptionCollection.cs
- LinkedResource.cs
- HitTestWithPointDrawingContextWalker.cs
- WpfKnownMemberInvoker.cs
- UnhandledExceptionEventArgs.cs
- AssociationTypeEmitter.cs
- XmlWriterTraceListener.cs
- RelatedImageListAttribute.cs
- TemplateInstanceAttribute.cs
- Size.cs
- DataGridViewCellLinkedList.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- mongolianshape.cs
- xmlfixedPageInfo.cs
- CommandHelpers.cs
- PageAsyncTask.cs
- AssemblyFilter.cs
- WSHttpBindingCollectionElement.cs
- MetadataSource.cs
- TransactionProtocolConverter.cs
- Visual3D.cs
- CDSCollectionETWBCLProvider.cs
- ContentPlaceHolder.cs
- NavigationFailedEventArgs.cs
- StyleSelector.cs
- HandleExceptionArgs.cs
- XmlBaseReader.cs
- TargetConverter.cs
- BlockCollection.cs
- mongolianshape.cs
- MetafileHeader.cs
- SubpageParaClient.cs
- AutomationPattern.cs
- AnnotationDocumentPaginator.cs
- _CookieModule.cs
- SID.cs
- Privilege.cs
- UInt16Converter.cs
- XmlSchemaSimpleType.cs
- DriveInfo.cs
- View.cs
- XPathParser.cs
- DragDeltaEventArgs.cs
- TextEditor.cs
- DebugView.cs
- Attachment.cs
- VectorCollectionConverter.cs
- ConfigurationFileMap.cs
- BeginEvent.cs
- RSACryptoServiceProvider.cs
- XmlUtf8RawTextWriter.cs
- TimeSpanValidatorAttribute.cs
- SettingsPropertyValue.cs
- IIS7UserPrincipal.cs