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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FontFamilyValueSerializer.cs
- ListBox.cs
- RelationshipEndCollection.cs
- Faults.cs
- AdvancedBindingEditor.cs
- StaticContext.cs
- HostingPreferredMapPath.cs
- _AutoWebProxyScriptWrapper.cs
- MemoryRecordBuffer.cs
- FontStyleConverter.cs
- WebServicesDescriptionAttribute.cs
- DrawToolTipEventArgs.cs
- ConfigurationValues.cs
- PointConverter.cs
- DbDeleteCommandTree.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- WindowsListViewItem.cs
- CodeIndexerExpression.cs
- CalculatedColumn.cs
- TypedAsyncResult.cs
- SHA512.cs
- StateRuntime.cs
- ScriptingAuthenticationServiceSection.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- WpfXamlMember.cs
- WindowsFormsDesignerOptionService.cs
- CompilerResults.cs
- Queue.cs
- Privilege.cs
- DbConnectionClosed.cs
- WsatConfiguration.cs
- MetadataItemEmitter.cs
- RSAOAEPKeyExchangeFormatter.cs
- ThemeDirectoryCompiler.cs
- TimelineGroup.cs
- EncoderNLS.cs
- VisualStyleRenderer.cs
- BitmapInitialize.cs
- CompilerGeneratedAttribute.cs
- ButtonColumn.cs
- AtomParser.cs
- HostProtectionException.cs
- DataGridHelper.cs
- ProcessingInstructionAction.cs
- OleDbException.cs
- WebPartActionVerb.cs
- XPathNodePointer.cs
- XmlFormatExtensionAttribute.cs
- XamlTreeBuilderBamlRecordWriter.cs
- FormViewPageEventArgs.cs
- FormsAuthenticationUser.cs
- ACE.cs
- CriticalHandle.cs
- QilNode.cs
- DataGridViewComboBoxEditingControl.cs
- HostingPreferredMapPath.cs
- ParallelTimeline.cs
- EditorPartChrome.cs
- ProfileParameter.cs
- DbParameterHelper.cs
- Baml2006Reader.cs
- DbException.cs
- KeyInfo.cs
- SelectedDatesCollection.cs
- Menu.cs
- XmlTypeMapping.cs
- WebPartVerbsEventArgs.cs
- Nullable.cs
- List.cs
- ArrayList.cs
- keycontainerpermission.cs
- ScrollItemPattern.cs
- EncodingStreamWrapper.cs
- GridViewUpdateEventArgs.cs
- TrackingServices.cs
- DesignerActionItemCollection.cs
- _TLSstream.cs
- Int16Animation.cs
- UnsafeNativeMethods.cs
- BitmapEffectInputData.cs
- WebScriptMetadataFormatter.cs
- DbProviderFactoriesConfigurationHandler.cs
- TableLayoutStyle.cs
- PropertyAccessVisitor.cs
- EditorZone.cs
- DesignerActionUI.cs
- SeekableReadStream.cs
- MessageQueuePermissionEntry.cs
- AesManaged.cs
- NonceCache.cs
- ByteViewer.cs
- SqlDeflator.cs
- PropertyKey.cs
- StatusStrip.cs
- DataGridBoundColumn.cs
- Mapping.cs
- MatchAttribute.cs
- RsaSecurityToken.cs
- SystemWebCachingSectionGroup.cs
- TouchFrameEventArgs.cs