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
- ResourcePool.cs
- SqlClientMetaDataCollectionNames.cs
- MonitorWrapper.cs
- HandlerFactoryCache.cs
- WebControlAdapter.cs
- UnsafeNativeMethods.cs
- ListViewInsertedEventArgs.cs
- ExpressionPrinter.cs
- _SslStream.cs
- Policy.cs
- StylusShape.cs
- TrackingStringDictionary.cs
- TryExpression.cs
- RevocationPoint.cs
- ClientOptions.cs
- ListBoxItemWrapperAutomationPeer.cs
- EventToken.cs
- DetailsViewModeEventArgs.cs
- UIElementParaClient.cs
- SelectionEditor.cs
- securitycriticaldata.cs
- Listbox.cs
- EndOfStreamException.cs
- ServiceDurableInstance.cs
- ProviderCommandInfoUtils.cs
- ExtenderHelpers.cs
- HorizontalAlignConverter.cs
- ObjectTag.cs
- ContainerSelectorBehavior.cs
- WebServiceTypeData.cs
- ColumnPropertiesGroup.cs
- ListViewDeleteEventArgs.cs
- SponsorHelper.cs
- RowType.cs
- SafePointer.cs
- OSFeature.cs
- AppDomainManager.cs
- DataViewManager.cs
- DictionaryGlobals.cs
- TableItemProviderWrapper.cs
- TreeViewImageKeyConverter.cs
- SetStoryboardSpeedRatio.cs
- JsonByteArrayDataContract.cs
- ElementNotEnabledException.cs
- ProgressBarBrushConverter.cs
- EditingMode.cs
- TextTreeExtractElementUndoUnit.cs
- EqualityComparer.cs
- ApplicationCommands.cs
- ObjectViewFactory.cs
- SQLString.cs
- SettingsBindableAttribute.cs
- OracleLob.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- HTMLTextWriter.cs
- Environment.cs
- PathData.cs
- LocalizedNameDescriptionPair.cs
- MULTI_QI.cs
- SqlDataSourceCustomCommandEditor.cs
- RelationshipConverter.cs
- HttpCachePolicyWrapper.cs
- ItemAutomationPeer.cs
- TraceSection.cs
- ParameterCollection.cs
- DataSetUtil.cs
- RenderOptions.cs
- ApplyTemplatesAction.cs
- TreeNodeConverter.cs
- WebPartVerbsEventArgs.cs
- DescriptionAttribute.cs
- TemplatedMailWebEventProvider.cs
- ResourceProviderFactory.cs
- WsdlImporterElement.cs
- ParallelTimeline.cs
- StatusBarAutomationPeer.cs
- RuleSetDialog.Designer.cs
- configsystem.cs
- GroupDescription.cs
- OperationInfo.cs
- RelativeSource.cs
- EdmItemCollection.OcAssemblyCache.cs
- ItemPager.cs
- ExpressionsCollectionEditor.cs
- WindowsListViewItem.cs
- AnimatedTypeHelpers.cs
- uribuilder.cs
- Viewport3DVisual.cs
- ByteStreamGeometryContext.cs
- X509SecurityToken.cs
- DataBindingList.cs
- Queue.cs
- NotificationContext.cs
- ContractCodeDomInfo.cs
- SerializationAttributes.cs
- TrustManager.cs
- ErrorWebPart.cs
- XMLDiffLoader.cs
- RemoteWebConfigurationHostServer.cs
- HostedTcpTransportManager.cs