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
- TreeNodeCollection.cs
- SqlMethodAttribute.cs
- SspiSafeHandles.cs
- DataView.cs
- dbenumerator.cs
- _NetworkingPerfCounters.cs
- VarRemapper.cs
- ContentType.cs
- ObjectQuery_EntitySqlExtensions.cs
- BinaryUtilClasses.cs
- SafeTimerHandle.cs
- SmtpNegotiateAuthenticationModule.cs
- OleDbTransaction.cs
- ChannelBuilder.cs
- IsolatedStorageFile.cs
- TemplateField.cs
- LinkedResourceCollection.cs
- Publisher.cs
- TypeToken.cs
- CollaborationHelperFunctions.cs
- XmlNodeChangedEventArgs.cs
- InkCanvasInnerCanvas.cs
- COM2IPerPropertyBrowsingHandler.cs
- LinearKeyFrames.cs
- contentDescriptor.cs
- DataRow.cs
- BaseDataList.cs
- LicenseManager.cs
- PreservationFileReader.cs
- SystemResourceKey.cs
- processwaithandle.cs
- ColorTransform.cs
- PageAsyncTaskManager.cs
- PropertyHelper.cs
- ServiceBusyException.cs
- LocalizationComments.cs
- _ListenerAsyncResult.cs
- ListViewSortEventArgs.cs
- Stylus.cs
- Publisher.cs
- FocusWithinProperty.cs
- cookie.cs
- FixedDSBuilder.cs
- SupportsEventValidationAttribute.cs
- XmlWrappingWriter.cs
- WebPartAddingEventArgs.cs
- TextEditor.cs
- Matrix.cs
- InkPresenterAutomationPeer.cs
- PerformanceCountersElement.cs
- MeshGeometry3D.cs
- LocationSectionRecord.cs
- IdentityNotMappedException.cs
- BitmapEffectOutputConnector.cs
- CollectionEditor.cs
- ColumnTypeConverter.cs
- WebRequestModuleElement.cs
- ScrollViewerAutomationPeer.cs
- SizeAnimation.cs
- ValidatedControlConverter.cs
- FixedSOMFixedBlock.cs
- PropertyTabAttribute.cs
- SignatureHelper.cs
- MouseButton.cs
- HScrollProperties.cs
- DesignerHost.cs
- EqualityComparer.cs
- VectorAnimationBase.cs
- InternalPolicyElement.cs
- DetailsViewPagerRow.cs
- UrlMappingsSection.cs
- RectIndependentAnimationStorage.cs
- LicenseException.cs
- BitmapFrameEncode.cs
- BindingsCollection.cs
- WinEventHandler.cs
- ApplicationException.cs
- XhtmlBasicCalendarAdapter.cs
- BooleanSwitch.cs
- BufferAllocator.cs
- EntityConnectionStringBuilder.cs
- RC2.cs
- SqlDataSourceConnectionPanel.cs
- BrowserCapabilitiesFactory.cs
- StateRuntime.cs
- List.cs
- UnicastIPAddressInformationCollection.cs
- GenericEnumerator.cs
- XmlSchemaResource.cs
- AccessViolationException.cs
- DependencyObject.cs
- XmlCountingReader.cs
- ADRole.cs
- FontDriver.cs
- PeerEndPoint.cs
- _SafeNetHandles.cs
- MenuScrollingVisibilityConverter.cs
- SignedXml.cs
- HebrewCalendar.cs
- ValidationError.cs