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
- MasterPageCodeDomTreeGenerator.cs
- FormsIdentity.cs
- SqlDataSourceEnumerator.cs
- FontSource.cs
- ProjectionCamera.cs
- RowUpdatedEventArgs.cs
- CopyAction.cs
- HttpRequest.cs
- ColumnClickEvent.cs
- SemanticAnalyzer.cs
- DmlSqlGenerator.cs
- CrossSiteScriptingValidation.cs
- GridViewDeleteEventArgs.cs
- EncryptedKey.cs
- ServiceDescription.cs
- ExpressionBinding.cs
- XPathAxisIterator.cs
- X509Utils.cs
- NotificationContext.cs
- SiteMapDataSource.cs
- COM2ExtendedUITypeEditor.cs
- RoleGroup.cs
- PasswordTextNavigator.cs
- SystemIPInterfaceStatistics.cs
- FixedSOMTableRow.cs
- FamilyMap.cs
- LineVisual.cs
- NavigationWindow.cs
- WindowsSecurityTokenAuthenticator.cs
- EntityDataSourceMemberPath.cs
- BindUriHelper.cs
- WebPartEditVerb.cs
- SingleAnimationUsingKeyFrames.cs
- TableLayoutRowStyleCollection.cs
- Rotation3DAnimation.cs
- DesignerWebPartChrome.cs
- DataGridViewRowPrePaintEventArgs.cs
- ButtonFieldBase.cs
- ConfigurationManagerHelperFactory.cs
- DataSourceProvider.cs
- DefaultValueTypeConverter.cs
- MD5.cs
- SolidBrush.cs
- FrameworkElement.cs
- XamlInterfaces.cs
- ActiveXContainer.cs
- DbProviderServices.cs
- StrokeDescriptor.cs
- Options.cs
- Int64AnimationBase.cs
- MSAANativeProvider.cs
- ToolStripSeparator.cs
- XsdDuration.cs
- ViewKeyConstraint.cs
- InfiniteTimeSpanConverter.cs
- Compilation.cs
- CustomGrammar.cs
- AssemblyAttributes.cs
- SystemNetworkInterface.cs
- StorageBasedPackageProperties.cs
- UnsafeNativeMethodsPenimc.cs
- StreamReader.cs
- ClientTargetSection.cs
- CacheHelper.cs
- WebPartDesigner.cs
- SQLStringStorage.cs
- FlowDocumentFormatter.cs
- QueryCursorEventArgs.cs
- Socket.cs
- StructuralComparisons.cs
- ProtocolsSection.cs
- ErrorFormatterPage.cs
- SharedPerformanceCounter.cs
- AssociatedControlConverter.cs
- DoWhileDesigner.xaml.cs
- SupportingTokenAuthenticatorSpecification.cs
- ListViewUpdateEventArgs.cs
- FormViewInsertedEventArgs.cs
- FileSecurity.cs
- NativeMethods.cs
- TimeManager.cs
- MobileCapabilities.cs
- ObjectQueryExecutionPlan.cs
- MimeMapping.cs
- KeyFrames.cs
- FloatUtil.cs
- PackageRelationshipSelector.cs
- MessageSecurityOverTcp.cs
- MediaPlayer.cs
- SqlDataSourceStatusEventArgs.cs
- WebPartTransformer.cs
- WebPartDisplayModeEventArgs.cs
- BufferModesCollection.cs
- Command.cs
- TypeBuilderInstantiation.cs
- Keyboard.cs
- RuntimeConfigLKG.cs
- DataControlButton.cs
- DbConnectionPool.cs
- LinqDataSourceStatusEventArgs.cs