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
- RangeBase.cs
- FloaterBaseParagraph.cs
- InputMethodStateTypeInfo.cs
- TranslateTransform3D.cs
- hwndwrapper.cs
- MD5CryptoServiceProvider.cs
- XpsPackagingException.cs
- HttpWebResponse.cs
- HybridDictionary.cs
- CheckBox.cs
- Directory.cs
- UnmanagedMemoryStream.cs
- ToolStripTextBox.cs
- GeneralTransform.cs
- DefaultWorkflowLoaderService.cs
- TypeTypeConverter.cs
- EditingMode.cs
- ObjectManager.cs
- AttachmentService.cs
- DecoratedNameAttribute.cs
- BamlLocalizer.cs
- DependencyPropertyAttribute.cs
- SqlRetyper.cs
- UIElement3D.cs
- ReadOnlyCollection.cs
- UInt64Storage.cs
- EmptyEnumerator.cs
- Internal.cs
- XmlWellformedWriter.cs
- OdbcConnectionOpen.cs
- ImageBrush.cs
- WebPartEditVerb.cs
- RemotingServices.cs
- TagPrefixAttribute.cs
- SafeFileMappingHandle.cs
- DataGridViewCellStyleBuilderDialog.cs
- SQLInt32.cs
- documentsequencetextview.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ExpandCollapseProviderWrapper.cs
- LeafCellTreeNode.cs
- MarkupCompilePass2.cs
- EventWaitHandle.cs
- BaseValidator.cs
- CompensatableSequenceActivity.cs
- HttpCookieCollection.cs
- XmlSchemaDatatype.cs
- DefaultMemberAttribute.cs
- WindowsRegion.cs
- ConnectionString.cs
- OdbcConnectionHandle.cs
- XPathDocumentNavigator.cs
- WebPartDeleteVerb.cs
- ClientSponsor.cs
- PinnedBufferMemoryStream.cs
- DataSourceNameHandler.cs
- ComponentManagerBroker.cs
- Statements.cs
- ScrollBarRenderer.cs
- LayoutEngine.cs
- LifetimeServices.cs
- GetMemberBinder.cs
- regiisutil.cs
- HtmlMeta.cs
- FontConverter.cs
- TargetInvocationException.cs
- DbUpdateCommandTree.cs
- AuthenticationSection.cs
- WindowsGraphics2.cs
- WebPartsPersonalization.cs
- AmbiguousMatchException.cs
- Match.cs
- StylusOverProperty.cs
- BoolExpressionVisitors.cs
- ProcessMessagesAsyncResult.cs
- New.cs
- DelegatingTypeDescriptionProvider.cs
- LockRecursionException.cs
- ArraySubsetEnumerator.cs
- DynamicMethod.cs
- XmlSigningNodeWriter.cs
- mactripleDES.cs
- DispatcherTimer.cs
- WaitForChangedResult.cs
- SystemNetHelpers.cs
- BaseAppDomainProtocolHandler.cs
- XmlnsCache.cs
- ComponentResourceKeyConverter.cs
- FusionWrap.cs
- TrailingSpaceComparer.cs
- ValidatorCollection.cs
- UIElement.cs
- PrintPreviewGraphics.cs
- GZipDecoder.cs
- SwitchAttribute.cs
- FixedLineResult.cs
- EntityDataSourceWizardForm.cs
- StringAttributeCollection.cs
- ChangeNode.cs
- MobileControlBuilder.cs