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
- VisualTreeUtils.cs
- MutexSecurity.cs
- SByte.cs
- QuestionEventArgs.cs
- RuntimeHelpers.cs
- AuthenticateEventArgs.cs
- ExponentialEase.cs
- SizeConverter.cs
- HttpRawResponse.cs
- Int32KeyFrameCollection.cs
- TextElementEditingBehaviorAttribute.cs
- IntranetCredentialPolicy.cs
- AudioFormatConverter.cs
- XomlCompilerResults.cs
- coordinator.cs
- SubqueryTrackingVisitor.cs
- TdsEnums.cs
- DbFunctionCommandTree.cs
- PropertyInformationCollection.cs
- TypeExtension.cs
- OdbcDataAdapter.cs
- WorkflowRuntimeElement.cs
- HTTPAPI_VERSION.cs
- XmlDownloadManager.cs
- WriteableBitmap.cs
- COM2PictureConverter.cs
- FixedDocumentSequencePaginator.cs
- UnsafeNativeMethods.cs
- _ShellExpression.cs
- WindowsGraphicsWrapper.cs
- TableItemStyle.cs
- GroupItemAutomationPeer.cs
- SamlAssertion.cs
- WebHttpDispatchOperationSelector.cs
- JoinTreeSlot.cs
- XamlStream.cs
- Pair.cs
- CryptoHelper.cs
- wgx_render.cs
- VirtualPathProvider.cs
- PathGeometry.cs
- MenuTracker.cs
- AssemblyBuilder.cs
- UIElement3D.cs
- UnknownBitmapDecoder.cs
- LinkButton.cs
- TableLayoutPanelCodeDomSerializer.cs
- GridSplitterAutomationPeer.cs
- DateTimeValueSerializerContext.cs
- EntityContainerAssociationSetEnd.cs
- KeyEventArgs.cs
- LiteralText.cs
- DependencyPropertyValueSerializer.cs
- ClrPerspective.cs
- SimpleModelProvider.cs
- IApplicationTrustManager.cs
- DynamicActivityXamlReader.cs
- TreeIterator.cs
- EventWaitHandle.cs
- ListItemConverter.cs
- _SslStream.cs
- ToolboxItemFilterAttribute.cs
- BrushConverter.cs
- ZipIOBlockManager.cs
- IndicCharClassifier.cs
- FlowDocumentView.cs
- SqlInternalConnectionTds.cs
- Section.cs
- SqlDataSourceTableQuery.cs
- CodeChecksumPragma.cs
- MatrixTransform3D.cs
- IISMapPath.cs
- MailBnfHelper.cs
- DataPagerCommandEventArgs.cs
- SecurityCookieModeValidator.cs
- ToolboxBitmapAttribute.cs
- CellConstant.cs
- TextTreeTextBlock.cs
- CodeVariableDeclarationStatement.cs
- graph.cs
- CharConverter.cs
- ValidatedControlConverter.cs
- Cursor.cs
- ParseElementCollection.cs
- LineServices.cs
- DispatcherTimer.cs
- DrawTreeNodeEventArgs.cs
- DataGridViewElement.cs
- ScalarOps.cs
- GcSettings.cs
- DataObjectEventArgs.cs
- BlurBitmapEffect.cs
- ToolStripComboBox.cs
- UnaryNode.cs
- XmlSerializerOperationBehavior.cs
- FormsIdentity.cs
- Span.cs
- TemplateXamlTreeBuilder.cs
- SqlMethodTransformer.cs
- MarkerProperties.cs