Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / EdgeProfileValidation.cs / 1305600 / EdgeProfileValidation.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. // //--------------------------------------------------------------------------- #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.Effects { 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 IsEdgeProfileValid(object valueObject) { EdgeProfile value = (EdgeProfile) valueObject; return (value == EdgeProfile.Linear) || (value == EdgeProfile.CurvedIn) || (value == EdgeProfile.CurvedOut) || (value == EdgeProfile.BulgedUp); } } } // 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. // //--------------------------------------------------------------------------- #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.Effects { 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 IsEdgeProfileValid(object valueObject) { EdgeProfile value = (EdgeProfile) valueObject; return (value == EdgeProfile.Linear) || (value == EdgeProfile.CurvedIn) || (value == EdgeProfile.CurvedOut) || (value == EdgeProfile.BulgedUp); } } } // 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
- SqlDesignerDataSourceView.cs
- PointAnimationUsingKeyFrames.cs
- Deserializer.cs
- TextEditorCopyPaste.cs
- recordstatefactory.cs
- CodeEventReferenceExpression.cs
- Html32TextWriter.cs
- MessageQueue.cs
- DocumentSequenceHighlightLayer.cs
- ExclusiveHandle.cs
- TreeViewHitTestInfo.cs
- UTF32Encoding.cs
- LazyTextWriterCreator.cs
- ViewDesigner.cs
- ToolboxItemFilterAttribute.cs
- Header.cs
- ExpandCollapseProviderWrapper.cs
- XmlnsDictionary.cs
- HtmlInputText.cs
- ListViewItem.cs
- BridgeDataReader.cs
- DataGridViewAdvancedBorderStyle.cs
- GeometryHitTestParameters.cs
- ToolStripGripRenderEventArgs.cs
- MethodRental.cs
- IISUnsafeMethods.cs
- precedingquery.cs
- HiddenFieldPageStatePersister.cs
- HierarchicalDataTemplate.cs
- DropShadowBitmapEffect.cs
- Rule.cs
- MemoryPressure.cs
- List.cs
- DateRangeEvent.cs
- SuppressMessageAttribute.cs
- FamilyMapCollection.cs
- GatewayDefinition.cs
- ObjectSpanRewriter.cs
- AnimationStorage.cs
- ObjectListCommandsPage.cs
- ContainerFilterService.cs
- AssemblyBuilder.cs
- ActivityTrace.cs
- StandardBindingCollectionElement.cs
- HwndProxyElementProvider.cs
- WebBrowserSiteBase.cs
- MimeTypeMapper.cs
- DiscoveryDocument.cs
- AppSettingsReader.cs
- ContentPresenter.cs
- EntityWrapperFactory.cs
- FontInfo.cs
- ImageAttributes.cs
- Executor.cs
- EventLogPermissionEntryCollection.cs
- _NegoStream.cs
- PersonalizationProviderCollection.cs
- RangeValuePattern.cs
- ConfigurationPropertyCollection.cs
- SizeAnimation.cs
- BamlTreeUpdater.cs
- BitFlagsGenerator.cs
- ToolStripMenuItem.cs
- TextEditor.cs
- ProviderSettings.cs
- VideoDrawing.cs
- OracleFactory.cs
- Attribute.cs
- FixedSOMImage.cs
- SamlEvidence.cs
- PageBuildProvider.cs
- MemoryMappedViewStream.cs
- QueryNode.cs
- DesignerAttribute.cs
- ExecutionContext.cs
- TraceLog.cs
- SubclassTypeValidator.cs
- SqlDeflator.cs
- LinqDataSource.cs
- ObjectDataSourceMethodEventArgs.cs
- ArithmeticException.cs
- WindowsFormsHostAutomationPeer.cs
- IFlowDocumentViewer.cs
- DataGridViewHeaderCell.cs
- GetMemberBinder.cs
- RelationshipConstraintValidator.cs
- TargetParameterCountException.cs
- ImportCatalogPart.cs
- RoutedEvent.cs
- DataGridViewCellMouseEventArgs.cs
- XmlSerializerAssemblyAttribute.cs
- SimpleHandlerBuildProvider.cs
- AsyncContentLoadedEventArgs.cs
- DBCSCodePageEncoding.cs
- FormViewModeEventArgs.cs
- ComponentConverter.cs
- SafeRightsManagementSessionHandle.cs
- CompressedStack.cs
- XdrBuilder.cs
- TabControl.cs