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
- TransformerTypeCollection.cs
- DataGridRow.cs
- RadioButton.cs
- Activity.cs
- MetafileHeaderWmf.cs
- COAUTHINFO.cs
- WebPartMenu.cs
- GridItemProviderWrapper.cs
- RemotingException.cs
- ValuePatternIdentifiers.cs
- ItemsPanelTemplate.cs
- Models.cs
- TimeoutException.cs
- ContextMarshalException.cs
- LayoutTable.cs
- LinqDataSourceValidationException.cs
- DataBoundControlAdapter.cs
- TripleDES.cs
- AssertUtility.cs
- CallContext.cs
- ContextStaticAttribute.cs
- SqlInternalConnection.cs
- HScrollProperties.cs
- XPathNodePointer.cs
- OrderToken.cs
- ToolStripSystemRenderer.cs
- ContentPropertyAttribute.cs
- XmlDataSourceNodeDescriptor.cs
- TypeInitializationException.cs
- EmptyElement.cs
- Rect3D.cs
- SqlFileStream.cs
- URLBuilder.cs
- XmlnsCache.cs
- PerfService.cs
- KnownColorTable.cs
- MemberRelationshipService.cs
- FacetEnabledSchemaElement.cs
- TextRange.cs
- XsdCachingReader.cs
- ProviderCollection.cs
- AutomationPropertyInfo.cs
- AggregateNode.cs
- SinglePageViewer.cs
- TcpStreams.cs
- DirectoryObjectSecurity.cs
- SignedXml.cs
- MatchingStyle.cs
- XmlUtil.cs
- ExpressionCopier.cs
- HtmlHead.cs
- InternalRelationshipCollection.cs
- GeneralTransform2DTo3DTo2D.cs
- StylusPointCollection.cs
- SeekableReadStream.cs
- MimeBasePart.cs
- HierarchicalDataSourceControl.cs
- JsonQNameDataContract.cs
- ModuleConfigurationInfo.cs
- AssociativeAggregationOperator.cs
- UseLicense.cs
- TextSyndicationContent.cs
- BindingList.cs
- UserControlBuildProvider.cs
- TreeViewItem.cs
- Location.cs
- MostlySingletonList.cs
- FontUnitConverter.cs
- ContainerUtilities.cs
- ContextQuery.cs
- StickyNote.cs
- FileDialogCustomPlace.cs
- ScriptManagerProxy.cs
- Utils.cs
- WmlPhoneCallAdapter.cs
- SqlBuilder.cs
- TextTreeTextNode.cs
- DesignColumn.cs
- PointAnimationBase.cs
- FormViewPagerRow.cs
- DbSetClause.cs
- HttpFormatExtensions.cs
- DataObjectCopyingEventArgs.cs
- GridErrorDlg.cs
- Variable.cs
- FieldNameLookup.cs
- DecoderBestFitFallback.cs
- EntityCollection.cs
- WebPartUtil.cs
- WCFServiceClientProxyGenerator.cs
- Screen.cs
- TextLineBreak.cs
- SqlColumnizer.cs
- ViewRendering.cs
- Table.cs
- AppSettingsSection.cs
- SubstitutionList.cs
- Pts.cs
- XComponentModel.cs
- SamlAuthorityBinding.cs