Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / 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 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. //---------------------------------------------------------------------------- // //// 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
- CustomAssemblyResolver.cs
- SiteOfOriginContainer.cs
- AtomContentProperty.cs
- SolidColorBrush.cs
- CodeCastExpression.cs
- Quad.cs
- AdapterDictionary.cs
- RenderTargetBitmap.cs
- DataGridViewRowPrePaintEventArgs.cs
- CompleteWizardStep.cs
- NavigateEvent.cs
- FontStyle.cs
- PropertyPushdownHelper.cs
- ResourceBinder.cs
- SolidBrush.cs
- DetailsViewDesigner.cs
- Point3DCollectionConverter.cs
- FlowDocumentPage.cs
- XmlEncodedRawTextWriter.cs
- SystemColors.cs
- StateDesigner.cs
- UIPropertyMetadata.cs
- CompilerErrorCollection.cs
- Rectangle.cs
- DocumentReferenceCollection.cs
- ImageCodecInfo.cs
- GridViewColumn.cs
- TransactionBehavior.cs
- TypeNameParser.cs
- CharacterMetrics.cs
- BrowsableAttribute.cs
- ThemeableAttribute.cs
- SchemaNames.cs
- RadioButtonPopupAdapter.cs
- bidPrivateBase.cs
- XmlLangPropertyAttribute.cs
- RegionInfo.cs
- CheckedListBox.cs
- ParsedAttributeCollection.cs
- Win32MouseDevice.cs
- RelationshipDetailsCollection.cs
- XmlCustomFormatter.cs
- InvalidCommandTreeException.cs
- NamedPipeConnectionPoolSettingsElement.cs
- SmiConnection.cs
- WebServiceErrorEvent.cs
- ProcessStartInfo.cs
- StringInfo.cs
- followingsibling.cs
- SoapAttributeAttribute.cs
- GenericAuthenticationEventArgs.cs
- HyperLink.cs
- CurrencyWrapper.cs
- ShaderEffect.cs
- RootDesignerSerializerAttribute.cs
- DetailsViewUpdateEventArgs.cs
- WebPartTransformer.cs
- CodeRemoveEventStatement.cs
- StringOutput.cs
- RelativeSource.cs
- StylusPlugInCollection.cs
- AuthenticationModulesSection.cs
- ConsoleCancelEventArgs.cs
- MembershipSection.cs
- MissingSatelliteAssemblyException.cs
- TextReader.cs
- BamlTreeNode.cs
- CorePropertiesFilter.cs
- XmlDocumentSurrogate.cs
- BitmapEffectGroup.cs
- NegotiationTokenAuthenticator.cs
- HttpCookie.cs
- TextRangeEdit.cs
- ResolveNameEventArgs.cs
- MetadataItemCollectionFactory.cs
- DataGridViewComponentPropertyGridSite.cs
- HitTestParameters.cs
- WorkflowEnvironment.cs
- SortQuery.cs
- ImageMap.cs
- Error.cs
- TableLayoutStyle.cs
- BypassElementCollection.cs
- WebPartConnectionsConfigureVerb.cs
- DependsOnAttribute.cs
- RuntimeConfigurationRecord.cs
- MatrixAnimationBase.cs
- Cursors.cs
- RtfNavigator.cs
- XmlSerializer.cs
- CodeFieldReferenceExpression.cs
- StringWriter.cs
- ProvidersHelper.cs
- CapabilitiesSection.cs
- DataGridState.cs
- XsltInput.cs
- X509Utils.cs
- NamespaceInfo.cs
- ElementInit.cs
- QuotaExceededException.cs