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
- ClientWindowsAuthenticationMembershipProvider.cs
- ToolStripContentPanel.cs
- ProvidePropertyAttribute.cs
- RichTextBox.cs
- _SSPISessionCache.cs
- PreviousTrackingServiceAttribute.cs
- ScrollBarRenderer.cs
- HijriCalendar.cs
- EmissiveMaterial.cs
- XmlILAnnotation.cs
- ValidatingReaderNodeData.cs
- ComponentTray.cs
- SHA1Managed.cs
- _SpnDictionary.cs
- SqlCaseSimplifier.cs
- StatusBarItemAutomationPeer.cs
- VirtualDirectoryMappingCollection.cs
- BamlWriter.cs
- UserControlBuildProvider.cs
- WbmpConverter.cs
- FixedTextSelectionProcessor.cs
- StatusBarPanel.cs
- SBCSCodePageEncoding.cs
- SubqueryRules.cs
- MeasureItemEvent.cs
- TextCompositionEventArgs.cs
- ActiveXSite.cs
- IisTraceWebEventProvider.cs
- ApplicationServiceManager.cs
- TextDecoration.cs
- ChangeTracker.cs
- MULTI_QI.cs
- DateTimeUtil.cs
- HttpWrapper.cs
- EventMappingSettingsCollection.cs
- ReflectionHelper.cs
- RelationshipEntry.cs
- XmlComment.cs
- JsonWriter.cs
- StartUpEventArgs.cs
- PersonalizableAttribute.cs
- ThreadStartException.cs
- InsufficientMemoryException.cs
- MsmqIntegrationChannelFactory.cs
- SqlDataSourceCommandEventArgs.cs
- EntityTransaction.cs
- MouseDevice.cs
- ServerIdentity.cs
- Shape.cs
- FSWPathEditor.cs
- XamlWriter.cs
- SByteStorage.cs
- TextEndOfSegment.cs
- XmlDictionaryReader.cs
- Emitter.cs
- ComNativeDescriptor.cs
- TextUtf8RawTextWriter.cs
- HtmlElementErrorEventArgs.cs
- DragDeltaEventArgs.cs
- Size.cs
- XsltOutput.cs
- LabelEditEvent.cs
- AssemblyCacheEntry.cs
- HostedHttpRequestAsyncResult.cs
- CellTreeSimplifier.cs
- MessageSecurityOverHttp.cs
- ResourceContainer.cs
- ApplicationProxyInternal.cs
- ReferencedType.cs
- PropertyGridEditorPart.cs
- DelegateCompletionCallbackWrapper.cs
- Imaging.cs
- ToolBarButtonClickEvent.cs
- codemethodreferenceexpression.cs
- SimpleWebHandlerParser.cs
- DateTimeFormatInfo.cs
- TextParaLineResult.cs
- HashStream.cs
- Line.cs
- ElementHostAutomationPeer.cs
- CacheChildrenQuery.cs
- ThreadLocal.cs
- util.cs
- XsdValidatingReader.cs
- XhtmlTextWriter.cs
- FontCollection.cs
- BorderGapMaskConverter.cs
- EntryIndex.cs
- ElementNotEnabledException.cs
- Constants.cs
- ScrollEventArgs.cs
- InvalidFilterCriteriaException.cs
- DataFormats.cs
- PathNode.cs
- ReferenceAssemblyAttribute.cs
- initElementDictionary.cs
- ToolStripGripRenderEventArgs.cs
- RegistryConfigurationProvider.cs
- AccessViolationException.cs
- HWStack.cs