Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / 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 [....]/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
- ZipIOModeEnforcingStream.cs
- TimeIntervalCollection.cs
- TemplateAction.cs
- ValueExpressions.cs
- WindowsFormsDesignerOptionService.cs
- OrderByQueryOptionExpression.cs
- HttpErrorTraceRecord.cs
- BufferedWebEventProvider.cs
- GraphicsPath.cs
- CharacterShapingProperties.cs
- DodSequenceMerge.cs
- ObjectResult.cs
- UpdateExpressionVisitor.cs
- FreezableDefaultValueFactory.cs
- DbConvert.cs
- StatusStrip.cs
- TreeIterators.cs
- Mapping.cs
- EncryptedKeyIdentifierClause.cs
- XPathDescendantIterator.cs
- ModelItemDictionaryImpl.cs
- DbSourceCommand.cs
- VectorAnimation.cs
- ExpanderAutomationPeer.cs
- CharConverter.cs
- CapabilitiesRule.cs
- ParallelRangeManager.cs
- EventRoute.cs
- AudioDeviceOut.cs
- TracePayload.cs
- FigureParaClient.cs
- ReadOnlyDataSourceView.cs
- DotExpr.cs
- EdmRelationshipRoleAttribute.cs
- ToolboxItem.cs
- odbcmetadatafactory.cs
- ClientScriptManager.cs
- OletxDependentTransaction.cs
- DataGridViewCellCollection.cs
- DropDownHolder.cs
- BitmapEffectDrawingContextState.cs
- HttpChannelHelper.cs
- SafeProcessHandle.cs
- UnrecognizedPolicyAssertionElement.cs
- MetadataArtifactLoaderComposite.cs
- SqlTriggerContext.cs
- BypassElementCollection.cs
- Stopwatch.cs
- NumberSubstitution.cs
- XmlComment.cs
- DesignerInterfaces.cs
- XmlCDATASection.cs
- RegisteredArrayDeclaration.cs
- Message.cs
- CacheDependency.cs
- TraceProvider.cs
- NotificationContext.cs
- SingleTagSectionHandler.cs
- Win32.cs
- ToolStripMenuItem.cs
- Util.cs
- DragStartedEventArgs.cs
- RSAPKCS1KeyExchangeFormatter.cs
- BitmapEffectInput.cs
- XmlUtil.cs
- ExpressionBuilder.cs
- AdornedElementPlaceholder.cs
- DSACryptoServiceProvider.cs
- NegatedCellConstant.cs
- MDIClient.cs
- AtomServiceDocumentSerializer.cs
- TransportOutputChannel.cs
- DirectionalLight.cs
- IfElseDesigner.xaml.cs
- CodeGenerationManager.cs
- ControlBuilderAttribute.cs
- SmiContext.cs
- EntityClassGenerator.cs
- ToolboxItemLoader.cs
- ManagementException.cs
- QueryCacheKey.cs
- AttributeCollection.cs
- ProfileModule.cs
- RepeaterItem.cs
- SerializationSectionGroup.cs
- KernelTypeValidation.cs
- ValidationEventArgs.cs
- AppSettingsExpressionEditor.cs
- FontCacheLogic.cs
- AssemblyUtil.cs
- DbCommandTree.cs
- DelayedRegex.cs
- _IPv4Address.cs
- RepeatButtonAutomationPeer.cs
- CreateParams.cs
- WorkflowMarkupSerializationManager.cs
- ValueUnavailableException.cs
- XmlNodeChangedEventManager.cs
- Expander.cs
- Int32Rect.cs