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
- BufferedGraphicsManager.cs
- ZipIOBlockManager.cs
- XmlSiteMapProvider.cs
- MethodSignatureGenerator.cs
- GeneralTransform3DGroup.cs
- ToolStripItemEventArgs.cs
- DataObjectSettingDataEventArgs.cs
- Timeline.cs
- HiddenFieldPageStatePersister.cs
- FrameworkTextComposition.cs
- XmlSchemaIdentityConstraint.cs
- QilPatternFactory.cs
- CodeAttributeDeclaration.cs
- BitmapEffectDrawingContent.cs
- ResourcesBuildProvider.cs
- WebBrowserSiteBase.cs
- wgx_commands.cs
- DeferredSelectedIndexReference.cs
- KnownTypesHelper.cs
- XmlSchemaImport.cs
- BmpBitmapEncoder.cs
- FaultCallbackWrapper.cs
- MenuEventArgs.cs
- ParameterCollection.cs
- ConvertersCollection.cs
- ActivityStateQuery.cs
- PropertyBuilder.cs
- ListViewItemMouseHoverEvent.cs
- CursorConverter.cs
- httpstaticobjectscollection.cs
- WeakReferenceKey.cs
- ListBindableAttribute.cs
- RuntimeConfigurationRecord.cs
- SingleKeyFrameCollection.cs
- XmlDataProvider.cs
- StyleSelector.cs
- XmlNamespaceMappingCollection.cs
- SqlCrossApplyToCrossJoin.cs
- AbandonedMutexException.cs
- ToolStripStatusLabel.cs
- CollectionViewSource.cs
- StdValidatorsAndConverters.cs
- Point4D.cs
- BulletDecorator.cs
- TreeNodeMouseHoverEvent.cs
- DataGridAutomationPeer.cs
- SqlException.cs
- BamlVersionHeader.cs
- IdentityHolder.cs
- RecipientInfo.cs
- NativeMethods.cs
- MatrixTransform.cs
- FrameworkElement.cs
- AuthenticationModuleElementCollection.cs
- DocumentPageHost.cs
- HostingEnvironmentSection.cs
- TransformDescriptor.cs
- FlagsAttribute.cs
- Rfc4050KeyFormatter.cs
- WebBaseEventKeyComparer.cs
- DataGridPreparingCellForEditEventArgs.cs
- ExpressionEditorAttribute.cs
- DocumentPageTextView.cs
- ClaimTypes.cs
- KeyedCollection.cs
- UpdateExpressionVisitor.cs
- SspiNegotiationTokenProviderState.cs
- BrushProxy.cs
- Pen.cs
- Menu.cs
- UnknownWrapper.cs
- EnvironmentPermission.cs
- DesignerProperties.cs
- ConstructorBuilder.cs
- IsolatedStorageFile.cs
- ToolBarTray.cs
- MessageEnumerator.cs
- ComplexPropertyEntry.cs
- wgx_exports.cs
- FormsAuthenticationEventArgs.cs
- BindingContext.cs
- SQLSingleStorage.cs
- PenCursorManager.cs
- SqlClientWrapperSmiStream.cs
- PermissionToken.cs
- XpsViewerException.cs
- PropertyDescriptor.cs
- Deserializer.cs
- ProcessModelInfo.cs
- TextElementEnumerator.cs
- AsyncPostBackErrorEventArgs.cs
- StatusBarPanel.cs
- AddressingProperty.cs
- AsyncResult.cs
- PortCache.cs
- ParallelActivityDesigner.cs
- TreeViewImageKeyConverter.cs
- mediaeventargs.cs
- UnsafeNativeMethods.cs
- SafeCoTaskMem.cs