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
- ParallelTimeline.cs
- SerTrace.cs
- ChannelRequirements.cs
- TextEditor.cs
- ChunkedMemoryStream.cs
- BatchParser.cs
- Message.cs
- Content.cs
- CrossAppDomainChannel.cs
- AuthenticationConfig.cs
- Win32PrintDialog.cs
- PersonalizationStateInfo.cs
- ContainerSelectorActiveEvent.cs
- CFGGrammar.cs
- ParserStreamGeometryContext.cs
- LineVisual.cs
- AttributeEmitter.cs
- StandardOleMarshalObject.cs
- GridView.cs
- DataSetFieldSchema.cs
- VirtualPathUtility.cs
- VSDExceptions.cs
- Int32Collection.cs
- ColumnWidthChangedEvent.cs
- SingleKeyFrameCollection.cs
- DefaultPrintController.cs
- ProcessManager.cs
- DayRenderEvent.cs
- PairComparer.cs
- Decorator.cs
- ConfigXmlAttribute.cs
- WindowInteropHelper.cs
- UpdateEventArgs.cs
- Win32.cs
- SynchronizedInputAdaptor.cs
- ConfigXmlAttribute.cs
- IisTraceWebEventProvider.cs
- SurrogateDataContract.cs
- MessageBox.cs
- BuildProvidersCompiler.cs
- EtwTrace.cs
- SplashScreenNativeMethods.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- DataBinding.cs
- XmlSchemaSimpleTypeList.cs
- ListParagraph.cs
- Configuration.cs
- ItemAutomationPeer.cs
- CodeDelegateCreateExpression.cs
- ChangePassword.cs
- XmlILStorageConverter.cs
- PackageFilter.cs
- FontCacheUtil.cs
- JavaScriptObjectDeserializer.cs
- SafeEventLogReadHandle.cs
- Soap11ServerProtocol.cs
- SqlNotificationEventArgs.cs
- StyleSheet.cs
- _SslSessionsCache.cs
- TableHeaderCell.cs
- DataContractSerializerSection.cs
- SchemaElementDecl.cs
- DocumentsTrace.cs
- ProcessRequestAsyncResult.cs
- HtmlElementCollection.cs
- CellLabel.cs
- QualificationDataItem.cs
- Encoder.cs
- ZipFileInfo.cs
- InputLangChangeEvent.cs
- MatrixUtil.cs
- ConstructorBuilder.cs
- TreeNode.cs
- TableFieldsEditor.cs
- panel.cs
- DiscreteKeyFrames.cs
- Image.cs
- Keywords.cs
- WindowsAuthenticationEventArgs.cs
- UserMapPath.cs
- ComponentSerializationService.cs
- EditingCommands.cs
- FastEncoderWindow.cs
- ApplicationSecurityInfo.cs
- SourceFileBuildProvider.cs
- ActivityMarkupSerializer.cs
- ActivityLocationReferenceEnvironment.cs
- MimeFormImporter.cs
- DesignerDataView.cs
- WebServiceFaultDesigner.cs
- FtpWebResponse.cs
- ListViewEditEventArgs.cs
- NonBatchDirectoryCompiler.cs
- SqlUtils.cs
- OracleNumber.cs
- xdrvalidator.cs
- HandlerFactoryWrapper.cs
- AsyncOperation.cs
- AsyncPostBackTrigger.cs
- ValueProviderWrapper.cs