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
- ChildTable.cs
- GeometryCollection.cs
- altserialization.cs
- PageRequestManager.cs
- InProcStateClientManager.cs
- CmsInterop.cs
- AutoGeneratedFieldProperties.cs
- IntranetCredentialPolicy.cs
- Geometry3D.cs
- FixedTextContainer.cs
- Serializer.cs
- CollectionView.cs
- _BasicClient.cs
- MetadataArtifactLoaderFile.cs
- Point3DIndependentAnimationStorage.cs
- WorkflowOperationErrorHandler.cs
- TextAction.cs
- IisTraceWebEventProvider.cs
- ValidationUtility.cs
- DuplicateWaitObjectException.cs
- ConfigurationStrings.cs
- ErrorActivity.cs
- StaticExtension.cs
- ListViewTableCell.cs
- RelationshipConverter.cs
- TdsParameterSetter.cs
- CodeDOMProvider.cs
- WebRequestModuleElement.cs
- BinaryConverter.cs
- _FtpControlStream.cs
- SqlBuilder.cs
- CollectionView.cs
- ForeignConstraint.cs
- ComboBoxItem.cs
- DataProtectionSecurityStateEncoder.cs
- CTreeGenerator.cs
- RefType.cs
- DataGridViewCellCancelEventArgs.cs
- PersonalizationEntry.cs
- CaseStatementSlot.cs
- CheckBoxRenderer.cs
- XamlPointCollectionSerializer.cs
- SqlBulkCopy.cs
- FormClosedEvent.cs
- CreateUserErrorEventArgs.cs
- FileCodeGroup.cs
- SiteMapDataSource.cs
- ClientConfigurationHost.cs
- XmlSerializableWriter.cs
- Matrix.cs
- EntityDataSourceViewSchema.cs
- CacheManager.cs
- hresults.cs
- LogSwitch.cs
- EventLogEntryCollection.cs
- OleDbRowUpdatedEvent.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- EncoderExceptionFallback.cs
- ListCollectionView.cs
- SequentialOutput.cs
- Pen.cs
- AncillaryOps.cs
- ItemList.cs
- XpsFilter.cs
- ControlDesigner.cs
- CfgParser.cs
- SoapTypeAttribute.cs
- MediaPlayerState.cs
- EnumerableCollectionView.cs
- XmlLanguage.cs
- LiteralTextParser.cs
- SkipStoryboardToFill.cs
- WebBrowser.cs
- CompositionDesigner.cs
- DataViewListener.cs
- ProviderCollection.cs
- CompilerErrorCollection.cs
- ErrorLog.cs
- RtfToXamlReader.cs
- CodeThrowExceptionStatement.cs
- glyphs.cs
- SiteMapDataSourceView.cs
- GridViewCellAutomationPeer.cs
- AnimatedTypeHelpers.cs
- Block.cs
- WindowsSpinner.cs
- MemoryMappedView.cs
- EntityProviderFactory.cs
- SessionEndedEventArgs.cs
- AppSettingsExpressionBuilder.cs
- ListViewContainer.cs
- QueryPageSettingsEventArgs.cs
- TreePrinter.cs
- EntityDataSourceWrapper.cs
- ListViewDeleteEventArgs.cs
- ExceptionDetail.cs
- FieldNameLookup.cs
- DecimalAnimationBase.cs
- LayeredChannelListener.cs
- InvalidDataException.cs