Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / PenLineJoinValidation.cs / 1305600 / 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
- EventWaitHandleSecurity.cs
- ResourceIDHelper.cs
- ConfigurationProperty.cs
- DataGridViewColumnDesigner.cs
- FlowDocumentPageViewerAutomationPeer.cs
- UdpDiscoveryEndpointProvider.cs
- SoapAttributes.cs
- TagPrefixAttribute.cs
- MultiByteCodec.cs
- XXXInfos.cs
- WebPartDescription.cs
- Command.cs
- FontClient.cs
- Empty.cs
- CounterSampleCalculator.cs
- HttpDictionary.cs
- WebContext.cs
- DataGridCell.cs
- PersonalizationStateInfo.cs
- BindingBase.cs
- FlatButtonAppearance.cs
- InplaceBitmapMetadataWriter.cs
- tooltip.cs
- StorageMappingItemLoader.cs
- ApplicationBuildProvider.cs
- DataTrigger.cs
- StyleTypedPropertyAttribute.cs
- AsyncOperation.cs
- AcceleratedTokenProvider.cs
- _Win32.cs
- ChangeConflicts.cs
- CriticalFileToken.cs
- MemoryResponseElement.cs
- EntityContainerEntitySetDefiningQuery.cs
- GACIdentityPermission.cs
- ConstraintEnumerator.cs
- ByteStreamGeometryContext.cs
- NonBatchDirectoryCompiler.cs
- ParallelTimeline.cs
- TimeStampChecker.cs
- Oid.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ContractNamespaceAttribute.cs
- PreProcessor.cs
- ObjectQueryExecutionPlan.cs
- ScriptResourceHandler.cs
- DataList.cs
- ExpressionBuilderCollection.cs
- SrgsItemList.cs
- MarginCollapsingState.cs
- RenderOptions.cs
- CommandHelper.cs
- ChangeBlockUndoRecord.cs
- ChannelManagerBase.cs
- XmlComment.cs
- PropertyMapper.cs
- GorillaCodec.cs
- SafeFileMapViewHandle.cs
- XmlReflectionMember.cs
- CheckedListBox.cs
- PixelShader.cs
- XmlLoader.cs
- AsyncStreamReader.cs
- ReadOnlyHierarchicalDataSourceView.cs
- EntitySqlQueryCacheKey.cs
- DbDataAdapter.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- TextTreeRootTextBlock.cs
- WebEvents.cs
- ExeContext.cs
- ChannelManager.cs
- ProtocolsSection.cs
- PartitionResolver.cs
- ExclusiveTcpTransportManager.cs
- elementinformation.cs
- MemberPathMap.cs
- WindowsListViewGroupHelper.cs
- HttpListenerContext.cs
- ImageUrlEditor.cs
- BaseCollection.cs
- SequentialUshortCollection.cs
- FormsAuthenticationTicket.cs
- NativeMethodsCLR.cs
- DocumentGridPage.cs
- AssemblyAssociatedContentFileAttribute.cs
- SqlWebEventProvider.cs
- ToolStripRendererSwitcher.cs
- ConstraintStruct.cs
- ScriptServiceAttribute.cs
- XPathSingletonIterator.cs
- FlowDocumentFormatter.cs
- SqlDependencyListener.cs
- HttpTransportElement.cs
- RawAppCommandInputReport.cs
- AutomationElement.cs
- EntityClassGenerator.cs
- DoubleAverageAggregationOperator.cs
- TextEffect.cs
- ResourcesChangeInfo.cs
- UpdatePanelTrigger.cs