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
- PenCursorManager.cs
- DataGridPageChangedEventArgs.cs
- RewritingSimplifier.cs
- TypeSystem.cs
- TransferRequestHandler.cs
- SevenBitStream.cs
- SystemFonts.cs
- ReadOnlyObservableCollection.cs
- NativeMethodsCLR.cs
- CacheRequest.cs
- LayoutTableCell.cs
- SQLStringStorage.cs
- UserNamePasswordValidator.cs
- HashCodeCombiner.cs
- DynamicObject.cs
- DocumentSchemaValidator.cs
- NativeMethods.cs
- ByteAnimation.cs
- WinFormsUtils.cs
- XmlAttributeOverrides.cs
- FixedHighlight.cs
- TransactionScope.cs
- SecureEnvironment.cs
- FontNameConverter.cs
- relpropertyhelper.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- WorkflowApplicationTerminatedException.cs
- SymbolEqualComparer.cs
- SchemaTypeEmitter.cs
- IndexerNameAttribute.cs
- SqlParameterizer.cs
- shaperfactoryquerycachekey.cs
- Int32Animation.cs
- DesignerActionKeyboardBehavior.cs
- TableLayoutPanel.cs
- BitmapImage.cs
- MarkedHighlightComponent.cs
- returneventsaver.cs
- PageWrapper.cs
- behaviorssection.cs
- WorkflowApplicationEventArgs.cs
- LinqDataView.cs
- ConnectionsZone.cs
- SafeNativeMethods.cs
- ProofTokenCryptoHandle.cs
- Part.cs
- GridPatternIdentifiers.cs
- KeyPullup.cs
- SearchExpression.cs
- KnownBoxes.cs
- BitmapDecoder.cs
- CollectionEditor.cs
- StateChangeEvent.cs
- QilIterator.cs
- ReplyChannel.cs
- FusionWrap.cs
- Bold.cs
- ZipIOFileItemStream.cs
- EncryptRequest.cs
- DataServiceContext.cs
- SchemaTableOptionalColumn.cs
- StyleSelector.cs
- InputReferenceExpression.cs
- HebrewNumber.cs
- RectAnimationBase.cs
- Int16Animation.cs
- XmlNavigatorFilter.cs
- NameObjectCollectionBase.cs
- Win32Native.cs
- RoutedCommand.cs
- Run.cs
- SemanticResultValue.cs
- ISAPIApplicationHost.cs
- DbMetaDataCollectionNames.cs
- PackagePartCollection.cs
- SymbolMethod.cs
- SQLInt64Storage.cs
- AppDomainProtocolHandler.cs
- IpcClientChannel.cs
- MaterializeFromAtom.cs
- ConfigurationManagerHelperFactory.cs
- UnsafeNativeMethods.cs
- SoapIncludeAttribute.cs
- TextSelectionHelper.cs
- DllNotFoundException.cs
- ExpressionPrefixAttribute.cs
- XmlTextEncoder.cs
- SemaphoreFullException.cs
- ListSortDescription.cs
- TextParagraphView.cs
- ToolStripItemTextRenderEventArgs.cs
- TcpTransportSecurityElement.cs
- BitmapSource.cs
- XsltContext.cs
- ToolStripDropDownItem.cs
- Command.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- XmlSignatureManifest.cs
- TextTrailingWordEllipsis.cs
- CommandPlan.cs