Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / 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 [....]/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
- ListSortDescription.cs
- DataGridViewLinkCell.cs
- DataServiceQuery.cs
- UriTemplatePathSegment.cs
- FileFormatException.cs
- CodeSnippetStatement.cs
- TraceHandlerErrorFormatter.cs
- InputLanguageEventArgs.cs
- FrameworkName.cs
- PiiTraceSource.cs
- Subset.cs
- SocketException.cs
- DataGridTable.cs
- AnimatedTypeHelpers.cs
- IdentityNotMappedException.cs
- ScrollPattern.cs
- ThrowHelper.cs
- Monitor.cs
- ShutDownListener.cs
- MetadataAssemblyHelper.cs
- OutOfProcStateClientManager.cs
- CompilerTypeWithParams.cs
- Context.cs
- EventData.cs
- XamlClipboardData.cs
- RegexGroupCollection.cs
- VisualTreeUtils.cs
- BitmapMetadataBlob.cs
- cache.cs
- PageContentAsyncResult.cs
- CrossSiteScriptingValidation.cs
- CodeTypeMemberCollection.cs
- ColorMap.cs
- CryptoStream.cs
- DebuggerAttributes.cs
- XmlCDATASection.cs
- Queue.cs
- DomainUpDown.cs
- SQLStringStorage.cs
- ProjectionPlanCompiler.cs
- JavaScriptObjectDeserializer.cs
- Wildcard.cs
- Event.cs
- NumericUpDownAcceleration.cs
- WCFServiceClientProxyGenerator.cs
- ControlCollection.cs
- fixedPageContentExtractor.cs
- ShapingEngine.cs
- RecognitionEventArgs.cs
- CompilationSection.cs
- DataMisalignedException.cs
- SystemColors.cs
- PersistenceTypeAttribute.cs
- ToolBarButton.cs
- CookieProtection.cs
- MetaModel.cs
- Repeater.cs
- DataGridViewElement.cs
- RegisteredHiddenField.cs
- LinkUtilities.cs
- XmlAttributeCache.cs
- COSERVERINFO.cs
- CodeDirectoryCompiler.cs
- XPathDocument.cs
- DesignTimeValidationFeature.cs
- Clipboard.cs
- UnauthorizedAccessException.cs
- HtmlInputButton.cs
- Int32AnimationUsingKeyFrames.cs
- EntitySqlException.cs
- SetIterators.cs
- StringPropertyBuilder.cs
- OracleCommandBuilder.cs
- InkCollectionBehavior.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- GroupQuery.cs
- TraceSource.cs
- AssemblyInfo.cs
- ColorTransformHelper.cs
- FrameworkElementFactory.cs
- Registry.cs
- XPathException.cs
- HashCodeCombiner.cs
- Token.cs
- MultipleViewPattern.cs
- OutputCacheSettings.cs
- CodeDOMProvider.cs
- AssemblyCollection.cs
- AppSettingsReader.cs
- X500Name.cs
- XmlDomTextWriter.cs
- AbstractExpressions.cs
- HighlightComponent.cs
- XmlNodeChangedEventManager.cs
- RepeatButton.cs
- AQNBuilder.cs
- TypeSource.cs
- StyleModeStack.cs
- TablePattern.cs
- RightsManagementEncryptedStream.cs