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
- TextDecorations.cs
- VectorCollectionConverter.cs
- CaseInsensitiveComparer.cs
- FieldNameLookup.cs
- BuilderInfo.cs
- LocationReferenceEnvironment.cs
- HtmlAnchor.cs
- DeviceSpecificChoice.cs
- ToolStripSystemRenderer.cs
- FontStretches.cs
- MaskDescriptor.cs
- ConfigurationManagerInternal.cs
- PrivateFontCollection.cs
- NumberFormatter.cs
- UpDownEvent.cs
- DesignerAttribute.cs
- SimpleHandlerBuildProvider.cs
- SystemInformation.cs
- Variable.cs
- LassoHelper.cs
- WorkItem.cs
- StatusBarPanel.cs
- EmptyStringExpandableObjectConverter.cs
- SplitterEvent.cs
- SafeUserTokenHandle.cs
- TaiwanLunisolarCalendar.cs
- XmlDocumentSurrogate.cs
- XmlSchemaDatatype.cs
- TraceHandler.cs
- ExtensionSimplifierMarkupObject.cs
- Context.cs
- Matrix.cs
- FileRecordSequence.cs
- ScriptControl.cs
- InteropEnvironment.cs
- _CommandStream.cs
- PrintDocument.cs
- Point.cs
- SqlProfileProvider.cs
- ToolStripTemplateNode.cs
- DayRenderEvent.cs
- CreateBookmarkScope.cs
- StoreAnnotationsMap.cs
- MenuItem.cs
- OperationAbortedException.cs
- GlyphTypeface.cs
- CodeBlockBuilder.cs
- GestureRecognitionResult.cs
- AsymmetricSignatureDeformatter.cs
- Int32CollectionValueSerializer.cs
- MatrixConverter.cs
- BrowserDefinition.cs
- PartialCachingAttribute.cs
- CommandEventArgs.cs
- PageVisual.cs
- SeekStoryboard.cs
- CodeTryCatchFinallyStatement.cs
- WSSecureConversationDec2005.cs
- HttpContextWrapper.cs
- SafeHGlobalHandleCritical.cs
- ToolStripLocationCancelEventArgs.cs
- DBSqlParserColumnCollection.cs
- SharedUtils.cs
- VerificationException.cs
- AggregateNode.cs
- WebPartDisplayMode.cs
- PrivilegedConfigurationManager.cs
- AuthenticateEventArgs.cs
- ListBoxChrome.cs
- TransportManager.cs
- StorageEndPropertyMapping.cs
- DelegateSerializationHolder.cs
- ExtenderProvidedPropertyAttribute.cs
- ExpressionBinding.cs
- ViewManager.cs
- UIElement3D.cs
- QueryResults.cs
- reliableinputsessionchannel.cs
- SyndicationDeserializer.cs
- ContentDisposition.cs
- SvcMapFileSerializer.cs
- ConfigurationLocationCollection.cs
- Maps.cs
- InvalidProgramException.cs
- InputLanguage.cs
- DateTimeOffsetConverter.cs
- DateTimePickerDesigner.cs
- WebServiceFault.cs
- DesignerActionUIStateChangeEventArgs.cs
- CollectionViewGroup.cs
- UnsafeNativeMethods.cs
- SamlAuthenticationStatement.cs
- TemplateKeyConverter.cs
- TableCell.cs
- HttpApplicationFactory.cs
- ProfileSettings.cs
- DataTableNameHandler.cs
- PropertyNames.cs
- DelayDesigner.cs
- CallbackHandler.cs