Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / SweepDirectionValidation.cs / 1305600 / SweepDirectionValidation.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see http://wiki/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
- InvalidWMPVersionException.cs
- WebPartDisplayMode.cs
- ParameterCollection.cs
- WebPartConnection.cs
- BindingValueChangedEventArgs.cs
- SemanticValue.cs
- ConstraintStruct.cs
- CanonicalFormWriter.cs
- InvalidDataContractException.cs
- TableItemPatternIdentifiers.cs
- DragStartedEventArgs.cs
- KnownBoxes.cs
- RuleCache.cs
- BitVector32.cs
- DbXmlEnabledProviderManifest.cs
- WmpBitmapDecoder.cs
- DataGridViewImageCell.cs
- SerializationObjectManager.cs
- EmptyElement.cs
- CodeDelegateCreateExpression.cs
- DataServiceProviderWrapper.cs
- CultureInfo.cs
- ResourceCategoryAttribute.cs
- ModelUIElement3D.cs
- XmlHelper.cs
- SaveCardRequest.cs
- ViewStateException.cs
- KernelTypeValidation.cs
- SpnegoTokenProvider.cs
- Function.cs
- SHA384CryptoServiceProvider.cs
- PeerNodeAddress.cs
- TreeViewEvent.cs
- PageThemeCodeDomTreeGenerator.cs
- SelectorItemAutomationPeer.cs
- GeometryModel3D.cs
- SelectionPattern.cs
- HashAlgorithm.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- FacetDescriptionElement.cs
- DesignerActionItem.cs
- CheckedListBox.cs
- CryptoStream.cs
- FtpWebResponse.cs
- OdbcFactory.cs
- Matrix.cs
- XamlSerializationHelper.cs
- StreamUpgradeProvider.cs
- ByteStack.cs
- DataGridViewButtonColumn.cs
- ByteStreamBufferedMessageData.cs
- RelationshipNavigation.cs
- HtmlTableRow.cs
- XmlSchemaType.cs
- PrePostDescendentsWalker.cs
- HtmlForm.cs
- RTLAwareMessageBox.cs
- FunctionDefinition.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- ImageBrush.cs
- SimpleTextLine.cs
- List.cs
- TableLayoutPanelCellPosition.cs
- MessageDesigner.cs
- ImageListImage.cs
- ReadOnlyObservableCollection.cs
- BindingBase.cs
- FormsIdentity.cs
- EDesignUtil.cs
- MailMessage.cs
- XmlSchemaRedefine.cs
- NoPersistProperty.cs
- GroupByExpressionRewriter.cs
- SettingsAttributeDictionary.cs
- X509ChainElement.cs
- StreamWriter.cs
- StreamGeometry.cs
- unsafenativemethodstextservices.cs
- LinqDataSourceUpdateEventArgs.cs
- EncoderFallback.cs
- AppModelKnownContentFactory.cs
- ApplyImportsAction.cs
- ColorPalette.cs
- DropTarget.cs
- GlyphCollection.cs
- CqlParserHelpers.cs
- ComponentChangedEvent.cs
- SettingsContext.cs
- EventRouteFactory.cs
- CachedResourceDictionaryExtension.cs
- _emptywebproxy.cs
- DataAccessor.cs
- TrackingProfile.cs
- RootNamespaceAttribute.cs
- KeyConverter.cs
- MethodBuilderInstantiation.cs
- EmptyStringExpandableObjectConverter.cs
- IncrementalReadDecoders.cs
- PageCache.cs
- UserControl.cs