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
- DataGridViewImageColumn.cs
- ValidationRule.cs
- XmlSchema.cs
- DataBoundControlParameterTarget.cs
- datacache.cs
- WebConfigurationHost.cs
- PropertyValueUIItem.cs
- XhtmlBasicSelectionListAdapter.cs
- ProviderConnectionPoint.cs
- ServiceOperationParameter.cs
- NumberFormatInfo.cs
- FormViewDeletedEventArgs.cs
- SurrogateEncoder.cs
- shaperfactory.cs
- XmlSchemaDocumentation.cs
- FormattedTextSymbols.cs
- ObjectResult.cs
- GPStream.cs
- FixedNode.cs
- M3DUtil.cs
- PrintDialog.cs
- RemoveStoryboard.cs
- DefaultMemberAttribute.cs
- DocumentApplicationJournalEntry.cs
- DrawingAttributeSerializer.cs
- FixedSOMTableCell.cs
- LayoutEditorPart.cs
- CalendarButton.cs
- EtwTrackingBehaviorElement.cs
- FormViewDeletedEventArgs.cs
- TimelineGroup.cs
- FieldNameLookup.cs
- hebrewshape.cs
- FormViewDeletedEventArgs.cs
- Number.cs
- PopupEventArgs.cs
- ToolboxItemFilterAttribute.cs
- SafeFileHandle.cs
- GenericPrincipal.cs
- TextLineResult.cs
- ProxyHelper.cs
- SqlDependency.cs
- NamespaceEmitter.cs
- MultiplexingDispatchMessageFormatter.cs
- TagMapCollection.cs
- AudioFileOut.cs
- DiagnosticTrace.cs
- ProfileSettingsCollection.cs
- FlagsAttribute.cs
- DoubleAnimationUsingPath.cs
- UserMapPath.cs
- IntranetCredentialPolicy.cs
- MouseButton.cs
- _Rfc2616CacheValidators.cs
- TabControlEvent.cs
- WebPartVerb.cs
- BaseCodeDomTreeGenerator.cs
- assertwrapper.cs
- TraceSection.cs
- DiagnosticsConfigurationHandler.cs
- NavigationCommands.cs
- CacheForPrimitiveTypes.cs
- DispatcherProcessingDisabled.cs
- ImageResources.Designer.cs
- WindowHideOrCloseTracker.cs
- Formatter.cs
- TextDecoration.cs
- DrawingAttributes.cs
- RegexMatch.cs
- TemplateBindingExpression.cs
- ContainerFilterService.cs
- ViewValidator.cs
- AdCreatedEventArgs.cs
- mediapermission.cs
- PersonalizationState.cs
- SourceFilter.cs
- FocusWithinProperty.cs
- NavigationWindowAutomationPeer.cs
- StreamDocument.cs
- LineUtil.cs
- DataGridHelper.cs
- ReadOnlyDictionary.cs
- XmlRootAttribute.cs
- RuntimeConfig.cs
- WebRequestModuleElementCollection.cs
- DataServiceException.cs
- TraceListeners.cs
- TableRowGroup.cs
- ArgumentOutOfRangeException.cs
- StorageConditionPropertyMapping.cs
- PropertyCollection.cs
- Util.cs
- GridViewDeleteEventArgs.cs
- UshortList2.cs
- CodeTypeDeclaration.cs
- SHA512.cs
- AdornerLayer.cs
- PropertyGrid.cs
- SchemaElement.cs
- MdiWindowListStrip.cs