Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- CommandBindingCollection.cs
- Membership.cs
- InArgumentConverter.cs
- ReadContentAsBinaryHelper.cs
- PiiTraceSource.cs
- ChannelManager.cs
- DataColumn.cs
- AdornerHitTestResult.cs
- ScrollBar.cs
- RolePrincipal.cs
- FunctionImportMapping.cs
- PackagePartCollection.cs
- EntityType.cs
- MethodCallTranslator.cs
- PropertyPushdownHelper.cs
- ResourcePermissionBaseEntry.cs
- TypeUtil.cs
- ColorConvertedBitmap.cs
- DataSysAttribute.cs
- XmlKeywords.cs
- AlphabeticalEnumConverter.cs
- SendMessageRecord.cs
- LayoutEngine.cs
- TextServicesDisplayAttribute.cs
- ConnectionStringSettings.cs
- SessionIDManager.cs
- SHA256Managed.cs
- GeometryHitTestResult.cs
- EndpointDispatcherTable.cs
- DateTimeOffset.cs
- InfoCardTraceRecord.cs
- mactripleDES.cs
- Perspective.cs
- SchemaNotation.cs
- ResourcePermissionBase.cs
- TreePrinter.cs
- OrderingInfo.cs
- TripleDES.cs
- WebBrowser.cs
- EmissiveMaterial.cs
- HandoffBehavior.cs
- AssemblyCollection.cs
- XmlSchemaObjectCollection.cs
- DesignerDataView.cs
- RootBrowserWindow.cs
- DataGridViewColumn.cs
- WrappedKeySecurityTokenParameters.cs
- XPathDocumentNavigator.cs
- UnsafeNativeMethodsPenimc.cs
- ProjectionPathBuilder.cs
- ObjectStateEntry.cs
- ZipIOExtraFieldElement.cs
- PerformanceCounterScope.cs
- XmlSchemaType.cs
- ItemContainerProviderWrapper.cs
- mda.cs
- DefaultBinder.cs
- BitmapEffectvisualstate.cs
- TextLineBreak.cs
- Hashtable.cs
- ServiceReference.cs
- ValidatorAttribute.cs
- RoutedUICommand.cs
- Rules.cs
- TrackingServices.cs
- MutexSecurity.cs
- ProcessRequestArgs.cs
- ObjectCloneHelper.cs
- RTTypeWrapper.cs
- SetStoryboardSpeedRatio.cs
- TableLayoutPanelDesigner.cs
- ParamArrayAttribute.cs
- precedingsibling.cs
- ToolStripDesignerUtils.cs
- BasicExpressionVisitor.cs
- TextOptions.cs
- Debug.cs
- ContentElement.cs
- QilLiteral.cs
- NullRuntimeConfig.cs
- Ipv6Element.cs
- MaterialGroup.cs
- DataColumnChangeEvent.cs
- HttpApplication.cs
- CodeTypeReferenceSerializer.cs
- ComponentChangingEvent.cs
- MenuAutomationPeer.cs
- SmtpClient.cs
- HttpContext.cs
- UnicastIPAddressInformationCollection.cs
- BitmapImage.cs
- WebPartAddingEventArgs.cs
- LinqDataView.cs
- XmlDocumentType.cs
- WebPartHelpVerb.cs
- ToolBar.cs
- SafeSecurityHandles.cs
- MarshalDirectiveException.cs
- ListViewUpdateEventArgs.cs
- RemotingConfiguration.cs