Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- SourceItem.cs
- KeyFrames.cs
- ECDiffieHellmanCngPublicKey.cs
- GridViewDeletedEventArgs.cs
- PropertyToken.cs
- ColumnHeader.cs
- DriveNotFoundException.cs
- PopupEventArgs.cs
- tooltip.cs
- LZCodec.cs
- TemplateBuilder.cs
- documentsequencetextcontainer.cs
- DecoderBestFitFallback.cs
- CompilationSection.cs
- XmlMembersMapping.cs
- DataKey.cs
- NoResizeHandleGlyph.cs
- DataGridViewCellCancelEventArgs.cs
- PerformanceCounterPermission.cs
- ProfileService.cs
- AppModelKnownContentFactory.cs
- ScalarConstant.cs
- BamlTreeMap.cs
- Deflater.cs
- FlowDecision.cs
- AppDomain.cs
- ExceptionTrace.cs
- ArrayTypeMismatchException.cs
- GreenMethods.cs
- ExpressionConverter.cs
- DoubleAnimationUsingKeyFrames.cs
- CapiSafeHandles.cs
- Int64.cs
- LambdaCompiler.cs
- IndicCharClassifier.cs
- ChannelSettingsElement.cs
- Span.cs
- MDIClient.cs
- Application.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- SqlException.cs
- VerificationAttribute.cs
- Point4DValueSerializer.cs
- HScrollBar.cs
- NodeFunctions.cs
- InputScopeConverter.cs
- HttpClientProtocol.cs
- LinqDataSourceDeleteEventArgs.cs
- PeerName.cs
- EntityCommandDefinition.cs
- COM2PropertyPageUITypeConverter.cs
- ReferenceEqualityComparer.cs
- DispatcherFrame.cs
- XmlHelper.cs
- NopReturnReader.cs
- SqlError.cs
- BaseTemplateBuildProvider.cs
- SmtpReplyReader.cs
- StatusBarPanel.cs
- AnnotationStore.cs
- EventListenerClientSide.cs
- DataGridViewCellPaintingEventArgs.cs
- FieldNameLookup.cs
- TextSelectionHelper.cs
- ExpressionEvaluator.cs
- RuleSettingsCollection.cs
- XmlUnspecifiedAttribute.cs
- SmiEventStream.cs
- VisualBrush.cs
- CallbackHandler.cs
- ObjectItemConventionAssemblyLoader.cs
- HttpListenerTimeoutManager.cs
- CallbackValidator.cs
- CodeGotoStatement.cs
- RegexMatch.cs
- EtwTrace.cs
- HttpFileCollection.cs
- Reference.cs
- ToolStripItemEventArgs.cs
- precedingsibling.cs
- RecognizerInfo.cs
- PrivilegeNotHeldException.cs
- HandlerBase.cs
- BitmapEffectCollection.cs
- DataServiceRequestOfT.cs
- ThemeInfoAttribute.cs
- StretchValidation.cs
- BitmapEffectGeneralTransform.cs
- OracleTransaction.cs
- __Filters.cs
- JavaScriptObjectDeserializer.cs
- ThaiBuddhistCalendar.cs
- WebPartConnectionsEventArgs.cs
- PathFigure.cs
- ObjectStateManager.cs
- CompilationSection.cs
- counter.cs
- ProxyAttribute.cs
- ResolveMatchesCD1.cs
- SafeNativeMethods.cs