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
- QilValidationVisitor.cs
- Span.cs
- FixedTextBuilder.cs
- TwoPhaseCommit.cs
- BooleanExpr.cs
- DesignTimeParseData.cs
- MailWriter.cs
- EntityType.cs
- ParserStreamGeometryContext.cs
- SqlErrorCollection.cs
- FixedSOMTableCell.cs
- CompModSwitches.cs
- OdbcRowUpdatingEvent.cs
- MethodBody.cs
- GridViewCancelEditEventArgs.cs
- MasterPageBuildProvider.cs
- NGCPageContentCollectionSerializerAsync.cs
- ValueCollectionParameterReader.cs
- SchemaCollectionCompiler.cs
- versioninfo.cs
- ClientBuildManager.cs
- NextPreviousPagerField.cs
- ContainerParagraph.cs
- WMIInterop.cs
- StreamMarshaler.cs
- PermissionSet.cs
- PageStatePersister.cs
- CalendarButtonAutomationPeer.cs
- CancellableEnumerable.cs
- UnsafeNativeMethods.cs
- ItemDragEvent.cs
- DrawingCollection.cs
- WebPartHeaderCloseVerb.cs
- SqlDataReaderSmi.cs
- EqualityComparer.cs
- SamlSecurityToken.cs
- ListViewInsertedEventArgs.cs
- ExpandCollapsePattern.cs
- AuthorizationRule.cs
- DataGridViewRowCancelEventArgs.cs
- ElementProxy.cs
- StyleSheetRefUrlEditor.cs
- PolyLineSegment.cs
- XMLDiffLoader.cs
- SQLChars.cs
- ChildTable.cs
- ListViewCancelEventArgs.cs
- SafeCertificateStore.cs
- bidPrivateBase.cs
- ObjectNotFoundException.cs
- XmlSerializerOperationBehavior.cs
- CodeNamespaceImport.cs
- StrongNameKeyPair.cs
- InstanceOwnerException.cs
- SpellerError.cs
- WebControl.cs
- CompensatableTransactionScopeActivityDesigner.cs
- Material.cs
- ConstraintConverter.cs
- ValueProviderWrapper.cs
- RefreshEventArgs.cs
- InternalControlCollection.cs
- FrameworkContextData.cs
- ColorTransform.cs
- BrowserDefinitionCollection.cs
- EllipseGeometry.cs
- BindToObject.cs
- TypeUnloadedException.cs
- IntegerFacetDescriptionElement.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- NegatedConstant.cs
- WebPartsPersonalizationAuthorization.cs
- FixedSOMLineRanges.cs
- InvalidDocumentContentsException.cs
- ByteFacetDescriptionElement.cs
- InternalSafeNativeMethods.cs
- ResXResourceWriter.cs
- OdbcParameter.cs
- InputElement.cs
- TypeBuilderInstantiation.cs
- FullTextBreakpoint.cs
- Deserializer.cs
- InternalException.cs
- COAUTHINFO.cs
- ServiceObjectContainer.cs
- ResourceKey.cs
- CapabilitiesUse.cs
- BodyGlyph.cs
- AsyncPostBackErrorEventArgs.cs
- AssociationType.cs
- AssemblyBuilder.cs
- XMLDiffLoader.cs
- EdmItemCollection.cs
- XmlSchemaAttributeGroupRef.cs
- Transform3D.cs
- ButtonFlatAdapter.cs
- XsdBuildProvider.cs
- NotifyParentPropertyAttribute.cs
- WebConfigurationFileMap.cs
- TreePrinter.cs