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
- MethodBuilder.cs
- UInt32Storage.cs
- SmiSettersStream.cs
- TimelineClockCollection.cs
- SubMenuStyleCollection.cs
- BamlResourceSerializer.cs
- RelationshipConstraintValidator.cs
- COM2ExtendedBrowsingHandler.cs
- mil_commands.cs
- BitConverter.cs
- SecurityDocument.cs
- XmlObjectSerializerReadContextComplex.cs
- WebRequestModuleElement.cs
- SafeNativeMethods.cs
- SmiRequestExecutor.cs
- PropertyOverridesTypeEditor.cs
- XmlSchemaSequence.cs
- RectangleGeometry.cs
- RuleElement.cs
- NewArray.cs
- CurrentChangingEventArgs.cs
- SystemIcmpV4Statistics.cs
- ExtendedPropertyCollection.cs
- ComponentRenameEvent.cs
- TextElementCollection.cs
- ManualResetEvent.cs
- CornerRadiusConverter.cs
- TrackingParticipant.cs
- Pen.cs
- HandleValueEditor.cs
- EmbeddedMailObjectsCollection.cs
- TrustLevel.cs
- indexingfiltermarshaler.cs
- SecondaryViewProvider.cs
- PropertiesTab.cs
- ResourceProviderFactory.cs
- SetterBaseCollection.cs
- ConfigXmlComment.cs
- ComMethodElementCollection.cs
- XmlObjectSerializerWriteContext.cs
- FrameworkContentElementAutomationPeer.cs
- ProcessingInstructionAction.cs
- SettingsPropertyIsReadOnlyException.cs
- SecurityResources.cs
- CompoundFileStorageReference.cs
- CharEnumerator.cs
- ClipboardData.cs
- ADMembershipProvider.cs
- TypeBuilderInstantiation.cs
- UserMapPath.cs
- Validator.cs
- StringBuilder.cs
- WorkflowItemPresenter.cs
- DBParameter.cs
- DeviceSpecificChoiceCollection.cs
- NameValuePermission.cs
- GraphicsPath.cs
- NegatedCellConstant.cs
- PropertyPushdownHelper.cs
- SecurityUtils.cs
- InvalidCastException.cs
- Symbol.cs
- ElementAction.cs
- PrivilegeNotHeldException.cs
- XmlChildNodes.cs
- EncoderParameter.cs
- SimpleHandlerBuildProvider.cs
- Point4DConverter.cs
- CharEnumerator.cs
- TypeLibConverter.cs
- CallTemplateAction.cs
- VisualTreeUtils.cs
- DynamicQueryableWrapper.cs
- OpCellTreeNode.cs
- mediaclock.cs
- VisualCollection.cs
- DateTimeConverter.cs
- CacheHelper.cs
- WaitForChangedResult.cs
- ConnectivityStatus.cs
- RelationshipEntry.cs
- DataGridViewSelectedCellCollection.cs
- PresentationAppDomainManager.cs
- OletxTransactionHeader.cs
- ToolStripPanelCell.cs
- WorkflowView.cs
- WsatServiceAddress.cs
- XmlToDatasetMap.cs
- ExtensibleClassFactory.cs
- NativeMethods.cs
- WriteFileContext.cs
- Brush.cs
- CharUnicodeInfo.cs
- RotateTransform3D.cs
- TextBounds.cs
- DesignerActionUI.cs
- SelectionWordBreaker.cs
- PathSegmentCollection.cs
- SpeakCompletedEventArgs.cs
- Send.cs