Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / EdgeProfileValidation.cs / 1305600 / 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
- Identifier.cs
- X509AsymmetricSecurityKey.cs
- OdbcParameterCollection.cs
- IncrementalReadDecoders.cs
- WebPart.cs
- DataAccessException.cs
- WebPartConnectionsCloseVerb.cs
- HiddenFieldPageStatePersister.cs
- TypeContext.cs
- WebPartConnectionsConfigureVerb.cs
- PasswordTextNavigator.cs
- ISAPIWorkerRequest.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- EndEvent.cs
- RectangleF.cs
- MarkupCompilePass2.cs
- GlyphCache.cs
- ObjRef.cs
- OdbcConnectionPoolProviderInfo.cs
- SmiEventSink_Default.cs
- ItemChangedEventArgs.cs
- PhysicalAddress.cs
- dbenumerator.cs
- NullableBoolConverter.cs
- Panel.cs
- TransactionContextValidator.cs
- MimeWriter.cs
- SimpleMailWebEventProvider.cs
- DataGridViewHeaderCell.cs
- InputEventArgs.cs
- IgnoreDataMemberAttribute.cs
- MimeWriter.cs
- PageRequestManager.cs
- Axis.cs
- HttpCacheParams.cs
- XmlRawWriter.cs
- SubqueryTrackingVisitor.cs
- MenuItem.cs
- ArcSegment.cs
- VisemeEventArgs.cs
- DataGridViewCellFormattingEventArgs.cs
- XPathNodeIterator.cs
- LineGeometry.cs
- BaseDataBoundControl.cs
- X509SecurityToken.cs
- MeshGeometry3D.cs
- SevenBitStream.cs
- ResourceManagerWrapper.cs
- BCLDebug.cs
- WmiPutTraceRecord.cs
- StickyNote.cs
- TemplateControlBuildProvider.cs
- _emptywebproxy.cs
- QueryLifecycle.cs
- SQLBinary.cs
- SqlConnectionStringBuilder.cs
- TableItemPatternIdentifiers.cs
- WebHeaderCollection.cs
- SafeNativeMethods.cs
- XmlStreamNodeWriter.cs
- FindCompletedEventArgs.cs
- FastPropertyAccessor.cs
- ListDictionaryInternal.cs
- PersonalizationStateInfo.cs
- ButtonRenderer.cs
- UnaryOperationBinder.cs
- TextRangeEdit.cs
- DrawingImage.cs
- ScriptResourceMapping.cs
- sitestring.cs
- TextTreeRootTextBlock.cs
- PathGeometry.cs
- ChannelSinkStacks.cs
- MembershipSection.cs
- GestureRecognitionResult.cs
- altserialization.cs
- PictureBox.cs
- iisPickupDirectory.cs
- SiteMapDataSource.cs
- DataRecordInternal.cs
- Error.cs
- FileEnumerator.cs
- HttpContext.cs
- OLEDB_Enum.cs
- ServiceProviders.cs
- StylusShape.cs
- RijndaelManagedTransform.cs
- SrgsElementList.cs
- StateDesigner.Helpers.cs
- EntityDataSourceDataSelection.cs
- RNGCryptoServiceProvider.cs
- MappingItemCollection.cs
- MessageContractImporter.cs
- CodeTypeDeclarationCollection.cs
- CollectionViewGroupRoot.cs
- XamlVector3DCollectionSerializer.cs
- Helpers.cs
- UpdatePanel.cs
- MenuItem.cs
- TypedRowGenerator.cs