Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / PenLineCapValidation.cs / 1305600 / PenLineCapValidation.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 IsPenLineCapValid(object valueObject) { PenLineCap value = (PenLineCap) valueObject; return (value == PenLineCap.Flat) || (value == PenLineCap.Square) || (value == PenLineCap.Round) || (value == PenLineCap.Triangle); } } } // 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
- HMACMD5.cs
- ByeOperation11AsyncResult.cs
- CqlGenerator.cs
- JsonQNameDataContract.cs
- EntityStoreSchemaFilterEntry.cs
- CharacterHit.cs
- SeparatorAutomationPeer.cs
- LookupBindingPropertiesAttribute.cs
- InvalidPrinterException.cs
- ObjectSet.cs
- WebPartDisplayMode.cs
- SHA384.cs
- VectorCollectionConverter.cs
- SizeAnimationBase.cs
- SchemaNamespaceManager.cs
- TextEditorContextMenu.cs
- DocumentSchemaValidator.cs
- DBCommand.cs
- BuildManagerHost.cs
- Win32.cs
- WebPartHelpVerb.cs
- NumericUpDownAccelerationCollection.cs
- DataFieldConverter.cs
- ResXFileRef.cs
- BmpBitmapEncoder.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DataColumnPropertyDescriptor.cs
- DataGridItemCollection.cs
- ConnectionInterfaceCollection.cs
- DataServiceRequest.cs
- OdbcRowUpdatingEvent.cs
- PeerNeighborManager.cs
- SQLDecimalStorage.cs
- UIPermission.cs
- ProcessModuleCollection.cs
- StylusPlugin.cs
- DeviceContext2.cs
- GridViewPageEventArgs.cs
- DefinitionUpdate.cs
- InputReport.cs
- MobileControlBuilder.cs
- FixedSOMLineCollection.cs
- SHA384.cs
- DocumentViewerBase.cs
- Int64AnimationUsingKeyFrames.cs
- SrgsElementFactory.cs
- NonSerializedAttribute.cs
- TileBrush.cs
- ToolStripStatusLabel.cs
- ChannelCredentials.cs
- UIElementAutomationPeer.cs
- ConnectionManagementElement.cs
- IntegrationExceptionEventArgs.cs
- SafeReadContext.cs
- KeyManager.cs
- DataGridViewToolTip.cs
- ActiveXHost.cs
- HtmlElementEventArgs.cs
- ChildChangedEventArgs.cs
- NamespaceDisplayAutomationPeer.cs
- ExpressionCopier.cs
- VarInfo.cs
- SQLConvert.cs
- DataGridItemAutomationPeer.cs
- EventData.cs
- XslTransform.cs
- DefaultParameterValueAttribute.cs
- NonClientArea.cs
- DecoderFallback.cs
- CodeDOMUtility.cs
- LeaseManager.cs
- QilParameter.cs
- ContractBase.cs
- Profiler.cs
- LinearKeyFrames.cs
- ElementAction.cs
- AlternateView.cs
- CheckBox.cs
- ExtensionSurface.cs
- XmlElementAttribute.cs
- CryptoSession.cs
- DataSourceHelper.cs
- ScriptingJsonSerializationSection.cs
- XPathChildIterator.cs
- AuthenticationConfig.cs
- Binding.cs
- WebConfigurationFileMap.cs
- ConfigurationValue.cs
- Assembly.cs
- IncrementalHitTester.cs
- XmlSchemaSimpleTypeUnion.cs
- PageTheme.cs
- ToolStripDropTargetManager.cs
- IndexingContentUnit.cs
- ConfigurationException.cs
- FixedSOMImage.cs
- DataRow.cs
- ExtendedPropertyDescriptor.cs
- ToolStripItemCollection.cs
- HostedHttpTransportManager.cs