Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- UnsafeNetInfoNativeMethods.cs
- RadioButtonDesigner.cs
- PersonalizationStateQuery.cs
- SR.cs
- SplitterPanel.cs
- WorkflowMarkupSerializerMapping.cs
- SymmetricKey.cs
- ExpressionWriter.cs
- ByteStack.cs
- XmlDeclaration.cs
- EffectiveValueEntry.cs
- ToolStripSplitButton.cs
- __Filters.cs
- ElementAction.cs
- FacetDescriptionElement.cs
- InternalPermissions.cs
- AccessibleObject.cs
- NodeFunctions.cs
- UserControlBuildProvider.cs
- TextEditorSpelling.cs
- ByteStack.cs
- FontInfo.cs
- EventBuilder.cs
- LocalizationParserHooks.cs
- EmptyCollection.cs
- WebPartCollection.cs
- DbTransaction.cs
- TextShapeableCharacters.cs
- SecurityStandardsManager.cs
- ValueOfAction.cs
- InputBinder.cs
- CodeArgumentReferenceExpression.cs
- WindowsAltTab.cs
- SymbolEqualComparer.cs
- odbcmetadatafactory.cs
- LinearGradientBrush.cs
- StylusPointProperty.cs
- XmlSerializationReader.cs
- RuntimeHelpers.cs
- WebPartDisplayModeCollection.cs
- GenerateScriptTypeAttribute.cs
- ButtonBaseAutomationPeer.cs
- ReadingWritingEntityEventArgs.cs
- SiteMapNodeItemEventArgs.cs
- Triangle.cs
- TypeSource.cs
- Size.cs
- HttpVersion.cs
- IisNotInstalledException.cs
- HtmlLink.cs
- TextDecoration.cs
- ToolBarButtonClickEvent.cs
- DependencyPropertyKind.cs
- DeviceFiltersSection.cs
- XpsS0ValidatingLoader.cs
- DbParameterCollectionHelper.cs
- XmlReflectionImporter.cs
- BinHexDecoder.cs
- LocalValueEnumerator.cs
- ProxySimple.cs
- Translator.cs
- StylusDownEventArgs.cs
- FixedStringLookup.cs
- LoginView.cs
- ScriptingProfileServiceSection.cs
- DesignTimeValidationFeature.cs
- SafeEventHandle.cs
- webproxy.cs
- GenerateTemporaryTargetAssembly.cs
- Literal.cs
- SafePointer.cs
- SoapObjectInfo.cs
- FrameworkTemplate.cs
- DynamicDataRoute.cs
- GeneralTransform2DTo3DTo2D.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- GPPOINTF.cs
- MobileListItemCollection.cs
- TdsEnums.cs
- VBCodeProvider.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- VectorConverter.cs
- DetailsView.cs
- TextTreeText.cs
- RankException.cs
- PolyBezierSegment.cs
- HyperlinkAutomationPeer.cs
- Perspective.cs
- CancellableEnumerable.cs
- TableLayoutColumnStyleCollection.cs
- DynamicEntity.cs
- TextTreeRootNode.cs
- DNS.cs
- TokenizerHelper.cs
- WinFormsUtils.cs
- Completion.cs
- ContentDefinition.cs
- PropertyNames.cs
- SchemaNamespaceManager.cs
- ObjectNavigationPropertyMapping.cs