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
- TextComposition.cs
- XPathBinder.cs
- AnnotationHelper.cs
- ImageIndexConverter.cs
- SpeakProgressEventArgs.cs
- Rotation3D.cs
- NamedObjectList.cs
- PageThemeCodeDomTreeGenerator.cs
- FixedTextBuilder.cs
- CounterCreationDataConverter.cs
- WebSysDefaultValueAttribute.cs
- PageHandlerFactory.cs
- AppDomain.cs
- XmlSequenceWriter.cs
- DataGridViewColumnHeaderCell.cs
- Utils.cs
- Underline.cs
- RightsDocument.cs
- ScriptBehaviorDescriptor.cs
- PageCatalogPartDesigner.cs
- InfoCardBaseException.cs
- SocketInformation.cs
- XhtmlBasicCommandAdapter.cs
- RepeatInfo.cs
- PointAnimationClockResource.cs
- ProgressBarRenderer.cs
- ExpressionEditorAttribute.cs
- ReversePositionQuery.cs
- SafeRightsManagementSessionHandle.cs
- PageStatePersister.cs
- ByteAnimation.cs
- ErrorFormatterPage.cs
- FocusManager.cs
- SafeRightsManagementHandle.cs
- DataGridViewCellCancelEventArgs.cs
- EventMappingSettings.cs
- Frame.cs
- CodeSubDirectory.cs
- SimpleMailWebEventProvider.cs
- SamlSerializer.cs
- ListViewTableRow.cs
- AdditionalEntityFunctions.cs
- GeneralTransform3DGroup.cs
- ClientType.cs
- DbDataRecord.cs
- DbTransaction.cs
- ConnectorMovedEventArgs.cs
- DigitalSignature.cs
- DataRelationPropertyDescriptor.cs
- TdsRecordBufferSetter.cs
- ReadWriteSpinLock.cs
- HttpVersion.cs
- XamlGridLengthSerializer.cs
- SessionPageStateSection.cs
- BezierSegment.cs
- SemaphoreFullException.cs
- QilSortKey.cs
- UserControl.cs
- ReflectionPermission.cs
- HyperLinkColumn.cs
- DeferredSelectedIndexReference.cs
- Attributes.cs
- DataBindingCollection.cs
- ListItem.cs
- BuildManagerHost.cs
- ListBindingHelper.cs
- storepermissionattribute.cs
- Matrix.cs
- EntityTemplateUserControl.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- CacheMemory.cs
- ProtocolsConfigurationEntry.cs
- DllNotFoundException.cs
- TextFormatterContext.cs
- XamlSerializationHelper.cs
- SizeFConverter.cs
- QuotedStringFormatReader.cs
- WebPartZone.cs
- DependencyPropertyValueSerializer.cs
- ReachPrintTicketSerializer.cs
- Converter.cs
- Rijndael.cs
- CodeDelegateInvokeExpression.cs
- DocumentEventArgs.cs
- mediaeventargs.cs
- ClientSideQueueItem.cs
- SafeHandle.cs
- CompressEmulationStream.cs
- HTTPNotFoundHandler.cs
- Int16KeyFrameCollection.cs
- EventLogPermissionEntry.cs
- WebPartConnection.cs
- XmlMtomReader.cs
- SettingsSection.cs
- BindingContext.cs
- RegexParser.cs
- HttpCapabilitiesSectionHandler.cs
- SqlMethodTransformer.cs
- XmlDataSource.cs
- SafeHandles.cs