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
- DbDataAdapter.cs
- ContainerAction.cs
- ProcessModule.cs
- LineBreakRecord.cs
- SystemFonts.cs
- SystemException.cs
- DataListItemCollection.cs
- DoubleCollection.cs
- SelectionPattern.cs
- BitmapEffectOutputConnector.cs
- SystemInformation.cs
- Pts.cs
- _IPv4Address.cs
- ComponentGuaranteesAttribute.cs
- TextTabProperties.cs
- BindingNavigator.cs
- LinqExpressionNormalizer.cs
- MaterialGroup.cs
- sqlcontext.cs
- BitmapCodecInfo.cs
- PrePrepareMethodAttribute.cs
- Floater.cs
- BooleanKeyFrameCollection.cs
- Message.cs
- XsdCachingReader.cs
- PolyLineSegmentFigureLogic.cs
- DbQueryCommandTree.cs
- ProofTokenCryptoHandle.cs
- TemplateXamlTreeBuilder.cs
- SelectionWordBreaker.cs
- InvalidFilterCriteriaException.cs
- SchemaImporterExtension.cs
- SystemUnicastIPAddressInformation.cs
- XmlTextEncoder.cs
- RijndaelManagedTransform.cs
- WebBrowserEvent.cs
- ObjectSecurity.cs
- IpcManager.cs
- HostDesigntimeLicenseContext.cs
- WebPartCollection.cs
- ErrorTableItemStyle.cs
- BrowserDefinitionCollection.cs
- MethodCallConverter.cs
- StructureChangedEventArgs.cs
- Configuration.cs
- Pointer.cs
- FormatException.cs
- AuthenticationService.cs
- RowsCopiedEventArgs.cs
- ProfileSettings.cs
- TransactionManagerProxy.cs
- EntityViewContainer.cs
- wgx_exports.cs
- FixedSOMElement.cs
- DbConnectionInternal.cs
- DataBindingList.cs
- ResourceExpression.cs
- DataGridRowAutomationPeer.cs
- StorageSetMapping.cs
- DetailsViewDeleteEventArgs.cs
- SafeFileMappingHandle.cs
- ADMembershipProvider.cs
- TextTreeText.cs
- RelationshipNavigation.cs
- DataGridTablesFactory.cs
- ConfigurationSectionHelper.cs
- CryptoProvider.cs
- AnimatedTypeHelpers.cs
- AsyncResult.cs
- RegexRunner.cs
- CodeConstructor.cs
- ImpersonationContext.cs
- BooleanStorage.cs
- WebBrowserNavigatedEventHandler.cs
- StreamGeometryContext.cs
- DesignerSerializerAttribute.cs
- TextTreeInsertElementUndoUnit.cs
- DataGridDesigner.cs
- DataTableNewRowEvent.cs
- KerberosSecurityTokenAuthenticator.cs
- CLRBindingWorker.cs
- ListItemConverter.cs
- LocatorBase.cs
- SerializationInfo.cs
- ClientCultureInfo.cs
- PropertyBuilder.cs
- EnumBuilder.cs
- TextContainerHelper.cs
- HostElement.cs
- ButtonFieldBase.cs
- TypographyProperties.cs
- NativeActivityContext.cs
- WindowsIPAddress.cs
- ProfileSettings.cs
- IsolatedStorageFile.cs
- AuditLog.cs
- DataFormats.cs
- IUnknownConstantAttribute.cs
- HttpListener.cs
- PageCatalogPartDesigner.cs