Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Shared / MS / Internal / Generated / EdgeModeValidation.cs / 1 / EdgeModeValidation.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 IsEdgeModeValid(object valueObject) { EdgeMode value = (EdgeMode) valueObject; return (value == EdgeMode.Unspecified) || (value == EdgeMode.Aliased); } } } // 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 IsEdgeModeValid(object valueObject) { EdgeMode value = (EdgeMode) valueObject; return (value == EdgeMode.Unspecified) || (value == EdgeMode.Aliased); } } } // 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
- LayoutEvent.cs
- SettingsPropertyIsReadOnlyException.cs
- KnownBoxes.cs
- UndoUnit.cs
- SqlXml.cs
- LogReserveAndAppendState.cs
- BatchWriter.cs
- Point3DIndependentAnimationStorage.cs
- MoveSizeWinEventHandler.cs
- sqlcontext.cs
- UIElement.cs
- SqlLiftIndependentRowExpressions.cs
- SqlXmlStorage.cs
- HttpRequestCacheValidator.cs
- PointAnimationUsingKeyFrames.cs
- SqlClientFactory.cs
- InvalidDataException.cs
- ScriptingWebServicesSectionGroup.cs
- SqlIdentifier.cs
- CheckBoxRenderer.cs
- KeyedCollection.cs
- ForEachAction.cs
- HttpCookieCollection.cs
- VerificationException.cs
- PieceDirectory.cs
- ApplicationTrust.cs
- XmlProcessingInstruction.cs
- ExpressionBinding.cs
- FileUtil.cs
- KeyedHashAlgorithm.cs
- Oid.cs
- DashStyles.cs
- UnderstoodHeaders.cs
- CompensateDesigner.cs
- EndpointFilterProvider.cs
- ScriptComponentDescriptor.cs
- Mutex.cs
- _ShellExpression.cs
- LogAppendAsyncResult.cs
- QilUnary.cs
- TreeSet.cs
- ViewgenContext.cs
- DataGridBoolColumn.cs
- NotFiniteNumberException.cs
- RegexWriter.cs
- FileSystemEventArgs.cs
- Visual3D.cs
- SafeCryptContextHandle.cs
- HashHelper.cs
- Attributes.cs
- SignedXml.cs
- RangeValuePatternIdentifiers.cs
- CleanUpVirtualizedItemEventArgs.cs
- ListenDesigner.cs
- Grid.cs
- TrustLevelCollection.cs
- ProfilePropertyNameValidator.cs
- LexicalChunk.cs
- Stacktrace.cs
- ComponentRenameEvent.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- ComponentDispatcherThread.cs
- ProfileManager.cs
- CompoundFileIOPermission.cs
- NativeRecognizer.cs
- ArrangedElementCollection.cs
- TreeIterator.cs
- BitmapPalette.cs
- PointConverter.cs
- HttpResponseHeader.cs
- UnsafeNativeMethods.cs
- ViewGenerator.cs
- GeometryDrawing.cs
- Documentation.cs
- RemotingConfigParser.cs
- ProxyWebPartManager.cs
- InputReportEventArgs.cs
- VisualTreeHelper.cs
- SqlError.cs
- ItemContainerProviderWrapper.cs
- ZipIOExtraFieldPaddingElement.cs
- DesignerActionPanel.cs
- UIPermission.cs
- RemotingException.cs
- TrackBar.cs
- OutputWindow.cs
- UIElement3DAutomationPeer.cs
- ListViewDesigner.cs
- WindowsAuthenticationEventArgs.cs
- DesignTimeValidationFeature.cs
- SignerInfo.cs
- TextControl.cs
- ValidationEventArgs.cs
- QueryParameter.cs
- Rectangle.cs
- ProfileEventArgs.cs
- RSAOAEPKeyExchangeDeformatter.cs
- WebSysDisplayNameAttribute.cs
- DataPagerFieldCollection.cs
- SettingsAttributeDictionary.cs