Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Shared / MS / Internal / Generated / EdgeProfileValidation.cs / 1 / 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
- UserControlAutomationPeer.cs
- HtmlPanelAdapter.cs
- WebConfigurationHost.cs
- COM2IDispatchConverter.cs
- RMPublishingDialog.cs
- DesignerProperties.cs
- StringCollection.cs
- EntityParameter.cs
- CodeTypeReference.cs
- DetailsViewCommandEventArgs.cs
- IteratorFilter.cs
- CodeArgumentReferenceExpression.cs
- IssuanceLicense.cs
- IWorkflowDebuggerService.cs
- OrderPreservingPipeliningSpoolingTask.cs
- MergeLocalizationDirectives.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- StopStoryboard.cs
- SqlGenericUtil.cs
- OciLobLocator.cs
- EventListener.cs
- NodeCounter.cs
- shaperfactoryquerycachekey.cs
- DataSet.cs
- SoapFormatterSinks.cs
- GroupItemAutomationPeer.cs
- TypeBuilderInstantiation.cs
- SoapIgnoreAttribute.cs
- DataTablePropertyDescriptor.cs
- ListViewDeletedEventArgs.cs
- ResourceIDHelper.cs
- WebConfigurationHostFileChange.cs
- LineMetrics.cs
- CodeTypeDeclarationCollection.cs
- LogLogRecord.cs
- Encoding.cs
- XamlTemplateSerializer.cs
- AmbientProperties.cs
- ZipIOBlockManager.cs
- SecurityPolicySection.cs
- TextBox.cs
- InputLangChangeEvent.cs
- TrackingMemoryStreamFactory.cs
- ConfigurationValues.cs
- StrongNameMembershipCondition.cs
- WindowsListViewScroll.cs
- WindowsScrollBarBits.cs
- PersonalizablePropertyEntry.cs
- SafeEventLogWriteHandle.cs
- PriorityQueue.cs
- DataService.cs
- SnapshotChangeTrackingStrategy.cs
- RSAOAEPKeyExchangeFormatter.cs
- XmlSchemaSimpleTypeRestriction.cs
- TabPage.cs
- CqlErrorHelper.cs
- TransactionChannel.cs
- ServiceModelReg.cs
- ExpressionBindings.cs
- CompiledXpathExpr.cs
- SqlDataSourceWizardForm.cs
- CultureTableRecord.cs
- SystemIPGlobalStatistics.cs
- Point4D.cs
- DataListCommandEventArgs.cs
- EnumBuilder.cs
- AdPostCacheSubstitution.cs
- XamlToRtfParser.cs
- TypeInformation.cs
- HTMLTextWriter.cs
- DataGridViewImageCell.cs
- ScrollContentPresenter.cs
- Propagator.cs
- TreeNodeEventArgs.cs
- TraceLevelHelper.cs
- RightsManagementPermission.cs
- ServiceContractListItemList.cs
- ScriptReference.cs
- Boolean.cs
- SessionIDManager.cs
- GuidelineCollection.cs
- DriveInfo.cs
- JpegBitmapEncoder.cs
- ClientFormsAuthenticationCredentials.cs
- RequestCacheEntry.cs
- SqlFunctionAttribute.cs
- ReturnType.cs
- CreateUserWizardAutoFormat.cs
- RelationshipEndCollection.cs
- CompilerTypeWithParams.cs
- BulletChrome.cs
- VersionPair.cs
- SettingsPropertyWrongTypeException.cs
- ClientTarget.cs
- TimeBoundedCache.cs
- SeverityFilter.cs
- MessageBuffer.cs
- OracleTransaction.cs
- SplayTreeNode.cs
- TypeUtil.cs