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
- GridViewCancelEditEventArgs.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- ObjectDataSourceStatusEventArgs.cs
- OdbcDataReader.cs
- DbConnectionPoolIdentity.cs
- TokenizerHelper.cs
- ToolTipAutomationPeer.cs
- CookieParameter.cs
- SendKeys.cs
- DataControlField.cs
- StringComparer.cs
- MetabaseServerConfig.cs
- OLEDB_Enum.cs
- ButtonChrome.cs
- shaperfactoryquerycacheentry.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- AvTraceDetails.cs
- HexParser.cs
- SymDocumentType.cs
- DefaultSection.cs
- WebException.cs
- CompilationLock.cs
- HtmlToClrEventProxy.cs
- GeneralTransformGroup.cs
- SchemaImporterExtensionElementCollection.cs
- PropertyInfoSet.cs
- ControlsConfig.cs
- PowerEase.cs
- QilLoop.cs
- RadioButton.cs
- RowTypeElement.cs
- ListViewGroupItemCollection.cs
- DoubleLink.cs
- DetailsViewActionList.cs
- CompilerGlobalScopeAttribute.cs
- XmlWrappingReader.cs
- wgx_sdk_version.cs
- HotSpotCollection.cs
- AuthorizationSection.cs
- HostingEnvironmentSection.cs
- RangeValidator.cs
- DeadCharTextComposition.cs
- CultureInfo.cs
- ContentPosition.cs
- ReadOnlyAttribute.cs
- EntityStoreSchemaFilterEntry.cs
- HandlerFactoryWrapper.cs
- DataProtection.cs
- ButtonRenderer.cs
- BindToObject.cs
- DCSafeHandle.cs
- MDIWindowDialog.cs
- PathFigure.cs
- CommandHelpers.cs
- TextSchema.cs
- WsdlInspector.cs
- JavaScriptObjectDeserializer.cs
- GridViewCommandEventArgs.cs
- SHA1CryptoServiceProvider.cs
- TrustManager.cs
- OleDbRowUpdatedEvent.cs
- PeerNeighborManager.cs
- Speller.cs
- SizeKeyFrameCollection.cs
- TranslateTransform.cs
- SQLMembershipProvider.cs
- DataSourceHelper.cs
- ContextMenuAutomationPeer.cs
- LocalizableResourceBuilder.cs
- SchemaElementDecl.cs
- NotificationContext.cs
- XmlSchemaGroup.cs
- Utils.cs
- MergeFilterQuery.cs
- Odbc32.cs
- StringDictionaryCodeDomSerializer.cs
- AsymmetricCryptoHandle.cs
- EncodingFallbackAwareXmlTextWriter.cs
- GroupItem.cs
- ContextItem.cs
- PreservationFileReader.cs
- SamlAuthorizationDecisionClaimResource.cs
- HtmlInputSubmit.cs
- DomainUpDown.cs
- JavaScriptObjectDeserializer.cs
- LostFocusEventManager.cs
- TraceUtils.cs
- UnaryExpressionHelper.cs
- HealthMonitoringSectionHelper.cs
- Point3D.cs
- SymbolMethod.cs
- StyleModeStack.cs
- __Filters.cs
- DeflateInput.cs
- CrossAppDomainChannel.cs
- QilList.cs
- PropertyEntry.cs
- LineVisual.cs
- QueryContinueDragEventArgs.cs
- TextElementEnumerator.cs