Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / TextRenderingModeValidation.cs / 1305600 / TextRenderingModeValidation.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 IsTextRenderingModeValid(object valueObject) { TextRenderingMode value = (TextRenderingMode) valueObject; return (value == TextRenderingMode.Auto) || (value == TextRenderingMode.Aliased) || (value == TextRenderingMode.Grayscale) || (value == TextRenderingMode.ClearType); } } } // 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
- CodeObject.cs
- TextRangeEditTables.cs
- DoubleLink.cs
- DataGridViewTextBoxColumn.cs
- ClientTargetCollection.cs
- StdRegProviderWrapper.cs
- DefaultTextStore.cs
- QueryExtender.cs
- XsltInput.cs
- OleDbException.cs
- PeerCredentialElement.cs
- FragmentQueryProcessor.cs
- ToolStripManager.cs
- FlowPosition.cs
- CounterCreationDataConverter.cs
- TabItemWrapperAutomationPeer.cs
- OracleRowUpdatingEventArgs.cs
- DragEventArgs.cs
- ListMarkerLine.cs
- XmlNodeChangedEventManager.cs
- ProcessingInstructionAction.cs
- GorillaCodec.cs
- TraceLevelStore.cs
- DataGridViewIntLinkedList.cs
- OLEDB_Enum.cs
- oledbmetadatacolumnnames.cs
- ProxySimple.cs
- LayoutEvent.cs
- EntityException.cs
- VisualTreeUtils.cs
- XmlDownloadManager.cs
- DataGridViewComboBoxEditingControl.cs
- WizardPanelChangingEventArgs.cs
- ArithmeticLiteral.cs
- ContentDisposition.cs
- ModelItemDictionary.cs
- MetadataSource.cs
- ParameterCollection.cs
- BamlBinaryReader.cs
- EditorPartCollection.cs
- Function.cs
- CqlBlock.cs
- ExitEventArgs.cs
- ILGenerator.cs
- OneOf.cs
- DataSourceControl.cs
- RightsManagementInformation.cs
- AdPostCacheSubstitution.cs
- HttpHandlerAction.cs
- CheckPair.cs
- RangeContentEnumerator.cs
- ListViewInsertEventArgs.cs
- RuntimeArgumentHandle.cs
- SafeFileMappingHandle.cs
- ControlBuilderAttribute.cs
- SaveFileDialog.cs
- MediaScriptCommandRoutedEventArgs.cs
- MetadataSerializer.cs
- KeyTimeConverter.cs
- StrokeRenderer.cs
- TextFormatterContext.cs
- TextOptions.cs
- OdbcConnectionOpen.cs
- GroupBoxRenderer.cs
- SqlExpressionNullability.cs
- ActiveXMessageFormatter.cs
- BinaryFormatter.cs
- DataControlImageButton.cs
- CodeTryCatchFinallyStatement.cs
- ConfigurationConverterBase.cs
- EnumValAlphaComparer.cs
- SqlCommand.cs
- Helper.cs
- ContractMethodParameterInfo.cs
- ParserContext.cs
- XPathMultyIterator.cs
- DataSpaceManager.cs
- ClientConfigPaths.cs
- ObjectNotFoundException.cs
- Process.cs
- XXXInfos.cs
- Separator.cs
- EventPrivateKey.cs
- SBCSCodePageEncoding.cs
- SoapIncludeAttribute.cs
- PingReply.cs
- RayHitTestParameters.cs
- WorkflowApplicationException.cs
- ContentAlignmentEditor.cs
- FormParameter.cs
- RowVisual.cs
- GlyphCollection.cs
- ExtendedPropertyCollection.cs
- FirstMatchCodeGroup.cs
- RtfControlWordInfo.cs
- ProfessionalColorTable.cs
- ProfileBuildProvider.cs
- TextWriterTraceListener.cs
- TextBox.cs
- HttpServerVarsCollection.cs