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 / 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
- FunctionParameter.cs
- TextSpanModifier.cs
- ToolStripComboBox.cs
- SafeNativeMethods.cs
- TracePayload.cs
- Transform3DGroup.cs
- ConnectionManagementElementCollection.cs
- RecipientServiceModelSecurityTokenRequirement.cs
- SmtpMail.cs
- RegistryDataKey.cs
- DtdParser.cs
- XmlBinaryReader.cs
- ResourceSet.cs
- HttpCacheParams.cs
- References.cs
- BufferedGraphics.cs
- ToolStripStatusLabel.cs
- GridErrorDlg.cs
- EventDriven.cs
- CompleteWizardStep.cs
- SequenceNumber.cs
- Binding.cs
- DataRowView.cs
- _FtpControlStream.cs
- PermissionListSet.cs
- CodeTypeReferenceExpression.cs
- StylusShape.cs
- ListViewItem.cs
- BitmapEffectDrawing.cs
- XmlBoundElement.cs
- XmlReflectionImporter.cs
- IPCCacheManager.cs
- DataColumnMapping.cs
- VisualStyleRenderer.cs
- ItemCollection.cs
- MailDefinition.cs
- MetadataWorkspace.cs
- _ConnectionGroup.cs
- ExpressionBuilderContext.cs
- HttpListener.cs
- WebRequest.cs
- MissingFieldException.cs
- XsdBuilder.cs
- TextTrailingWordEllipsis.cs
- QuaternionIndependentAnimationStorage.cs
- PersonalizationStateInfo.cs
- MetadataCollection.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- HttpCacheParams.cs
- MailMessage.cs
- PartialList.cs
- ToolStripContentPanelRenderEventArgs.cs
- ExtendedPropertyCollection.cs
- PenThreadWorker.cs
- ComponentSerializationService.cs
- TdsParser.cs
- UriSection.cs
- ListChangedEventArgs.cs
- BrowserPolicyValidator.cs
- ListViewSelectEventArgs.cs
- PeerInputChannelListener.cs
- ReflectEventDescriptor.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- ElementNotEnabledException.cs
- XPathMessageFilterElement.cs
- Compiler.cs
- MessageDecoder.cs
- XmlKeywords.cs
- TextServicesCompartmentContext.cs
- Tuple.cs
- PropertyStore.cs
- WebDisplayNameAttribute.cs
- NumberSubstitution.cs
- ObjectDisposedException.cs
- ServerTooBusyException.cs
- ValidationPropertyAttribute.cs
- MergeFilterQuery.cs
- SafeTokenHandle.cs
- SortedDictionary.cs
- FormatterServices.cs
- XmlConvert.cs
- QueryOptionExpression.cs
- SessionStateItemCollection.cs
- IEnumerable.cs
- DocumentSchemaValidator.cs
- PictureBox.cs
- RijndaelManagedTransform.cs
- IEnumerable.cs
- ThousandthOfEmRealPoints.cs
- XsltArgumentList.cs
- TextTreeExtractElementUndoUnit.cs
- TimerElapsedEvenArgs.cs
- SQLMoney.cs
- Span.cs
- EntitySqlQueryBuilder.cs
- SemanticBasicElement.cs
- WSFederationHttpBindingCollectionElement.cs
- ValidationRule.cs
- LayoutEditorPart.cs
- TryCatchDesigner.xaml.cs