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
- filewebrequest.cs
- DataStreamFromComStream.cs
- DataSvcMapFile.cs
- ParallelTimeline.cs
- ObjectSet.cs
- DirectoryObjectSecurity.cs
- HtmlTableCellCollection.cs
- AccessDataSource.cs
- NamespaceListProperty.cs
- Completion.cs
- StackSpiller.cs
- MethodImplAttribute.cs
- TagMapCollection.cs
- FocusManager.cs
- DataContext.cs
- Knowncolors.cs
- KeySpline.cs
- AttachedPropertyBrowsableAttribute.cs
- ProcessHostFactoryHelper.cs
- HtmlLink.cs
- EventLogQuery.cs
- QilTargetType.cs
- TCEAdapterGenerator.cs
- SystemIcons.cs
- WindowsStartMenu.cs
- ThrowHelper.cs
- XmlToDatasetMap.cs
- GiveFeedbackEvent.cs
- _NestedMultipleAsyncResult.cs
- _NegoState.cs
- DaylightTime.cs
- NetworkInformationPermission.cs
- Mapping.cs
- DataGrid.cs
- ConvertEvent.cs
- XmlElementList.cs
- SystemIPInterfaceProperties.cs
- OptimisticConcurrencyException.cs
- XmlSchemaSubstitutionGroup.cs
- WCFBuildProvider.cs
- PartialCachingControl.cs
- CodeAttributeDeclaration.cs
- DataGridItemEventArgs.cs
- SignedInfo.cs
- EditorAttribute.cs
- XmlUnspecifiedAttribute.cs
- ClaimTypes.cs
- NumericUpDownAcceleration.cs
- AnimatedTypeHelpers.cs
- SizeFConverter.cs
- AlphabeticalEnumConverter.cs
- SafeSecurityHandles.cs
- JsonReader.cs
- FileDialogCustomPlace.cs
- SelectingProviderEventArgs.cs
- Mouse.cs
- TargetConverter.cs
- SqlDataSourceStatusEventArgs.cs
- ByteConverter.cs
- AsyncOperation.cs
- UniqueIdentifierService.cs
- MouseCaptureWithinProperty.cs
- Menu.cs
- NetworkStream.cs
- CheckBoxPopupAdapter.cs
- ContentFilePart.cs
- OptionalColumn.cs
- InstrumentationTracker.cs
- DocumentPageView.cs
- GPPOINTF.cs
- OracleRowUpdatingEventArgs.cs
- RectAnimation.cs
- FormCollection.cs
- InputLanguageCollection.cs
- SpotLight.cs
- XmlSchemaDocumentation.cs
- Random.cs
- ArrayElementGridEntry.cs
- ComNativeDescriptor.cs
- XLinq.cs
- MediaElementAutomationPeer.cs
- Vector3D.cs
- basevalidator.cs
- ServiceMemoryGates.cs
- ListItemParagraph.cs
- WebPartTransformer.cs
- WebConfigurationHostFileChange.cs
- SqlUtils.cs
- NamespaceInfo.cs
- HttpApplicationStateWrapper.cs
- ConfigPathUtility.cs
- BaseCollection.cs
- Quaternion.cs
- HttpProfileBase.cs
- AffineTransform3D.cs
- Label.cs
- newinstructionaction.cs
- MetadataSource.cs
- BoundColumn.cs
- UdpContractFilterBehavior.cs