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
- SystemIcmpV4Statistics.cs
- HttpHandlerAction.cs
- MemoryFailPoint.cs
- ErrorStyle.cs
- ListBase.cs
- CurrencyWrapper.cs
- InitializingNewItemEventArgs.cs
- BaseCAMarshaler.cs
- WebServiceClientProxyGenerator.cs
- LoginUtil.cs
- Point.cs
- WebPartEventArgs.cs
- PocoEntityKeyStrategy.cs
- MetadataUtil.cs
- Metafile.cs
- GenericAuthenticationEventArgs.cs
- SimpleTableProvider.cs
- CodeAccessSecurityEngine.cs
- Conditional.cs
- LinkedResourceCollection.cs
- FixedSOMElement.cs
- MeasureItemEvent.cs
- NavigationHelper.cs
- WindowsContainer.cs
- SqlBooleanizer.cs
- RecordManager.cs
- XmlSchemaNotation.cs
- ResourceExpression.cs
- FormatSettings.cs
- wgx_render.cs
- Cursor.cs
- ListenerConnectionModeReader.cs
- NamespaceInfo.cs
- ListViewGroupItemCollection.cs
- FunctionNode.cs
- LookupNode.cs
- PeerToPeerException.cs
- Application.cs
- SharedPerformanceCounter.cs
- RepeatBehaviorConverter.cs
- SatelliteContractVersionAttribute.cs
- DiagnosticsConfigurationHandler.cs
- CompiledRegexRunner.cs
- BamlLocalizableResourceKey.cs
- KnowledgeBase.cs
- SerializationEventsCache.cs
- WebServiceTypeData.cs
- XmlSerializerFormatAttribute.cs
- StructureChangedEventArgs.cs
- CrossContextChannel.cs
- BindUriHelper.cs
- Unit.cs
- ByteStreamGeometryContext.cs
- FrameworkElementFactoryMarkupObject.cs
- ControlAdapter.cs
- ProcessStartInfo.cs
- DataGridViewColumnStateChangedEventArgs.cs
- SrgsElementList.cs
- SoapIgnoreAttribute.cs
- SynchronizationValidator.cs
- DataListCommandEventArgs.cs
- ImageSource.cs
- SpeechDetectedEventArgs.cs
- TypeListConverter.cs
- RewritingValidator.cs
- XmlDataCollection.cs
- SecurityHeaderElementInferenceEngine.cs
- ToolStripDesignerAvailabilityAttribute.cs
- GenericPrincipal.cs
- isolationinterop.cs
- WindowsStatusBar.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- SQLInt16Storage.cs
- WebPartEditorCancelVerb.cs
- ParentQuery.cs
- InitializationEventAttribute.cs
- ObjectSpanRewriter.cs
- CustomWebEventKey.cs
- CacheHelper.cs
- SwitchAttribute.cs
- EdmToObjectNamespaceMap.cs
- DbConnectionPoolCounters.cs
- EventsTab.cs
- DbDataRecord.cs
- ServiceBuildProvider.cs
- DesignerDataConnection.cs
- ScrollPatternIdentifiers.cs
- SqlFactory.cs
- HyperLink.cs
- FileAuthorizationModule.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- ContextMarshalException.cs
- log.cs
- DetailsViewCommandEventArgs.cs
- TreeBuilderBamlTranslator.cs
- DataSourceViewSchemaConverter.cs
- AssemblyContextControlItem.cs
- DataGridViewCellStyleChangedEventArgs.cs
- Serializer.cs
- TemplatePropertyEntry.cs