Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / KernelTypeValidation.cs / 1 / KernelTypeValidation.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 IsKernelTypeValid(object valueObject) { KernelType value = (KernelType) valueObject; return (value == KernelType.Gaussian) || (value == KernelType.Box); } } } // 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
- ResourceManagerWrapper.cs
- InternalResources.cs
- MenuCommand.cs
- XPathConvert.cs
- AppManager.cs
- ObjectResult.cs
- PageTrueTypeFont.cs
- Html32TextWriter.cs
- Message.cs
- NegatedConstant.cs
- ISAPIWorkerRequest.cs
- MailHeaderInfo.cs
- _FixedSizeReader.cs
- PartitionedDataSource.cs
- ResourceReferenceExpression.cs
- PhysicalAddress.cs
- Rotation3D.cs
- Byte.cs
- XamlPoint3DCollectionSerializer.cs
- FactoryGenerator.cs
- LassoSelectionBehavior.cs
- PropertyPath.cs
- NonceToken.cs
- SpecialNameAttribute.cs
- XmlBindingWorker.cs
- WindowsSysHeader.cs
- WindowsContainer.cs
- Classification.cs
- SafeNativeMethods.cs
- ByteAnimationUsingKeyFrames.cs
- ObjectSecurity.cs
- DataGridTextBoxColumn.cs
- SchemaContext.cs
- BrowserTree.cs
- EntityDataSourceState.cs
- ImageSource.cs
- DataGrid.cs
- TextBoxAutomationPeer.cs
- WSTrustDec2005.cs
- CheckBox.cs
- CustomErrorCollection.cs
- ExpressionPrefixAttribute.cs
- DescendantOverDescendantQuery.cs
- RowSpanVector.cs
- OdbcException.cs
- ButtonStandardAdapter.cs
- DataTablePropertyDescriptor.cs
- TypeSystem.cs
- HtmlInputSubmit.cs
- GetWorkflowTree.cs
- DetailsViewUpdatedEventArgs.cs
- NotFiniteNumberException.cs
- TreePrinter.cs
- SettingsPropertyValueCollection.cs
- WindowsListViewGroupHelper.cs
- VirtualizedContainerService.cs
- CodeAccessPermission.cs
- ClientScriptManagerWrapper.cs
- XmlSchemaExporter.cs
- PointIndependentAnimationStorage.cs
- InternalResources.cs
- WindowsAuthenticationEventArgs.cs
- SoapEnumAttribute.cs
- RichTextBoxConstants.cs
- AllMembershipCondition.cs
- XmlILTrace.cs
- SQLInt64Storage.cs
- StringFunctions.cs
- FormViewInsertEventArgs.cs
- AdRotator.cs
- ControlPaint.cs
- SmtpDigestAuthenticationModule.cs
- BitmapFrame.cs
- RelatedEnd.cs
- OverlappedContext.cs
- SqlNode.cs
- CodeIterationStatement.cs
- RowCache.cs
- StrokeNodeOperations.cs
- ObjectDataSourceView.cs
- QueryOutputWriter.cs
- TransactionContextValidator.cs
- BrushValueSerializer.cs
- ChangeBlockUndoRecord.cs
- PeerCredentialElement.cs
- IPAddressCollection.cs
- EntityProviderServices.cs
- PartialCachingControl.cs
- SerTrace.cs
- typedescriptorpermissionattribute.cs
- PixelFormats.cs
- SchemaNotation.cs
- CatalogPartChrome.cs
- ExpandCollapsePattern.cs
- HttpServerUtilityBase.cs
- BitmapMetadataEnumerator.cs
- Underline.cs
- XmlAnyElementAttribute.cs
- SoapRpcServiceAttribute.cs
- ToolBar.cs