Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- AttachedPropertyInfo.cs
- MetadataArtifactLoaderCompositeFile.cs
- DbProviderServices.cs
- MenuItemStyle.cs
- SchemaInfo.cs
- WebConfigurationHostFileChange.cs
- DataColumnCollection.cs
- RecordsAffectedEventArgs.cs
- MultiSelectRootGridEntry.cs
- UrlMappingCollection.cs
- LinearGradientBrush.cs
- DataError.cs
- ServiceOperation.cs
- SqlNotificationRequest.cs
- DetailsViewPagerRow.cs
- EntityParameterCollection.cs
- RemotingAttributes.cs
- ControlPropertyNameConverter.cs
- WsatTransactionInfo.cs
- Timer.cs
- WSSecureConversationDec2005.cs
- GlyphInfoList.cs
- BuildManagerHost.cs
- SqlWebEventProvider.cs
- WmlTextViewAdapter.cs
- StateManagedCollection.cs
- IntegerValidator.cs
- __Error.cs
- MailBnfHelper.cs
- StrongNameMembershipCondition.cs
- BindingContext.cs
- WebEventCodes.cs
- ThreadAttributes.cs
- AttributeEmitter.cs
- JoinCqlBlock.cs
- SamlAuthorizationDecisionClaimResource.cs
- FixedSOMPage.cs
- ConnectionStringsExpressionBuilder.cs
- ScriptReferenceBase.cs
- DataGridViewRowConverter.cs
- DesignerAdapterUtil.cs
- DefaultMemberAttribute.cs
- SequenceQuery.cs
- BindingExpressionUncommonField.cs
- ConfigXmlComment.cs
- PathTooLongException.cs
- Encoder.cs
- Simplifier.cs
- ValidationHelpers.cs
- EditorPartCollection.cs
- FixedTextContainer.cs
- NullReferenceException.cs
- _Events.cs
- ArrangedElementCollection.cs
- XmlAttributeCollection.cs
- WorkflowInlining.cs
- SqlDependency.cs
- ArrayHelper.cs
- DataQuery.cs
- AdCreatedEventArgs.cs
- HitTestParameters3D.cs
- XmlByteStreamReader.cs
- Literal.cs
- StyleReferenceConverter.cs
- PtsContext.cs
- ReaderWriterLockSlim.cs
- UpdateProgress.cs
- DesignerForm.cs
- CustomError.cs
- HttpCapabilitiesBase.cs
- SQLBinaryStorage.cs
- MachineKeySection.cs
- WindowProviderWrapper.cs
- MDIClient.cs
- DynamicFilterExpression.cs
- TypeReference.cs
- DoubleIndependentAnimationStorage.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- RoleManagerModule.cs
- OrderedHashRepartitionEnumerator.cs
- InOutArgumentConverter.cs
- TriggerAction.cs
- CustomValidator.cs
- XmlAttributeAttribute.cs
- FileChangeNotifier.cs
- HtmlEmptyTagControlBuilder.cs
- TextWriter.cs
- XPathScanner.cs
- SmtpFailedRecipientException.cs
- DBConnectionString.cs
- ExtendedPropertyDescriptor.cs
- Propagator.JoinPropagator.cs
- BitStack.cs
- TypeInfo.cs
- DirectoryObjectSecurity.cs
- Expression.cs
- X509Certificate.cs
- loginstatus.cs
- XmlMessageFormatter.cs
- DataRowComparer.cs