Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Shared / MS / Internal / Generated / EdgeProfileValidation.cs / 1 / EdgeProfileValidation.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. // //--------------------------------------------------------------------------- #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.Effects { 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 IsEdgeProfileValid(object valueObject) { EdgeProfile value = (EdgeProfile) valueObject; return (value == EdgeProfile.Linear) || (value == EdgeProfile.CurvedIn) || (value == EdgeProfile.CurvedOut) || (value == EdgeProfile.BulgedUp); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// 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. // //--------------------------------------------------------------------------- #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.Effects { 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 IsEdgeProfileValid(object valueObject) { EdgeProfile value = (EdgeProfile) valueObject; return (value == EdgeProfile.Linear) || (value == EdgeProfile.CurvedIn) || (value == EdgeProfile.CurvedOut) || (value == EdgeProfile.BulgedUp); } } } // 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
- XPathItem.cs
- JsonReaderWriterFactory.cs
- MetadataArtifactLoader.cs
- ErrorHandler.cs
- CodeRemoveEventStatement.cs
- Filter.cs
- shaperfactoryquerycachekey.cs
- DbProviderManifest.cs
- WaitHandle.cs
- WebServiceHostFactory.cs
- AttachedAnnotationChangedEventArgs.cs
- CharAnimationBase.cs
- StructuredTypeEmitter.cs
- ReadOnlyActivityGlyph.cs
- odbcmetadatafactory.cs
- PropertyAccessVisitor.cs
- CustomCredentialPolicy.cs
- CodeGenerator.cs
- UrlPath.cs
- Gdiplus.cs
- PaperSize.cs
- CompositeControl.cs
- ConsoleCancelEventArgs.cs
- SessionSwitchEventArgs.cs
- Animatable.cs
- ValueConversionAttribute.cs
- WebPartHeaderCloseVerb.cs
- DragCompletedEventArgs.cs
- UTF7Encoding.cs
- CodeTypeReferenceCollection.cs
- CngAlgorithm.cs
- DecoderExceptionFallback.cs
- PublishLicense.cs
- QuaternionKeyFrameCollection.cs
- ZipArchive.cs
- MessageAction.cs
- TextFormatter.cs
- XmlDocumentFieldSchema.cs
- TextFindEngine.cs
- TextEditorDragDrop.cs
- ExceptionTrace.cs
- DataGridViewCellParsingEventArgs.cs
- StrongNameUtility.cs
- ErrorCodes.cs
- QueryExpr.cs
- FieldToken.cs
- SessionEndingCancelEventArgs.cs
- EnumerableRowCollection.cs
- TextSegment.cs
- AppearanceEditorPart.cs
- ReadOnlyCollectionBase.cs
- storepermission.cs
- FileStream.cs
- ZipQueryOperator.cs
- GACMembershipCondition.cs
- ConfigurationFileMap.cs
- HiddenField.cs
- PresentationTraceSources.cs
- DataBindingList.cs
- LogSwitch.cs
- BuildProvidersCompiler.cs
- SchemaImporterExtension.cs
- MissingSatelliteAssemblyException.cs
- PageThemeCodeDomTreeGenerator.cs
- RepeatButtonAutomationPeer.cs
- Queue.cs
- ProxyManager.cs
- EngineSiteSapi.cs
- SqlFunctionAttribute.cs
- WebPartExportVerb.cs
- FixedPage.cs
- SettingsSection.cs
- AssemblyBuilderData.cs
- WsatTransactionHeader.cs
- CharacterString.cs
- CursorConverter.cs
- KnownBoxes.cs
- MsdtcClusterUtils.cs
- SafeFileMapViewHandle.cs
- ProcessModule.cs
- DataGridPagerStyle.cs
- Rotation3D.cs
- SendingRequestEventArgs.cs
- MultiSelectRootGridEntry.cs
- Control.cs
- SoapEnvelopeProcessingElement.cs
- ListBoxItem.cs
- ExternalCalls.cs
- ColorAnimation.cs
- Publisher.cs
- DocumentApplicationJournalEntry.cs
- Enum.cs
- COAUTHINFO.cs
- DataObjectPastingEventArgs.cs
- SelectionProcessor.cs
- DrawingGroupDrawingContext.cs
- NonParentingControl.cs
- KeyValuePairs.cs
- ping.cs
- DbMetaDataColumnNames.cs