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
- XmlProcessingInstruction.cs
- XmlSchemaSimpleType.cs
- Int32KeyFrameCollection.cs
- Sequence.cs
- FormsIdentity.cs
- OleDbFactory.cs
- SqlExpressionNullability.cs
- AddressHeader.cs
- DataTrigger.cs
- CancellationScope.cs
- HostProtectionException.cs
- DesignerCategoryAttribute.cs
- EraserBehavior.cs
- WebEvents.cs
- LocalizabilityAttribute.cs
- UpdatePanelTrigger.cs
- WindowsIdentity.cs
- tabpagecollectioneditor.cs
- DeferredElementTreeState.cs
- MetadataItemEmitter.cs
- FrameDimension.cs
- DataGridViewHitTestInfo.cs
- COSERVERINFO.cs
- DocumentOrderComparer.cs
- WeakEventTable.cs
- DataSetMappper.cs
- AdCreatedEventArgs.cs
- WeakKeyDictionary.cs
- Method.cs
- TreeIterators.cs
- ConfigurationManagerInternal.cs
- HtmlControl.cs
- PolyLineSegmentFigureLogic.cs
- TreeWalkHelper.cs
- HandleExceptionArgs.cs
- CodeEntryPointMethod.cs
- JavaScriptString.cs
- GraphicsContainer.cs
- LayeredChannelListener.cs
- UserNamePasswordServiceCredential.cs
- BufferCache.cs
- RunInstallerAttribute.cs
- XmlRawWriter.cs
- XPathArrayIterator.cs
- RegisteredHiddenField.cs
- EntityCommandDefinition.cs
- ListViewInsertEventArgs.cs
- ImmutableClientRuntime.cs
- NameValueCollection.cs
- RowSpanVector.cs
- ObjectContextServiceProvider.cs
- RtfToXamlReader.cs
- ExpressionStringBuilder.cs
- SkewTransform.cs
- TimeSpanValidatorAttribute.cs
- RpcResponse.cs
- DynamicPropertyReader.cs
- TagNameToTypeMapper.cs
- CodeSnippetExpression.cs
- LoginView.cs
- ArgumentElement.cs
- SystemColorTracker.cs
- BindingContext.cs
- Matrix3DValueSerializer.cs
- PresentationUIStyleResources.cs
- GeneralTransform3DCollection.cs
- BitFlagsGenerator.cs
- FilterElement.cs
- MappingSource.cs
- ExpressionParser.cs
- Stream.cs
- TextEditorSelection.cs
- OdbcParameterCollection.cs
- QilName.cs
- isolationinterop.cs
- PermissionSet.cs
- DataBoundControl.cs
- SchemaManager.cs
- EventMemberCodeDomSerializer.cs
- TextEditorMouse.cs
- NullableDecimalAverageAggregationOperator.cs
- DataGridViewColumnEventArgs.cs
- WebException.cs
- SQLDouble.cs
- OrderToken.cs
- DataServiceQueryException.cs
- Int16Converter.cs
- DeflateStreamAsyncResult.cs
- PermissionAttributes.cs
- MetadataCollection.cs
- TypeUtil.cs
- UIntPtr.cs
- AnimationClock.cs
- XmlTypeMapping.cs
- ErrorFormatterPage.cs
- EntityFunctions.cs
- ReadOnlyDataSourceView.cs
- BindingGroup.cs
- TextTrailingCharacterEllipsis.cs
- CodeDomDesignerLoader.cs