Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / EdgeProfileValidation.cs / 1305600 / 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
- MimeTextImporter.cs
- AuthorizationContext.cs
- ListViewDataItem.cs
- Codec.cs
- SelectionGlyph.cs
- HelpEvent.cs
- SortedList.cs
- DataGridViewCellParsingEventArgs.cs
- GridViewHeaderRowPresenter.cs
- GridViewUpdateEventArgs.cs
- AttachedPropertyMethodSelector.cs
- FormViewCommandEventArgs.cs
- EmbeddedMailObjectsCollection.cs
- Image.cs
- SortDescription.cs
- HttpModuleActionCollection.cs
- NTAccount.cs
- ValidationSummaryDesigner.cs
- ButtonAutomationPeer.cs
- RenderingEventArgs.cs
- ToolStripCollectionEditor.cs
- Int16Animation.cs
- TreeNodeEventArgs.cs
- OrderedDictionary.cs
- UnsettableComboBox.cs
- TextAutomationPeer.cs
- OdbcConnectionStringbuilder.cs
- FunctionQuery.cs
- WebPartsPersonalization.cs
- metadatamappinghashervisitor.cs
- XmlNodeList.cs
- XmlSerializer.cs
- TextEndOfParagraph.cs
- Rfc2898DeriveBytes.cs
- PersonalizationStateInfo.cs
- IdentityNotMappedException.cs
- GridViewCancelEditEventArgs.cs
- PowerStatus.cs
- FontFaceLayoutInfo.cs
- FixedSOMLineCollection.cs
- TextSelectionHelper.cs
- ImageList.cs
- AdPostCacheSubstitution.cs
- ExtensionDataReader.cs
- ControlCollection.cs
- Message.cs
- ConfigurationProviderException.cs
- FontWeightConverter.cs
- DataObjectMethodAttribute.cs
- OdbcDataReader.cs
- HierarchicalDataSourceConverter.cs
- Error.cs
- HandlerFactoryWrapper.cs
- EdmPropertyAttribute.cs
- XmlNodeComparer.cs
- HelloOperation11AsyncResult.cs
- ListCommandEventArgs.cs
- ReachDocumentReferenceSerializer.cs
- GeometryGroup.cs
- AppDomain.cs
- FileDialogCustomPlace.cs
- CapabilitiesState.cs
- Effect.cs
- XmlCollation.cs
- ServiceModelConfigurationSectionGroup.cs
- XPathDocumentNavigator.cs
- HtmlForm.cs
- Fonts.cs
- XmlSchemaAnnotated.cs
- FlowLayout.cs
- ToolStripDropDownButton.cs
- XomlCompilerParameters.cs
- PropertyTab.cs
- ProviderCommandInfoUtils.cs
- ISAPIApplicationHost.cs
- VirtualPathProvider.cs
- ModelItemImpl.cs
- EllipticalNodeOperations.cs
- HWStack.cs
- MemoryFailPoint.cs
- EnumerableRowCollectionExtensions.cs
- AttributeQuery.cs
- DataGridComponentEditor.cs
- RepeatBehavior.cs
- IncrementalCompileAnalyzer.cs
- XMLUtil.cs
- CheckBoxList.cs
- Imaging.cs
- WrappedDispatcherException.cs
- mediaeventshelper.cs
- MobileRedirect.cs
- EditorZone.cs
- BuilderElements.cs
- HitTestParameters3D.cs
- DefinitionUpdate.cs
- UnaryNode.cs
- ProtocolsConfigurationHandler.cs
- DebugViewWriter.cs
- TextEditorCopyPaste.cs
- ValidationEventArgs.cs