Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / KernelTypeValidation.cs / 1305600 / KernelTypeValidation.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 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
- ToolboxItemCollection.cs
- DataGridViewCellEventArgs.cs
- ElementHost.cs
- DataKeyCollection.cs
- ItemsControlAutomationPeer.cs
- ArrayListCollectionBase.cs
- StackOverflowException.cs
- Token.cs
- AnonymousIdentificationModule.cs
- CounterSample.cs
- XmlCharCheckingWriter.cs
- WebPermission.cs
- PackageRelationshipSelector.cs
- HwndSubclass.cs
- AnonymousIdentificationModule.cs
- Schedule.cs
- ListSortDescription.cs
- XmlSchemaImport.cs
- filewebrequest.cs
- AccessText.cs
- NetCodeGroup.cs
- HiddenFieldPageStatePersister.cs
- FormatVersion.cs
- DataGridViewBindingCompleteEventArgs.cs
- KeyValuePairs.cs
- ReflectionPermission.cs
- DataGridViewMethods.cs
- BitmapDecoder.cs
- BitmapSizeOptions.cs
- TailCallAnalyzer.cs
- SamlSubjectStatement.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- FrameworkTextComposition.cs
- BlockingCollection.cs
- SharedDp.cs
- FontFaceLayoutInfo.cs
- PenThreadWorker.cs
- Binding.cs
- VirtualDirectoryMappingCollection.cs
- XmlSchemaCompilationSettings.cs
- GridLength.cs
- MessageSecurityTokenVersion.cs
- CompModSwitches.cs
- PrintPageEvent.cs
- NullRuntimeConfig.cs
- XMLSyntaxException.cs
- MetadataItem.cs
- ToolboxItem.cs
- X509CertificateStore.cs
- _BaseOverlappedAsyncResult.cs
- UInt16Converter.cs
- EncodingInfo.cs
- DocumentOrderComparer.cs
- SiteMapNodeCollection.cs
- SqlFormatter.cs
- TabRenderer.cs
- ReadOnlyAttribute.cs
- SrgsToken.cs
- OperationFormatUse.cs
- xdrvalidator.cs
- ValidationResult.cs
- ColorConvertedBitmap.cs
- SqlTrackingService.cs
- Util.cs
- BamlRecordHelper.cs
- COM2IDispatchConverter.cs
- ToolStripItem.cs
- SamlAuthorizationDecisionStatement.cs
- ListBoxAutomationPeer.cs
- InputMethodStateTypeInfo.cs
- ObfuscationAttribute.cs
- CachedFontFamily.cs
- DataGridItemEventArgs.cs
- ExtentKey.cs
- Int64.cs
- FlowDocumentFormatter.cs
- SqlXml.cs
- DetailsViewRow.cs
- GeometryHitTestParameters.cs
- HtmlDocument.cs
- ComponentGlyph.cs
- XmlEncodedRawTextWriter.cs
- Color.cs
- ClientFormsIdentity.cs
- TextFormatter.cs
- CharEntityEncoderFallback.cs
- ImpersonateTokenRef.cs
- DataContract.cs
- embossbitmapeffect.cs
- ButtonBaseAutomationPeer.cs
- AssemblySettingAttributes.cs
- ArgumentException.cs
- StoreItemCollection.Loader.cs
- MulticastOption.cs
- WebPartHelpVerb.cs
- ComPlusServiceHost.cs
- ToolStripControlHost.cs
- ListenerHandler.cs
- RtType.cs
- MSHTMLHostUtil.cs