Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / PenLineJoinValidation.cs / 1305600 / 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
- UriPrefixTable.cs
- WebPartConnection.cs
- MsmqDecodeHelper.cs
- HttpCachePolicy.cs
- mda.cs
- NumberSubstitution.cs
- Context.cs
- DropShadowEffect.cs
- WebPartMenu.cs
- UndirectedGraph.cs
- FindCompletedEventArgs.cs
- EntityCommandDefinition.cs
- BitmapScalingModeValidation.cs
- SqlSelectStatement.cs
- NativeMethods.cs
- _NestedSingleAsyncResult.cs
- XPathNodeIterator.cs
- ResourcesBuildProvider.cs
- LinkDescriptor.cs
- PriorityItem.cs
- HttpModulesInstallComponent.cs
- IsolatedStorageFileStream.cs
- IndependentAnimationStorage.cs
- PageEventArgs.cs
- ProfileParameter.cs
- LazyTextWriterCreator.cs
- AppDomainFactory.cs
- MemberAccessException.cs
- XmlDictionaryString.cs
- XD.cs
- MessageSecurityOverHttp.cs
- FixUpCollection.cs
- DispatchWrapper.cs
- SynchronousReceiveBehavior.cs
- TransactionManager.cs
- EntityDesignPluralizationHandler.cs
- AsymmetricKeyExchangeDeformatter.cs
- ApplicationInfo.cs
- RelationshipConverter.cs
- HtmlWindow.cs
- PartialTrustVisibleAssembliesSection.cs
- MatrixCamera.cs
- FastEncoderWindow.cs
- ComponentEditorForm.cs
- SecureEnvironment.cs
- ProfileGroupSettings.cs
- PageAction.cs
- WebPartDisplayMode.cs
- WebGetAttribute.cs
- AttachedPropertyDescriptor.cs
- ProvidePropertyAttribute.cs
- AccessDataSourceDesigner.cs
- AttributeProviderAttribute.cs
- XmlMemberMapping.cs
- ReferenceEqualityComparer.cs
- MachineKeySection.cs
- MailAddress.cs
- ParameterCollection.cs
- ContextProperty.cs
- SplitterCancelEvent.cs
- AdornerHitTestResult.cs
- SafeEventLogWriteHandle.cs
- MessageDecoder.cs
- RegexFCD.cs
- UIElement3D.cs
- SelectionPatternIdentifiers.cs
- AncillaryOps.cs
- FamilyTypeface.cs
- SyndicationElementExtension.cs
- SAPIEngineTypes.cs
- WebBrowserNavigatingEventHandler.cs
- SchemaElement.cs
- CopyCodeAction.cs
- TemplatedAdorner.cs
- XmlCustomFormatter.cs
- DecoderFallback.cs
- COM2AboutBoxPropertyDescriptor.cs
- HostingMessageProperty.cs
- AddInIpcChannel.cs
- SystemNetworkInterface.cs
- BindingListCollectionView.cs
- InsufficientExecutionStackException.cs
- SystemResourceKey.cs
- Thumb.cs
- DataRowChangeEvent.cs
- PrefixQName.cs
- EdmItemError.cs
- BamlReader.cs
- VirtualizingStackPanel.cs
- MergablePropertyAttribute.cs
- SiteMapSection.cs
- UnSafeCharBuffer.cs
- MenuItemBindingCollection.cs
- ClientSideQueueItem.cs
- MessageEnumerator.cs
- BCLDebug.cs
- EmbeddedMailObject.cs
- ProvideValueServiceProvider.cs
- WebPartMenu.cs
- _SslStream.cs