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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AssemblyBuilderData.cs
- CellQuery.cs
- DataSourceView.cs
- ModuleBuilder.cs
- OverrideMode.cs
- ProcessThread.cs
- FormatConvertedBitmap.cs
- EndPoint.cs
- DESCryptoServiceProvider.cs
- PenThreadWorker.cs
- LightweightCodeGenerator.cs
- DataGridViewComboBoxColumnDesigner.cs
- DictionaryBase.cs
- Constants.cs
- TypeResolvingOptionsAttribute.cs
- BinaryFormatter.cs
- XmlValueConverter.cs
- TextServicesContext.cs
- FunctionNode.cs
- SqlCommandAsyncResult.cs
- OrderByQueryOptionExpression.cs
- DefaultTypeArgumentAttribute.cs
- WebServiceTypeData.cs
- XmlWriter.cs
- TableRow.cs
- WebDisplayNameAttribute.cs
- NamespaceCollection.cs
- StringBuilder.cs
- ManagedWndProcTracker.cs
- OrthographicCamera.cs
- DataContractSerializerOperationFormatter.cs
- HwndProxyElementProvider.cs
- OracleCommand.cs
- CacheChildrenQuery.cs
- XPathEmptyIterator.cs
- XsltLibrary.cs
- Span.cs
- ProfileService.cs
- embossbitmapeffect.cs
- InvokeHandlers.cs
- DateTimeOffsetAdapter.cs
- ConnectionConsumerAttribute.cs
- MobileControlPersister.cs
- CheckoutException.cs
- ListContractAdapter.cs
- SqlBuilder.cs
- ResolveResponseInfo.cs
- ConfigXmlText.cs
- DelimitedListTraceListener.cs
- CompilationUtil.cs
- InfoCardAsymmetricCrypto.cs
- FragmentQueryProcessor.cs
- SqlTypesSchemaImporter.cs
- HighlightVisual.cs
- BrowserCapabilitiesCodeGenerator.cs
- DrawingImage.cs
- ConfigurationCollectionAttribute.cs
- FontFamilyConverter.cs
- CallbackException.cs
- Metafile.cs
- MouseActionValueSerializer.cs
- DragEvent.cs
- ServicePoint.cs
- NativeMethods.cs
- ErrorLog.cs
- RequestCachePolicy.cs
- BrowserDefinition.cs
- DelayedRegex.cs
- AudioException.cs
- OutputBuffer.cs
- PrintingPermissionAttribute.cs
- Highlights.cs
- parserscommon.cs
- OdbcUtils.cs
- FocusWithinProperty.cs
- NamedPipeHostedTransportConfiguration.cs
- ChangePassword.cs
- FixedSOMElement.cs
- Knowncolors.cs
- DataColumnPropertyDescriptor.cs
- DataGridTextBoxColumn.cs
- odbcmetadatacolumnnames.cs
- cookie.cs
- ColorTransform.cs
- FilterUserControlBase.cs
- TypeBuilderInstantiation.cs
- BeginStoryboard.cs
- TdsValueSetter.cs
- XmlKeywords.cs
- CodeCommentStatement.cs
- UnsettableComboBox.cs
- OutputCacheSettings.cs
- PerformanceCounterPermissionEntry.cs
- UIElementPropertyUndoUnit.cs
- SqlParameterCollection.cs
- WebConfigurationManager.cs
- ServiceDesigner.cs
- ConfigurationManager.cs
- BuildProvider.cs
- CompressionTransform.cs