Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- TemplateControlParser.cs
- ReadOnlyAttribute.cs
- MDIWindowDialog.cs
- ReceiveMessageContent.cs
- Classification.cs
- DataControlFieldCell.cs
- DataServiceQueryProvider.cs
- FlowDocumentPaginator.cs
- CssClassPropertyAttribute.cs
- XmlBaseWriter.cs
- TemplatedWizardStep.cs
- SQLBoolean.cs
- ComponentResourceManager.cs
- DropShadowBitmapEffect.cs
- Brushes.cs
- DefaultValueTypeConverter.cs
- DefaultMemberAttribute.cs
- StructuralCache.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- FrameworkReadOnlyPropertyMetadata.cs
- AsyncOperation.cs
- WebContext.cs
- BaseUriHelper.cs
- _Rfc2616CacheValidators.cs
- DTCTransactionManager.cs
- FileUpload.cs
- CustomGrammar.cs
- _NTAuthentication.cs
- FacetEnabledSchemaElement.cs
- recordstatescratchpad.cs
- CatalogZoneDesigner.cs
- DesignerOptionService.cs
- AlternateViewCollection.cs
- NamespaceEmitter.cs
- CodeIdentifiers.cs
- RenameRuleObjectDialog.Designer.cs
- DefaultPrintController.cs
- CacheVirtualItemsEvent.cs
- SortedList.cs
- DynamicActionMessageFilter.cs
- OdbcException.cs
- CalendarDateRange.cs
- ResourceWriter.cs
- StylusPointPropertyInfo.cs
- StorageEntityTypeMapping.cs
- PasswordTextContainer.cs
- documentsequencetextview.cs
- GenericUI.cs
- ImageMetadata.cs
- BehaviorService.cs
- TreeView.cs
- HotCommands.cs
- SmiMetaDataProperty.cs
- NamespaceCollection.cs
- FormatterConverter.cs
- ResXResourceWriter.cs
- _NetworkingPerfCounters.cs
- ConfigXmlWhitespace.cs
- RenderingEventArgs.cs
- NameHandler.cs
- KeyGesture.cs
- InvokeMethodActivityDesigner.cs
- WorkflowViewElement.cs
- LineInfo.cs
- X509Utils.cs
- HostedNamedPipeTransportManager.cs
- ProcessModelSection.cs
- CallInfo.cs
- TextFormatterHost.cs
- DirectionalLight.cs
- Int32EqualityComparer.cs
- ValueExpressions.cs
- IntSecurity.cs
- ExpressionBindingCollection.cs
- CommandSet.cs
- DataServiceKeyAttribute.cs
- TextEditor.cs
- SessionPageStateSection.cs
- TemplateXamlTreeBuilder.cs
- WebPartsPersonalization.cs
- TextRangeSerialization.cs
- RuntimeWrappedException.cs
- PropertyHelper.cs
- SynchronizedRandom.cs
- Animatable.cs
- HealthMonitoringSection.cs
- DeclarativeCatalogPart.cs
- XmlSchemaObjectCollection.cs
- SharedPersonalizationStateInfo.cs
- SqlDataReader.cs
- TypeGeneratedEventArgs.cs
- ExecutedRoutedEventArgs.cs
- ConditionalWeakTable.cs
- DESCryptoServiceProvider.cs
- ProvidePropertyAttribute.cs
- XmlNotation.cs
- SiteMapNode.cs
- WebPartCatalogCloseVerb.cs
- XXXOnTypeBuilderInstantiation.cs
- CreateUserErrorEventArgs.cs