Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / 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 [....]/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
- ISessionStateStore.cs
- FixedSOMSemanticBox.cs
- FrameworkObject.cs
- HttpResponseMessageProperty.cs
- DrawToolTipEventArgs.cs
- hresults.cs
- SessionEndedEventArgs.cs
- Error.cs
- XslTransform.cs
- ScriptingProfileServiceSection.cs
- LocatorManager.cs
- StateDesigner.Helpers.cs
- KnownTypeAttribute.cs
- BitmapEffectDrawingContextState.cs
- QualifierSet.cs
- DeferredTextReference.cs
- UpdatableGenericsFeature.cs
- SingleConverter.cs
- RegistryExceptionHelper.cs
- OdbcCommand.cs
- GlobalItem.cs
- CapabilitiesAssignment.cs
- PageCache.cs
- BaseCollection.cs
- HtmlContainerControl.cs
- TileModeValidation.cs
- FormsAuthenticationModule.cs
- ArrangedElement.cs
- GeometryGroup.cs
- MimeTypePropertyAttribute.cs
- StylusShape.cs
- PasswordPropertyTextAttribute.cs
- DataControlLinkButton.cs
- Splitter.cs
- Transform3DCollection.cs
- TableItemStyle.cs
- MarshalByRefObject.cs
- DataGridViewAddColumnDialog.cs
- DtrList.cs
- DataSpaceManager.cs
- IndexedString.cs
- ContainsRowNumberChecker.cs
- IDQuery.cs
- ExtenderProvidedPropertyAttribute.cs
- XslTransform.cs
- ImportCatalogPart.cs
- TextRange.cs
- ConditionalDesigner.cs
- BufferModeSettings.cs
- Delegate.cs
- MatrixIndependentAnimationStorage.cs
- InternalException.cs
- GenericTypeParameterConverter.cs
- DetailsViewPageEventArgs.cs
- XmlNodeChangedEventArgs.cs
- DecodeHelper.cs
- EnumDataContract.cs
- RootBuilder.cs
- HttpModulesSection.cs
- PriorityChain.cs
- XamlReader.cs
- SchemaManager.cs
- Label.cs
- EventDescriptorCollection.cs
- MailAddressCollection.cs
- StrokeDescriptor.cs
- TrackingProfileDeserializationException.cs
- PrintController.cs
- DataKeyCollection.cs
- HotCommands.cs
- BitVector32.cs
- AddIn.cs
- CodeSnippetTypeMember.cs
- Symbol.cs
- PageThemeBuildProvider.cs
- TraceContextEventArgs.cs
- MetadataCollection.cs
- ProcessModule.cs
- ControlFilterExpression.cs
- ReaderWriterLock.cs
- PersonalizationStateInfo.cs
- Mapping.cs
- PointAnimation.cs
- UDPClient.cs
- XPathAxisIterator.cs
- DCSafeHandle.cs
- InputQueue.cs
- ConsumerConnectionPoint.cs
- ImageDrawing.cs
- CodeMethodReturnStatement.cs
- DataConnectionHelper.cs
- Symbol.cs
- XamlVector3DCollectionSerializer.cs
- Misc.cs
- PenCursorManager.cs
- BitmapInitialize.cs
- TextMessageEncodingElement.cs
- ResourceSetExpression.cs
- FullTextBreakpoint.cs
- BitStack.cs