Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSchemaObject.cs
- UnmanagedBitmapWrapper.cs
- TemplatePropertyEntry.cs
- AssemblyBuilder.cs
- XmlDataCollection.cs
- DataRowChangeEvent.cs
- XPathNavigatorException.cs
- ObjectHelper.cs
- SecureUICommand.cs
- Clipboard.cs
- LinkedList.cs
- XamlStyleSerializer.cs
- EventlogProvider.cs
- NetworkInformationException.cs
- FilterQuery.cs
- DefaultTypeArgumentAttribute.cs
- CodeCatchClauseCollection.cs
- XappLauncher.cs
- GlyphingCache.cs
- ResourcesGenerator.cs
- BoolExpressionVisitors.cs
- WindowsProgressbar.cs
- DefaultEvaluationContext.cs
- OutputCacheProfile.cs
- HtmlInputButton.cs
- QueryOperationResponseOfT.cs
- StringHelper.cs
- fixedPageContentExtractor.cs
- IdentityValidationException.cs
- ScaleTransform.cs
- ListBindingHelper.cs
- UnorderedHashRepartitionStream.cs
- MobileControlsSection.cs
- ProxyHelper.cs
- NativeWindow.cs
- XmlObjectSerializerWriteContext.cs
- SqlXmlStorage.cs
- EventlogProvider.cs
- CryptoStream.cs
- SqlBulkCopyColumnMapping.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- SkinBuilder.cs
- CharacterBufferReference.cs
- ValueHandle.cs
- ResponseStream.cs
- AsmxEndpointPickerExtension.cs
- InputScope.cs
- BitArray.cs
- RichTextBoxAutomationPeer.cs
- ListenerBinder.cs
- ValidatingReaderNodeData.cs
- SymmetricAlgorithm.cs
- DataGridViewUtilities.cs
- XmlWellformedWriterHelpers.cs
- ColorAnimationUsingKeyFrames.cs
- KeyGestureValueSerializer.cs
- IndexOutOfRangeException.cs
- PointAnimation.cs
- SoapRpcServiceAttribute.cs
- PropertyGridCommands.cs
- FontWeight.cs
- DropShadowBitmapEffect.cs
- Console.cs
- AuthorizationSection.cs
- RadioButtonList.cs
- XmlSchemaSet.cs
- RegisteredScript.cs
- XmlAttributeAttribute.cs
- ControlBuilder.cs
- TextHidden.cs
- CodeSubDirectoriesCollection.cs
- NegotiationTokenProvider.cs
- FrameworkElementAutomationPeer.cs
- EventProviderTraceListener.cs
- SignatureDescription.cs
- SettingsAttributes.cs
- QueryMatcher.cs
- MailMessageEventArgs.cs
- SetterBaseCollection.cs
- WebBrowserEvent.cs
- SspiSecurityToken.cs
- XmlSchemaSequence.cs
- WebEvents.cs
- TextServicesLoader.cs
- ServiceHostFactory.cs
- SocketSettings.cs
- RayHitTestParameters.cs
- SemaphoreSecurity.cs
- XmlByteStreamWriter.cs
- CodeThrowExceptionStatement.cs
- MinMaxParagraphWidth.cs
- log.cs
- TreeNodeStyle.cs
- AsmxEndpointPickerExtension.cs
- SafeRegistryHandle.cs
- dataSvcMapFileLoader.cs
- IdentityReference.cs
- TextFormatterHost.cs
- Tracer.cs
- ReferenceList.cs