Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / FillRuleValidation.cs / 1305600 / FillRuleValidation.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. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Runtime.InteropServices; using MS.Internal.PresentationCore; #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 { 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 IsFillRuleValid(object valueObject) { FillRule value = (FillRule) valueObject; return (value == FillRule.EvenOdd) || (value == FillRule.Nonzero); } } } // 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
- COM2PictureConverter.cs
- FormsIdentity.cs
- ComponentResourceManager.cs
- MimeMapping.cs
- FileVersionInfo.cs
- XmlSchemaSubstitutionGroup.cs
- LoginUtil.cs
- BookmarkWorkItem.cs
- BitConverter.cs
- HierarchicalDataSourceControl.cs
- DataGridRelationshipRow.cs
- NativeMethods.cs
- EntitySqlQueryBuilder.cs
- RangeBaseAutomationPeer.cs
- XmlValidatingReader.cs
- MatrixCamera.cs
- SetUserPreferenceRequest.cs
- NotificationContext.cs
- CompModSwitches.cs
- NullableDecimalMinMaxAggregationOperator.cs
- DataControlFieldCollection.cs
- CustomTypeDescriptor.cs
- PropertyConverter.cs
- ColorBuilder.cs
- ByteStreamMessage.cs
- LineProperties.cs
- ClosableStream.cs
- StringArrayConverter.cs
- Assert.cs
- SqlUtil.cs
- Tuple.cs
- StylusLogic.cs
- AppSettingsSection.cs
- EventMetadata.cs
- ClientApiGenerator.cs
- ADMembershipUser.cs
- HtmlContainerControl.cs
- COM2EnumConverter.cs
- HelpKeywordAttribute.cs
- Span.cs
- Size3D.cs
- ToolStripSeparatorRenderEventArgs.cs
- SessionStateModule.cs
- PointLightBase.cs
- ValueUnavailableException.cs
- ExpandCollapseProviderWrapper.cs
- DataColumn.cs
- Helpers.cs
- StringPropertyBuilder.cs
- CapabilitiesSection.cs
- RichTextBoxAutomationPeer.cs
- ListSortDescription.cs
- DataGridTableStyleMappingNameEditor.cs
- CodePropertyReferenceExpression.cs
- glyphs.cs
- GridViewHeaderRowPresenter.cs
- CodeTypeReference.cs
- SimpleWorkerRequest.cs
- EmptyEnumerator.cs
- ImageIndexConverter.cs
- XComponentModel.cs
- ComplusTypeValidator.cs
- LabelEditEvent.cs
- EntityTypeBase.cs
- MemberExpression.cs
- XpsS0ValidatingLoader.cs
- TagPrefixCollection.cs
- FormViewModeEventArgs.cs
- ProcessProtocolHandler.cs
- PassportAuthentication.cs
- XamlHttpHandlerFactory.cs
- LazyTextWriterCreator.cs
- ResourceDictionaryCollection.cs
- _PooledStream.cs
- UndoManager.cs
- AnonymousIdentificationSection.cs
- HtmlAnchor.cs
- WindowsRebar.cs
- TextTreeExtractElementUndoUnit.cs
- DirectoryNotFoundException.cs
- ServicePointManagerElement.cs
- ControlPropertyNameConverter.cs
- HScrollProperties.cs
- PaintValueEventArgs.cs
- HealthMonitoringSection.cs
- OrderedDictionaryStateHelper.cs
- WindowsEditBox.cs
- TextEditorCharacters.cs
- ChangeTracker.cs
- FilteredXmlReader.cs
- TextAutomationPeer.cs
- DPCustomTypeDescriptor.cs
- DataPagerCommandEventArgs.cs
- AttachInfo.cs
- SelectionProviderWrapper.cs
- basemetadatamappingvisitor.cs
- TypeResolver.cs
- SafeNativeMethodsCLR.cs
- BaseServiceProvider.cs
- DataGridTextColumn.cs