Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Shared / MS / Internal / Generated / PenLineJoinValidation.cs / 1 / PenLineJoinValidation.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. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Runtime.InteropServices; using MS.Internal.PresentationCore; #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 { 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 IsPenLineJoinValid(object valueObject) { PenLineJoin value = (PenLineJoin) valueObject; return (value == PenLineJoin.Miter) || (value == PenLineJoin.Bevel) || (value == PenLineJoin.Round); } } } // 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. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Runtime.InteropServices; using MS.Internal.PresentationCore; #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 { 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 IsPenLineJoinValid(object valueObject) { PenLineJoin value = (PenLineJoin) valueObject; return (value == PenLineJoin.Miter) || (value == PenLineJoin.Bevel) || (value == PenLineJoin.Round); } } } // 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
- TraceSection.cs
- DiscoveryVersion.cs
- XmlElementElement.cs
- Slider.cs
- SpotLight.cs
- RepeatButtonAutomationPeer.cs
- OracleBinary.cs
- FileDialog.cs
- XmlAnyElementAttribute.cs
- ArrayConverter.cs
- PointIndependentAnimationStorage.cs
- ParentQuery.cs
- CallTemplateAction.cs
- Win32.cs
- VirtualPath.cs
- InvalidOleVariantTypeException.cs
- EarlyBoundInfo.cs
- XMLSchema.cs
- RegionData.cs
- GenericAuthenticationEventArgs.cs
- Event.cs
- XmlSchemaFacet.cs
- PageStatePersister.cs
- DataError.cs
- SqlCacheDependency.cs
- Accessible.cs
- ErrorStyle.cs
- Configuration.cs
- KeyConstraint.cs
- PackageRelationshipSelector.cs
- TemplatePropertyEntry.cs
- TextEditorCharacters.cs
- Ipv6Element.cs
- QueryOutputWriter.cs
- PeerDefaultCustomResolverClient.cs
- ServicesSection.cs
- DataGridViewAdvancedBorderStyle.cs
- CodeLinePragma.cs
- EventsTab.cs
- dataprotectionpermission.cs
- MatchAttribute.cs
- TextTreePropertyUndoUnit.cs
- TrustLevel.cs
- HandoffBehavior.cs
- DataGridViewDataConnection.cs
- GCHandleCookieTable.cs
- ModuleBuilderData.cs
- CodeTypeMember.cs
- PtsHelper.cs
- TableLayoutSettings.cs
- DataAdapter.cs
- HashMembershipCondition.cs
- Propagator.Evaluator.cs
- Effect.cs
- StylusPointCollection.cs
- KeyValueConfigurationElement.cs
- X509Certificate.cs
- IxmlLineInfo.cs
- EventHandlersDesigner.cs
- Parameter.cs
- BrowserInteropHelper.cs
- ConfigurationSectionGroup.cs
- MdImport.cs
- SystemMulticastIPAddressInformation.cs
- SourceElementsCollection.cs
- XmlSchemaValidationException.cs
- DynamicActivityTypeDescriptor.cs
- ResourceContainer.cs
- BaseParagraph.cs
- PanelStyle.cs
- Currency.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- SchemaObjectWriter.cs
- BigInt.cs
- CreateUserWizardStep.cs
- HasCopySemanticsAttribute.cs
- FormsAuthentication.cs
- EdmComplexPropertyAttribute.cs
- HtmlInputCheckBox.cs
- CompositeKey.cs
- Avt.cs
- ListViewItem.cs
- EntityContainer.cs
- DescendentsWalker.cs
- ResourceAttributes.cs
- CreateWorkflowOwnerCommand.cs
- DirectoryNotFoundException.cs
- ListItemViewAttribute.cs
- ReflectionUtil.cs
- SafeFileMappingHandle.cs
- SafeNativeMemoryHandle.cs
- QueryInterceptorAttribute.cs
- IncrementalHitTester.cs
- LogicalExpr.cs
- StringConverter.cs
- StrokeNodeEnumerator.cs
- SqlBuilder.cs
- TriState.cs
- SamlAudienceRestrictionCondition.cs
- DetailsView.cs