Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ToolboxItem.cs
- DeferredReference.cs
- DocumentGridPage.cs
- PinnedBufferMemoryStream.cs
- ProviderManager.cs
- ExpressionBindings.cs
- PropertyChangeTracker.cs
- UInt32Storage.cs
- X509UI.cs
- OracleInternalConnection.cs
- ControlBuilderAttribute.cs
- Splitter.cs
- ElementProxy.cs
- CompiledELinqQueryState.cs
- QuaternionIndependentAnimationStorage.cs
- EndPoint.cs
- TrackingMemoryStream.cs
- XamlNamespaceHelper.cs
- AudioBase.cs
- OleDbInfoMessageEvent.cs
- ASCIIEncoding.cs
- HtmlHead.cs
- FileSystemEnumerable.cs
- RC2.cs
- PenCursorManager.cs
- DataGridItemEventArgs.cs
- MenuAdapter.cs
- Column.cs
- Random.cs
- PersonalizationProviderHelper.cs
- Constraint.cs
- InputLanguageEventArgs.cs
- GridView.cs
- NotCondition.cs
- MsmqIntegrationMessagePool.cs
- WebPartTransformerAttribute.cs
- LayoutSettings.cs
- TableLayoutSettingsTypeConverter.cs
- Lock.cs
- GridItemPattern.cs
- NonParentingControl.cs
- PrefixQName.cs
- SystemDiagnosticsSection.cs
- MenuItemAutomationPeer.cs
- SecurityTokenTypes.cs
- ProxyHelper.cs
- GradientStop.cs
- ReversePositionQuery.cs
- SHA384.cs
- UTF7Encoding.cs
- SevenBitStream.cs
- MetadataHelper.cs
- MarshalDirectiveException.cs
- PopupControlService.cs
- VirtualDirectoryMappingCollection.cs
- ActivationArguments.cs
- XhtmlBasicPhoneCallAdapter.cs
- Attributes.cs
- BitmapFrame.cs
- ISAPIRuntime.cs
- FileDialog.cs
- BasePattern.cs
- PrePrepareMethodAttribute.cs
- FontSizeConverter.cs
- KeyFrames.cs
- SoapSchemaExporter.cs
- TeredoHelper.cs
- UInt16.cs
- OutputScopeManager.cs
- Vars.cs
- WebResourceUtil.cs
- DeferredTextReference.cs
- ResourcesBuildProvider.cs
- EventEntry.cs
- AggregateNode.cs
- SqlEnums.cs
- ChineseLunisolarCalendar.cs
- LockCookie.cs
- Missing.cs
- InputGestureCollection.cs
- MetadataArtifactLoader.cs
- CachedBitmap.cs
- UpdateRecord.cs
- ClientBuildManagerCallback.cs
- DataServiceConfiguration.cs
- ContextInformation.cs
- RectAnimationBase.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- WebBrowserNavigatingEventHandler.cs
- DbSetClause.cs
- HyperLinkColumn.cs
- LoginNameDesigner.cs
- COM2ExtendedTypeConverter.cs
- Rotation3DKeyFrameCollection.cs
- PageEventArgs.cs
- SchemaImporter.cs
- SnapLine.cs
- DESCryptoServiceProvider.cs
- StyleSheetRefUrlEditor.cs
- ExceptionDetail.cs