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
- AbandonedMutexException.cs
- HttpServerVarsCollection.cs
- ThreadAbortException.cs
- DeploymentExceptionMapper.cs
- HScrollBar.cs
- ExtensionSimplifierMarkupObject.cs
- MarkupExtensionReturnTypeAttribute.cs
- GetPageCompletedEventArgs.cs
- HttpStreamMessage.cs
- ObjectDataSource.cs
- SupportsPreviewControlAttribute.cs
- InternalConfirm.cs
- HTMLTagNameToTypeMapper.cs
- BehaviorDragDropEventArgs.cs
- TypeToArgumentTypeConverter.cs
- HMACSHA512.cs
- SymmetricKeyWrap.cs
- ChangeConflicts.cs
- FormsAuthenticationCredentials.cs
- WebPartCatalogAddVerb.cs
- DataSourceHelper.cs
- QueryOutputWriter.cs
- AssemblyAssociatedContentFileAttribute.cs
- Point3DAnimationBase.cs
- PrintDialog.cs
- EditorBrowsableAttribute.cs
- listitem.cs
- CallbackValidator.cs
- CallInfo.cs
- NodeFunctions.cs
- SessionState.cs
- documentsequencetextpointer.cs
- DynamicContractTypeBuilder.cs
- SQLBinaryStorage.cs
- SafeRightsManagementHandle.cs
- ImageKeyConverter.cs
- QilIterator.cs
- SymbolEqualComparer.cs
- XsdDataContractImporter.cs
- LinkedList.cs
- MainMenu.cs
- SiteIdentityPermission.cs
- ChangePasswordDesigner.cs
- IIS7WorkerRequest.cs
- SQLGuidStorage.cs
- SqlBulkCopyColumnMappingCollection.cs
- SpellerHighlightLayer.cs
- FileFormatException.cs
- PointHitTestParameters.cs
- XmlElementAttribute.cs
- GPStream.cs
- SqlRewriteScalarSubqueries.cs
- DataPagerField.cs
- StringCollectionEditor.cs
- PeerResolverMode.cs
- BuiltInExpr.cs
- TemplateContent.cs
- BamlLocalizationDictionary.cs
- DllNotFoundException.cs
- MessagePartDescriptionCollection.cs
- ProxyWebPartConnectionCollection.cs
- FunctionNode.cs
- translator.cs
- WindowsTitleBar.cs
- FileNotFoundException.cs
- ServiceNotStartedException.cs
- WrappedReader.cs
- ImportedNamespaceContextItem.cs
- DbTransaction.cs
- Scene3D.cs
- ExtensionSimplifierMarkupObject.cs
- OperandQuery.cs
- LineSegment.cs
- StringFunctions.cs
- ButtonColumn.cs
- SerialStream.cs
- PowerModeChangedEventArgs.cs
- GridLength.cs
- SecurityResources.cs
- CustomTrackingQuery.cs
- LiteralControl.cs
- ToolStripItemImageRenderEventArgs.cs
- DeflateStream.cs
- CodeAccessSecurityEngine.cs
- documentsequencetextpointer.cs
- PriorityItem.cs
- XPathDocumentNavigator.cs
- DataListDesigner.cs
- ProgressBarHighlightConverter.cs
- FileDialog_Vista_Interop.cs
- TemplateBindingExtension.cs
- SafeArrayRankMismatchException.cs
- MLangCodePageEncoding.cs
- WorkflowInstanceContextProvider.cs
- FrugalMap.cs
- NameValueConfigurationCollection.cs
- MachinePropertyVariants.cs
- KnownTypeDataContractResolver.cs
- StylusEventArgs.cs
- querybuilder.cs