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
- TextDocumentView.cs
- WebPartsSection.cs
- AnnotationHighlightLayer.cs
- IndentedWriter.cs
- FileDialog_Vista.cs
- WebEventTraceProvider.cs
- SoapFaultCodes.cs
- JsonEncodingStreamWrapper.cs
- HtmlHistory.cs
- SafeReversePInvokeHandle.cs
- List.cs
- IRCollection.cs
- SelectManyQueryOperator.cs
- Collection.cs
- HTMLTextWriter.cs
- DataServiceQueryProvider.cs
- Stackframe.cs
- PropertyBuilder.cs
- MultiBindingExpression.cs
- CapacityStreamGeometryContext.cs
- FormViewUpdatedEventArgs.cs
- RayHitTestParameters.cs
- ADMembershipProvider.cs
- BrushMappingModeValidation.cs
- TextServicesProperty.cs
- InputDevice.cs
- TopClause.cs
- DataGridViewTopLeftHeaderCell.cs
- ContextProperty.cs
- ConcurrentQueue.cs
- PeerPresenceInfo.cs
- ConfigXmlElement.cs
- StatusBarDrawItemEvent.cs
- CallId.cs
- OdbcFactory.cs
- ProcessModuleCollection.cs
- ServiceDescriptionSerializer.cs
- SqlUserDefinedAggregateAttribute.cs
- TraceEventCache.cs
- SqlFlattener.cs
- DataGridPageChangedEventArgs.cs
- DurationConverter.cs
- PointAnimation.cs
- MetadataWorkspace.cs
- WebPartConnectionsEventArgs.cs
- EdmComplexPropertyAttribute.cs
- CmsInterop.cs
- VoiceInfo.cs
- ParseHttpDate.cs
- XmlCDATASection.cs
- SafeNativeMethods.cs
- DataContractSerializerOperationBehavior.cs
- PassportAuthenticationModule.cs
- TouchFrameEventArgs.cs
- _ListenerRequestStream.cs
- SecurityTokenRequirement.cs
- ObjectAnimationUsingKeyFrames.cs
- NodeLabelEditEvent.cs
- ServicePointManager.cs
- MetafileHeader.cs
- SqlReorderer.cs
- ExtendedPropertyDescriptor.cs
- SplitContainer.cs
- CodeGeneratorOptions.cs
- Rect3D.cs
- LambdaCompiler.Address.cs
- SwitchDesigner.xaml.cs
- SourceFileBuildProvider.cs
- DataGridViewImageCell.cs
- RenderTargetBitmap.cs
- SqlError.cs
- ContentType.cs
- SystemKeyConverter.cs
- VideoDrawing.cs
- XmlILStorageConverter.cs
- ConditionalAttribute.cs
- LogReservationCollection.cs
- ConsoleKeyInfo.cs
- ArrayList.cs
- CaseDesigner.xaml.cs
- RepeatButtonAutomationPeer.cs
- ReservationNotFoundException.cs
- OperationCanceledException.cs
- CredentialCache.cs
- ImageList.cs
- TypedTableBase.cs
- FloaterParaClient.cs
- Registry.cs
- SimpleTextLine.cs
- UrlPath.cs
- SqlVisitor.cs
- PageCopyCount.cs
- login.cs
- CalendarModeChangedEventArgs.cs
- TypeViewSchema.cs
- MouseButtonEventArgs.cs
- TwoPhaseCommitProxy.cs
- ProjectionPath.cs
- QilVisitor.cs
- FixedDocumentPaginator.cs