Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / MS / Internal / KnownBoxes.cs / 3 / KnownBoxes.cs
using System; using System.Windows; using System.Windows.Media; using MS.Internal.PresentationCore; namespace MS.Internal.KnownBoxes { [FriendAccessAllowed] // Built into Core, also used by Framework. internal static class FillRuleBoxes { internal static object EvenOddBox = FillRule.EvenOdd; internal static object NonzeroBox = FillRule.Nonzero; internal static object Box(FillRule value) { if (value == FillRule.Nonzero) { return NonzeroBox; } else { return EvenOddBox; } } } [FriendAccessAllowed] // Built into Core, also used by Framework. internal static class VisibilityBoxes { internal static object VisibleBox = Visibility.Visible; internal static object HiddenBox = Visibility.Hidden; internal static object CollapsedBox = Visibility.Collapsed; internal static object Box(Visibility value) { if (value == Visibility.Visible) { return VisibleBox; } else if (value == Visibility.Hidden) { return HiddenBox; } else { return CollapsedBox; } } } } // 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
- Int64KeyFrameCollection.cs
- ProxyElement.cs
- EntityDesignerBuildProvider.cs
- OverlappedAsyncResult.cs
- ProviderCollection.cs
- Internal.cs
- DbConnectionHelper.cs
- XPathAxisIterator.cs
- COMException.cs
- PageStatePersister.cs
- OdbcParameter.cs
- SecurityKeyIdentifier.cs
- DrawingState.cs
- rsa.cs
- SvcFileManager.cs
- DbConnectionPoolOptions.cs
- CodeTypeDelegate.cs
- MetadataException.cs
- SHA256Managed.cs
- UrlMappingsModule.cs
- GC.cs
- xamlnodes.cs
- ArgumentNullException.cs
- AutoResetEvent.cs
- MailWebEventProvider.cs
- TypedDataSetSchemaImporterExtension.cs
- UnicastIPAddressInformationCollection.cs
- GCHandleCookieTable.cs
- XmlBinaryReader.cs
- GPPOINT.cs
- SubMenuStyleCollection.cs
- HtmlInputControl.cs
- ToolStripDropDownItemDesigner.cs
- UTF7Encoding.cs
- XmlMtomReader.cs
- NeutralResourcesLanguageAttribute.cs
- SamlAdvice.cs
- _FixedSizeReader.cs
- FigureHelper.cs
- TrustManagerPromptUI.cs
- TraceHelpers.cs
- UnsafePeerToPeerMethods.cs
- LinkGrep.cs
- TypeCollectionDesigner.xaml.cs
- RequestSecurityTokenSerializer.cs
- EventlogProvider.cs
- MenuItemStyleCollection.cs
- FileInfo.cs
- ProgressBarAutomationPeer.cs
- OrderingExpression.cs
- ResumeStoryboard.cs
- Stack.cs
- TextDecorationCollectionConverter.cs
- Italic.cs
- UpDownBase.cs
- VScrollProperties.cs
- PersonalizationAdministration.cs
- safex509handles.cs
- WorkflowTraceTransfer.cs
- HeaderCollection.cs
- XsltLibrary.cs
- UriExt.cs
- AppDomainUnloadedException.cs
- AdCreatedEventArgs.cs
- ConfigXmlReader.cs
- ProjectionPruner.cs
- InputLangChangeEvent.cs
- AesCryptoServiceProvider.cs
- ObjectTokenCategory.cs
- ShapingEngine.cs
- DataAdapter.cs
- ApplicationBuildProvider.cs
- KnownTypes.cs
- ArrayTypeMismatchException.cs
- TextEffectResolver.cs
- RotateTransform3D.cs
- ParameterExpression.cs
- SpeechEvent.cs
- RankException.cs
- DrawingBrush.cs
- _TLSstream.cs
- TriggerActionCollection.cs
- CompositeScriptReference.cs
- EventHandlerList.cs
- UriTemplateClientFormatter.cs
- DataGridViewMethods.cs
- Renderer.cs
- EdgeProfileValidation.cs
- LabelExpression.cs
- AttributeTable.cs
- MappedMetaModel.cs
- ToolStripComboBox.cs
- TextLineBreak.cs
- PreviewPageInfo.cs
- BuildResultCache.cs
- TableAutomationPeer.cs
- EntryIndex.cs
- FileDialog.cs
- SqlGenerator.cs
- PageRanges.cs