Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Shared / MS / Internal / Generated / EdgeProfileValidation.cs / 1 / EdgeProfileValidation.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. // //--------------------------------------------------------------------------- #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.Effects { 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 IsEdgeProfileValid(object valueObject) { EdgeProfile value = (EdgeProfile) valueObject; return (value == EdgeProfile.Linear) || (value == EdgeProfile.CurvedIn) || (value == EdgeProfile.CurvedOut) || (value == EdgeProfile.BulgedUp); } } } // 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. // //--------------------------------------------------------------------------- #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.Effects { 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 IsEdgeProfileValid(object valueObject) { EdgeProfile value = (EdgeProfile) valueObject; return (value == EdgeProfile.Linear) || (value == EdgeProfile.CurvedIn) || (value == EdgeProfile.CurvedOut) || (value == EdgeProfile.BulgedUp); } } } // 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
- ControlBuilderAttribute.cs
- ToolStripLocationCancelEventArgs.cs
- BooleanAnimationUsingKeyFrames.cs
- WebConfigurationHost.cs
- SQLUtility.cs
- ButtonBase.cs
- TextCollapsingProperties.cs
- DbMetaDataFactory.cs
- PrimitiveType.cs
- WebPartZone.cs
- SelectionList.cs
- ConsoleKeyInfo.cs
- StylusEditingBehavior.cs
- PopupEventArgs.cs
- DesignerDataSourceView.cs
- FontUnitConverter.cs
- UriWriter.cs
- FontSizeConverter.cs
- Soap12ProtocolImporter.cs
- ReflectionTypeLoadException.cs
- ResourceDescriptionAttribute.cs
- UIPermission.cs
- MailWebEventProvider.cs
- TypefaceMetricsCache.cs
- EmptyEnumerator.cs
- WorkflowApplicationCompletedEventArgs.cs
- SqlConnectionManager.cs
- autovalidator.cs
- AnnotationAuthorChangedEventArgs.cs
- TemplateXamlParser.cs
- AdRotatorDesigner.cs
- Dispatcher.cs
- sortedlist.cs
- TextTreeUndo.cs
- ConnectionStringsExpressionBuilder.cs
- UIAgentMonitorHandle.cs
- DataRowChangeEvent.cs
- VarRemapper.cs
- Enum.cs
- DefaultTextStoreTextComposition.cs
- BitmapEffectGroup.cs
- TextDocumentView.cs
- GeneralTransform3DGroup.cs
- ToolStripEditorManager.cs
- TraceListener.cs
- MsmqMessageProperty.cs
- Point4DConverter.cs
- InvokeMemberBinder.cs
- SafeProcessHandle.cs
- ObjectDataSourceEventArgs.cs
- ExtractCollection.cs
- TableAdapterManagerHelper.cs
- ClientConvert.cs
- StylusEventArgs.cs
- RelatedPropertyManager.cs
- CompoundFileDeflateTransform.cs
- Win32.cs
- TabItemAutomationPeer.cs
- HostedTransportConfigurationBase.cs
- XmlHierarchicalEnumerable.cs
- XmlUnspecifiedAttribute.cs
- MatrixAnimationBase.cs
- FileLogRecordStream.cs
- FormattedTextSymbols.cs
- PackageDigitalSignatureManager.cs
- ImageInfo.cs
- dataobject.cs
- TextProperties.cs
- DefaultHttpHandler.cs
- SQLInt64Storage.cs
- SynchronizedPool.cs
- METAHEADER.cs
- HotSpotCollection.cs
- SessionStateSection.cs
- NetTcpSectionData.cs
- DefaultValueMapping.cs
- SpellCheck.cs
- TextRangeEditTables.cs
- CustomSignedXml.cs
- SystemIPv6InterfaceProperties.cs
- TabControlAutomationPeer.cs
- XmlSchemaInferenceException.cs
- TextChange.cs
- URLAttribute.cs
- HttpSessionStateBase.cs
- SchemaConstraints.cs
- HttpContextServiceHost.cs
- DataGridPageChangedEventArgs.cs
- CompilationUnit.cs
- SourceInterpreter.cs
- XmlLoader.cs
- CodeDirectiveCollection.cs
- PersonalizationStateQuery.cs
- DataGridViewTextBoxColumn.cs
- HttpFileCollection.cs
- SelectionRangeConverter.cs
- OracleParameterCollection.cs
- ProviderSettingsCollection.cs
- SqlConnectionString.cs
- ObfuscateAssemblyAttribute.cs