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
- DecimalConstantAttribute.cs
- Utils.cs
- DocumentOrderQuery.cs
- SecurityProtocolCorrelationState.cs
- PointValueSerializer.cs
- RtfNavigator.cs
- SQLInt32.cs
- UserPreferenceChangingEventArgs.cs
- FigureParagraph.cs
- ScanQueryOperator.cs
- SettingsAttributes.cs
- NavigationWindow.cs
- PerformanceCounterManager.cs
- SafeThemeHandle.cs
- ErrorEventArgs.cs
- TextElementEnumerator.cs
- SamlSecurityTokenAuthenticator.cs
- SinglePhaseEnlistment.cs
- PiiTraceSource.cs
- ProjectionCamera.cs
- WebPartVerbCollection.cs
- WsrmFault.cs
- ResourceReferenceKeyNotFoundException.cs
- Attribute.cs
- EntityDataReader.cs
- ProcessProtocolHandler.cs
- Metadata.cs
- DoubleLinkList.cs
- LinkedList.cs
- OLEDB_Util.cs
- MasterPageCodeDomTreeGenerator.cs
- XmlSchemaSimpleTypeUnion.cs
- XmlAtomicValue.cs
- RuntimeConfigLKG.cs
- StreamSecurityUpgradeInitiatorBase.cs
- SmtpFailedRecipientException.cs
- HttpModuleCollection.cs
- KeyValuePair.cs
- IntSecurity.cs
- DataSysAttribute.cs
- IDReferencePropertyAttribute.cs
- XMLSyntaxException.cs
- ClientEventManager.cs
- ZipIOExtraFieldZip64Element.cs
- InstanceStoreQueryResult.cs
- AssemblyInfo.cs
- LogSwitch.cs
- GridViewColumn.cs
- MenuEventArgs.cs
- PageParserFilter.cs
- TreeNodeBinding.cs
- ImageKeyConverter.cs
- StateMachineWorkflowInstance.cs
- RawStylusActions.cs
- InputMethod.cs
- CollectionViewGroup.cs
- sqlinternaltransaction.cs
- NumericUpDownAccelerationCollection.cs
- Byte.cs
- KeyInterop.cs
- FontConverter.cs
- ScrollEventArgs.cs
- SqlServer2KCompatibilityAnnotation.cs
- DLinqDataModelProvider.cs
- CompareValidator.cs
- InheritablePropertyChangeInfo.cs
- DefaultEventAttribute.cs
- EntityStoreSchemaFilterEntry.cs
- ComboBoxAutomationPeer.cs
- KerberosTicketHashIdentifierClause.cs
- ServiceHostFactory.cs
- WmlCalendarAdapter.cs
- DirectoryRootQuery.cs
- TraceSource.cs
- SecurityProtocolCorrelationState.cs
- FormatterServices.cs
- EventManager.cs
- SupportingTokenSecurityTokenResolver.cs
- ToolStripItemClickedEventArgs.cs
- PropertyGridView.cs
- ResourceFallbackManager.cs
- Font.cs
- Expr.cs
- ReadOnlyMetadataCollection.cs
- SecurityHeaderElementInferenceEngine.cs
- ArgumentNullException.cs
- SystemDiagnosticsSection.cs
- IntegerValidatorAttribute.cs
- StringPropertyBuilder.cs
- StorageMappingItemLoader.cs
- TraceContextRecord.cs
- CodeExporter.cs
- SkewTransform.cs
- _FtpDataStream.cs
- EntityDataSourceDesigner.cs
- DataSourceXmlSerializationAttribute.cs
- Vector3D.cs
- XmlDesigner.cs
- Baml2006KnownTypes.cs
- TabItemAutomationPeer.cs