Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- ListParaClient.cs
- TableSectionStyle.cs
- OdbcEnvironment.cs
- securitycriticaldata.cs
- ConstraintEnumerator.cs
- RayMeshGeometry3DHitTestResult.cs
- TaskFileService.cs
- DispatcherProcessingDisabled.cs
- ImportContext.cs
- HttpCapabilitiesEvaluator.cs
- PackagePartCollection.cs
- AccessDataSourceWizardForm.cs
- PassportAuthentication.cs
- VirtualizingPanel.cs
- XmlChoiceIdentifierAttribute.cs
- GraphicsPath.cs
- RedBlackList.cs
- CompModHelpers.cs
- UserNameSecurityToken.cs
- EntityClassGenerator.cs
- TypeNameConverter.cs
- Literal.cs
- HwndHost.cs
- WebBrowserNavigatingEventHandler.cs
- ObjectViewQueryResultData.cs
- OLEDB_Enum.cs
- RegexFCD.cs
- HMACSHA256.cs
- AuthenticationModuleElementCollection.cs
- BamlVersionHeader.cs
- CodeCompileUnit.cs
- KeyGesture.cs
- HatchBrush.cs
- PagerSettings.cs
- RequestCachePolicy.cs
- XmlCustomFormatter.cs
- JulianCalendar.cs
- Wrapper.cs
- TextDecorationCollection.cs
- WebConvert.cs
- LocatorPartList.cs
- ChineseLunisolarCalendar.cs
- RequestQueue.cs
- ScrollBarRenderer.cs
- errorpatternmatcher.cs
- FileInfo.cs
- SoapFault.cs
- AudioSignalProblemOccurredEventArgs.cs
- ParallelLoopState.cs
- HostSecurityManager.cs
- HttpDictionary.cs
- XPathArrayIterator.cs
- CqlQuery.cs
- FrameDimension.cs
- RegexCode.cs
- ValidationResult.cs
- ParameterExpression.cs
- TeredoHelper.cs
- ScrollItemPattern.cs
- TextParagraph.cs
- PropertyFilterAttribute.cs
- EventlogProvider.cs
- SerializableTypeCodeDomSerializer.cs
- Label.cs
- FormsAuthenticationModule.cs
- ProcessThread.cs
- Attachment.cs
- IdentityModelStringsVersion1.cs
- NullableDoubleMinMaxAggregationOperator.cs
- ExtentJoinTreeNode.cs
- PageFunction.cs
- ApplicationProxyInternal.cs
- ConfigXmlAttribute.cs
- RawStylusInputCustomDataList.cs
- COM2PropertyPageUITypeConverter.cs
- AdapterDictionary.cs
- ObjectDataSourceDisposingEventArgs.cs
- PlainXmlSerializer.cs
- DateTimeFormatInfoScanner.cs
- CodeTypeDelegate.cs
- ResourceManagerWrapper.cs
- Memoizer.cs
- PhonemeEventArgs.cs
- StrokeCollectionConverter.cs
- DependentList.cs
- SpnEndpointIdentityExtension.cs
- LabelInfo.cs
- CustomPopupPlacement.cs
- DbConvert.cs
- HeaderedItemsControl.cs
- ChangeBlockUndoRecord.cs
- RtfFormatStack.cs
- VisualStyleTypesAndProperties.cs
- PieceDirectory.cs
- DictionaryContent.cs
- WindowsSolidBrush.cs
- VirtualDirectoryMapping.cs
- _IPv4Address.cs
- CryptoKeySecurity.cs
- Stopwatch.cs