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
- RecipientServiceModelSecurityTokenRequirement.cs
- ControlTemplate.cs
- StructuredProperty.cs
- CheckedListBox.cs
- Journaling.cs
- AtomEntry.cs
- SqlClientFactory.cs
- AttachedAnnotationChangedEventArgs.cs
- TypeUtils.cs
- BrowserCapabilitiesFactory35.cs
- pingexception.cs
- EncryptedPackage.cs
- HotCommands.cs
- SrgsSubset.cs
- XmlNamespaceManager.cs
- SequentialOutput.cs
- EntityCommandDefinition.cs
- HMACSHA384.cs
- MD5CryptoServiceProvider.cs
- IgnoreSectionHandler.cs
- DataGridViewCheckBoxCell.cs
- CompilerTypeWithParams.cs
- DataReceivedEventArgs.cs
- Comparer.cs
- DataKey.cs
- DataSysAttribute.cs
- PlainXmlWriter.cs
- CertificateElement.cs
- WebServiceReceive.cs
- RelationshipManager.cs
- StubHelpers.cs
- SR.cs
- XmlWhitespace.cs
- httpstaticobjectscollection.cs
- TextTreeExtractElementUndoUnit.cs
- WebSysDefaultValueAttribute.cs
- CollectionViewGroup.cs
- Menu.cs
- ListViewItemEventArgs.cs
- UTF7Encoding.cs
- CacheManager.cs
- XsltContext.cs
- StackBuilderSink.cs
- SequenceQuery.cs
- ConsoleTraceListener.cs
- ListComponentEditorPage.cs
- DefaultTraceListener.cs
- TextEditorMouse.cs
- Brush.cs
- SelectedDatesCollection.cs
- TypeConstant.cs
- HtmlElementErrorEventArgs.cs
- ViewCellSlot.cs
- SiteMapProvider.cs
- StyleReferenceConverter.cs
- KeyboardEventArgs.cs
- InheritedPropertyDescriptor.cs
- HtmlFormParameterReader.cs
- FullTextState.cs
- MemberMemberBinding.cs
- DateTimeParse.cs
- Utils.cs
- LinkLabel.cs
- BrowserCapabilitiesFactoryBase.cs
- Duration.cs
- ImageMetadata.cs
- EnvelopeVersion.cs
- AccessDataSourceView.cs
- LinkUtilities.cs
- HttpResponseHeader.cs
- SkipStoryboardToFill.cs
- DataObjectSettingDataEventArgs.cs
- _NtlmClient.cs
- System.Data_BID.cs
- Page.cs
- WebPartTransformerAttribute.cs
- UIElement3DAutomationPeer.cs
- ColumnMapProcessor.cs
- HTTPNotFoundHandler.cs
- SortExpressionBuilder.cs
- Control.cs
- RunClient.cs
- CompatibleComparer.cs
- DbConnectionHelper.cs
- TableLayoutPanelCellPosition.cs
- IPEndPointCollection.cs
- VectorCollectionConverter.cs
- PassportAuthenticationEventArgs.cs
- IndicShape.cs
- CreateWorkflowOwnerCommand.cs
- UnmanagedMarshal.cs
- TickBar.cs
- XmlSchemaSimpleType.cs
- UpdatePanelControlTrigger.cs
- Cursor.cs
- WorkflowInstanceProxy.cs
- XamlPoint3DCollectionSerializer.cs
- SignedInfo.cs
- StickyNoteAnnotations.cs
- MimeWriter.cs