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
- XmlCollation.cs
- CompilationSection.cs
- listviewsubitemcollectioneditor.cs
- Figure.cs
- ProbeRequestResponseAsyncResult.cs
- HtmlImageAdapter.cs
- LocalizationComments.cs
- WebConfigurationManager.cs
- ClientRuntimeConfig.cs
- RevocationPoint.cs
- XappLauncher.cs
- BindingMAnagerBase.cs
- BatchWriter.cs
- ByteStack.cs
- ProfessionalColors.cs
- MetricEntry.cs
- InArgument.cs
- CodeNamespaceCollection.cs
- UnsafeNativeMethods.cs
- RuleProcessor.cs
- RuleRef.cs
- Mappings.cs
- HierarchicalDataSourceControl.cs
- TextPenaltyModule.cs
- WebPartActionVerb.cs
- TypeSystem.cs
- DataGridViewCellStateChangedEventArgs.cs
- ToolStripRendererSwitcher.cs
- Color.cs
- BindingUtils.cs
- FreeFormDesigner.cs
- DrawingDrawingContext.cs
- AnnotationAuthorChangedEventArgs.cs
- EncryptedType.cs
- QilDataSource.cs
- InvalidProgramException.cs
- ComponentChangingEvent.cs
- Privilege.cs
- HTMLTagNameToTypeMapper.cs
- EntryWrittenEventArgs.cs
- Interfaces.cs
- ButtonBase.cs
- LoaderAllocator.cs
- DbDataAdapter.cs
- FontSizeConverter.cs
- EntityContainerEntitySetDefiningQuery.cs
- WinFormsComponentEditor.cs
- WebPartHelpVerb.cs
- DataGridComponentEditor.cs
- IdentitySection.cs
- WorkflowDataContext.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- ListViewItem.cs
- Cell.cs
- DictionaryEntry.cs
- XamlGridLengthSerializer.cs
- SoapExtensionTypeElementCollection.cs
- SettingsSavedEventArgs.cs
- Completion.cs
- BooleanSwitch.cs
- QilTypeChecker.cs
- ReadOnlyCollectionBase.cs
- LogLogRecordHeader.cs
- ConfigurationPropertyAttribute.cs
- SystemIPGlobalStatistics.cs
- ConstraintCollection.cs
- TextTreeInsertUndoUnit.cs
- DefinitionUpdate.cs
- BitmapEffectDrawingContextState.cs
- FormViewRow.cs
- SafeSecurityHandles.cs
- EventRouteFactory.cs
- ResourceProviderFactory.cs
- ContainerSelectorActiveEvent.cs
- AttributeEmitter.cs
- PageEventArgs.cs
- Win32PrintDialog.cs
- TabOrder.cs
- CallbackValidator.cs
- FileUtil.cs
- HttpResponseWrapper.cs
- DrawToolTipEventArgs.cs
- BitStack.cs
- ExpandSegmentCollection.cs
- CodeDOMProvider.cs
- MessageFilter.cs
- AdapterUtil.cs
- XmlBoundElement.cs
- IPHostEntry.cs
- Crypto.cs
- EntityCommandExecutionException.cs
- EntityClassGenerator.cs
- FreeIndexList.cs
- shaper.cs
- PolyQuadraticBezierSegment.cs
- SizeAnimationBase.cs
- ArrayTypeMismatchException.cs
- TextEffectCollection.cs
- ArgumentException.cs
- RadioButtonAutomationPeer.cs