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
- XPathScanner.cs
- NetCodeGroup.cs
- Token.cs
- connectionpool.cs
- FilteredAttributeCollection.cs
- TemplateColumn.cs
- MatrixTransform.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- AvTrace.cs
- TimeSpanConverter.cs
- EndOfStreamException.cs
- NavigationProgressEventArgs.cs
- Function.cs
- ServiceCredentials.cs
- DisposableCollectionWrapper.cs
- HashStream.cs
- SimpleBitVector32.cs
- XamlDesignerSerializationManager.cs
- EntryPointNotFoundException.cs
- SparseMemoryStream.cs
- ResourceType.cs
- GradientStop.cs
- ColorTranslator.cs
- EqualityComparer.cs
- DataKey.cs
- AVElementHelper.cs
- ProvideValueServiceProvider.cs
- XmlNodeChangedEventManager.cs
- RequestContext.cs
- XmlDocumentFieldSchema.cs
- Opcode.cs
- MemberAccessException.cs
- UIElement.cs
- DiscriminatorMap.cs
- EtwTrace.cs
- TaiwanLunisolarCalendar.cs
- ModelItemExtensions.cs
- OperationContext.cs
- XmlCDATASection.cs
- SlipBehavior.cs
- SourceSwitch.cs
- UnsafeNativeMethods.cs
- DataGridViewRowPrePaintEventArgs.cs
- DesignerSerializationOptionsAttribute.cs
- NavigationCommands.cs
- WorkflowServiceHostFactory.cs
- ServerValidateEventArgs.cs
- PrintPageEvent.cs
- wmiprovider.cs
- HeaderedContentControl.cs
- BulletedListDesigner.cs
- EntityAdapter.cs
- SamlNameIdentifierClaimResource.cs
- SamlEvidence.cs
- ExpressionConverter.cs
- OracleRowUpdatedEventArgs.cs
- SapiRecoInterop.cs
- CustomValidator.cs
- OdbcDataAdapter.cs
- FillBehavior.cs
- UserControl.cs
- Char.cs
- HtmlShim.cs
- SynchronizingStream.cs
- TaskExtensions.cs
- _HeaderInfo.cs
- UnknownWrapper.cs
- DataFormat.cs
- ResourceExpression.cs
- RemotingAttributes.cs
- SamlSerializer.cs
- WindowCollection.cs
- PersonalizationProviderHelper.cs
- StrongNamePublicKeyBlob.cs
- IndentedWriter.cs
- ListControlConvertEventArgs.cs
- HtmlTextArea.cs
- TableCellAutomationPeer.cs
- DataServiceConfiguration.cs
- SystemColors.cs
- SmiMetaDataProperty.cs
- SchemaNamespaceManager.cs
- HtmlTextArea.cs
- DataObjectEventArgs.cs
- NativeMethods.cs
- TypeDescriptorContext.cs
- SimpleRecyclingCache.cs
- UidManager.cs
- COM2ICategorizePropertiesHandler.cs
- IconEditor.cs
- CodeDOMUtility.cs
- LogPolicy.cs
- ForwardPositionQuery.cs
- GenericEnumerator.cs
- ClientApiGenerator.cs
- SelectionProviderWrapper.cs
- SqlCharStream.cs
- coordinator.cs
- SchemaImporterExtensionsSection.cs
- CookieParameter.cs